PaywayCreateTransaction constructor
PaywayCreateTransaction({
- required String tranId,
- required String reqTime,
- required double amount,
- required List<
PaywayTransactionItem> items, - required String firstname,
- required String lastname,
- required String phone,
- required String email,
- String? returnUrl,
- String? continueSuccessUrl,
- String? returnParams,
- double? shipping,
- ABAPaymentOption option = ABAPaymentOption.cards,
- ABATransactionType type = ABATransactionType.purchase,
- 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,
});