Transaction class
Transaction checkpoint to be used on a transaction attempt -param {User} user -param {double} amount -param {CurrencyCode} curType - type of currency -param {TransactionType} transactionType -param {String} destinationId - end user that transaction is going to -param {Payment} payment -param {Address} billingAddress -param {Address} shippingAddress -param {AuthorizationResponse} authorizationResponse -param {Map<String,dynamic>} additionalData -param {MerchantDetails} merchantDetails -param {VerificationType} isDeviceVerified
- Inheritance
-
- Object
- ParseObjectToJson
- CheckPoint
- Transaction
Constructors
- Transaction({TransactionType? transactionType, CurrencyCode? curType, String? destinationId, double? amount, User? user, Address? billingAddress, Address? shippingAddress, Payment? payment, AuthorizationResponse? authorizationResponse, MerchantDetails? merchantDetails})
Properties
-
additionalData
↔ Map<
String, dynamic> -
getter/setter pairinherited
- amount ↔ double?
-
getter/setter pair
-
getter/setter pair
- billingAddress ↔ Address?
-
getter/setter pair
- checkPointType ↔ CheckPointType?
-
getter/setter pairinherited
- curType ↔ CurrencyCode?
-
getter/setter pair
- destinationId ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDeviceVerified ↔ VerificationType
-
getter/setter pairinherited
-
json
↔ Map<
String, dynamic> -
getter/setter pairinherited
- merchantDetails ↔ MerchantDetails?
-
getter/setter pair
- payment ↔ Payment?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingAddress ↔ Address?
-
getter/setter pair
- transactionType ↔ TransactionType?
-
getter/setter pair
- user ↔ User?
-
getter/setter pair
Methods
-
getJson(
) → Map< String, dynamic> -
override
-
jsonStringParse(
) → dynamic -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseEnum(
dynamic data, String key) → void -
inherited
-
parseJson(
dynamic data, String key) → void -
inherited
-
parseObject(
dynamic data, String key) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited