MyfatoorahRequest.test constructor
MyfatoorahRequest.test({
- required String token,
- required ApiLanguage language,
- required double invoiceAmount,
- required String successUrl,
- required String errorUrl,
- required Country currencyIso,
- ShippingConsignee? shippingConsignee,
- String? mobileCountryCode,
- String? initiatePaymentUrl,
- String? executePaymentUrl,
- String? customerMobile,
- String? customerName,
- String? customerEmail,
- String? customerReference,
- String? customerCivilId,
- String? userDefinedField,
- CustomerAddress? customerAddress,
- DateTime? expiryDate,
- List<
Supplier> ? suppliers, - int? shippingMethod,
- List<
InvoiceItem> ? invoiceItems, - RecurringModel? recurringModel,
Implementation
MyfatoorahRequest.test({
required this.token,
required this.language,
required this.invoiceAmount,
required this.successUrl,
required this.errorUrl,
required this.currencyIso,
this.shippingConsignee,
this.mobileCountryCode,
this.initiatePaymentUrl,
this.executePaymentUrl,
this.customerMobile,
this.customerName,
this.customerEmail,
this.customerReference,
this.customerCivilId,
this.userDefinedField,
this.customerAddress,
this.expiryDate,
this.suppliers,
this.shippingMethod,
this.invoiceItems,
this.recurringModel,
}) : url = "https://apitest.myfatoorah.com";