MyfatoorahRequest constructor
- @Deprecated("Use `MyfatoorahRequest.test` or MyfatoorahRequest.live")
MyfatoorahRequest(
{ - required String token,
- required ApiLanguage language,
- required double invoiceAmount,
- required Country currencyIso,
- ShippingConsignee? shippingConsignee,
- String? mobileCountryCode,
- String? initiatePaymentUrl,
- String? executePaymentUrl,
- String? customerMobile,
- String url = "https://api.myfatoorah.com",
- 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
@Deprecated("Use `MyfatoorahRequest.test` or MyfatoorahRequest.live")
MyfatoorahRequest({
required this.token,
required this.language,
required this.invoiceAmount,
required this.currencyIso,
this.shippingConsignee,
this.mobileCountryCode,
this.initiatePaymentUrl,
this.executePaymentUrl,
this.customerMobile,
this.url = "https://api.myfatoorah.com",
this.customerName,
this.customerEmail,
this.customerReference,
this.customerCivilId,
this.userDefinedField,
this.customerAddress,
this.expiryDate,
this.suppliers,
this.shippingMethod,
this.invoiceItems,
this.recurringModel,
});