ABATransaction constructor

ABATransaction({
  1. ABAMerchant? merchant,
  2. required String tranID,
  3. required String reqTime,
  4. double? amount,
  5. List<ABATransactionItem>? items,
  6. String? firstname,
  7. String? lastname,
  8. String? phone,
  9. String? email,
  10. String? returnUrl,
  11. String? continueSuccessUrl,
  12. String? returnParams,
  13. double? shipping = 0.00,
  14. ABAPaymentOption option = ABAPaymentOption.cards,
  15. ABATransactionType type = ABATransactionType.purchase,
  16. ABATransactionCurrency currency = ABATransactionCurrency.USD,
})

Implementation

ABATransaction({
  this.merchant,
  required this.tranID,
  required this.reqTime,
  this.amount,
  this.items,
  this.firstname,
  this.lastname,
  this.phone,
  this.email,
  this.returnUrl,
  this.continueSuccessUrl,
  this.returnParams,
  this.shipping = 0.00,
  this.option = ABAPaymentOption.cards,
  this.type = ABATransactionType.purchase,
  this.currency = ABATransactionCurrency.USD,
});