CheckoutRequestModel constructor

CheckoutRequestModel({
  1. required String token,
  2. required String storeID,
  3. required String prefix,
  4. required String currency,
  5. required double amount,
  6. required String orderID,
  7. double? discountAmount,
  8. double? discountPercentage,
  9. required String customerName,
  10. required String customerPhoneNumber,
  11. String? customerEmail,
  12. required String customerAddress,
  13. String? customerCity,
  14. String? customerState,
  15. String? customerPostcode,
  16. String? customerCountry,
  17. String? returnURL,
  18. String? cancelURL,
  19. String? clientIP,
  20. String? value1,
  21. String? value2,
  22. String? value3,
  23. String? value4,
})

Implementation

CheckoutRequestModel({
  required this.token,
  required this.storeID,
  required this.prefix,
  required this.currency,
  required this.amount,
  required this.orderID,
  this.discountAmount,
  this.discountPercentage,
  required this.customerName,
  required this.customerPhoneNumber,
  this.customerEmail,
  required this.customerAddress,
  this.customerCity,
  this.customerState,
  this.customerPostcode,
  this.customerCountry,
  this.returnURL,
  this.cancelURL,
  this.clientIP,
  this.value1,
  this.value2,
  this.value3,
  this.value4,
});