PaymentTransaction class

Ответ при оплате по криптограмме cм. Оплата по криптограмме

Annotations
  • @Freezed(unionKey: 'Model')

Constructors

PaymentTransaction.error(TransactionInfo info)
Транзакция отклонена
const
factory
PaymentTransaction.fromJson(Map<String, Object?> json)
Converts a JSON Map into a PaymentTransaction instance
factory
PaymentTransaction.incorrectlyRequest(String? message)
Некорректно сформирован запрос
const
factory
PaymentTransaction.required3dsecure(Three3DSecureResponse response)
Требуется 3-D Secure аутентификация
const
factory
PaymentTransaction.success(TransactionInfo info)
Транзакция успешно прошла
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult success(_PaymentTransactionSuccess value), required TResult incorrectlyRequest(_PaymentTransactionIncorrectlyRequest value), required TResult required3dsecure(_PaymentTransactionRequired3dSecure value), required TResult error(_PaymentTransactionError value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? success(_PaymentTransactionSuccess value)?, TResult? incorrectlyRequest(_PaymentTransactionIncorrectlyRequest value)?, TResult? required3dsecure(_PaymentTransactionRequired3dSecure value)?, TResult? error(_PaymentTransactionError value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult success(_PaymentTransactionSuccess value)?, TResult incorrectlyRequest(_PaymentTransactionIncorrectlyRequest value)?, TResult required3dsecure(_PaymentTransactionRequired3dSecure value)?, TResult error(_PaymentTransactionError value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult success(TransactionInfo info)?, TResult incorrectlyRequest(String? message)?, TResult required3dsecure(Three3DSecureResponse response)?, TResult error(TransactionInfo info)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult success(TransactionInfo info), required TResult incorrectlyRequest(String? message), required TResult required3dsecure(Three3DSecureResponse response), required TResult error(TransactionInfo info)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? success(TransactionInfo info)?, TResult? incorrectlyRequest(String? message)?, TResult? required3dsecure(Three3DSecureResponse response)?, TResult? error(TransactionInfo info)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited