ABATransaction class
Constructors
-
ABATransaction({ABAMerchant? merchant, required String tranID, required String reqTime, double? amount, List<
ABATransactionItem> ? items, String? firstname, String? lastname, String? phone, String? email, String? returnUrl, String? continueSuccessUrl, String? returnParams, double? shipping = 0.00, ABAPaymentOption option = ABAPaymentOption.cards, ABATransactionType type = ABATransactionType.purchase, ABATransactionCurrency currency = ABATransactionCurrency.USD}) -
ABATransaction.fromMap(Map<
String, dynamic> map) -
ABATransaction.fromMap
factory
- ABATransaction.instance(ABAMerchant merchant)
-
factory
Properties
- amount ↔ double?
-
getter/setter pair
- continueSuccessUrl ↔ String?
-
getter/setter pair
- currency ↔ ABATransactionCurrency
-
getter/setter pair
- email ↔ String?
-
getter/setter pair
- encodedItem → String
-
no setter
- encodedReturnUrl → String
-
no setter
- firstname ↔ String?
-
getter/setter pair
- hash → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
-
items
↔ List<
ABATransactionItem> ? -
getter/setter pair
- lastname ↔ String?
-
getter/setter pair
- merchant ↔ ABAMerchant?
-
getter/setter pair
- option ↔ ABAPaymentOption
-
getter/setter pair
- phone ↔ String?
-
getter/setter pair
- reqTime ↔ String
-
getter/setter pair
- returnParams ↔ String?
-
getter/setter pair
- returnUrl ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shipping ↔ double?
-
getter/setter pair
- totalPrice → double
-
no setter
- tranID ↔ String
-
getter/setter pair
- type ↔ ABATransactionType
-
getter/setter pair
Methods
-
check(
) → Future< ABAServerResponse> - check
-
copyWith(
{ABAMerchant? merchant, String? tranID, String? reqTime, double? amount, List< ABATransactionItem> ? items, String? firstname, String? lastname, String? phone, String? email, String? returnUrl, String? continueSuccessUrl, String? returnParams, double? shipping, ABAPaymentOption? option}) → ABATransaction -
create(
) → Future< ABAServerResponse> - create
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEncodedMap(
) → Map< String, dynamic> -
toMap(
) → Map< String, dynamic> - toMap
-
toString(
) → String -
A string representation of this object.
override
-
validate(
) → Future< bool> - validate
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override