PaywayCreateTransaction constructor

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

Implementation

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