ShurjopayRequestModel constructor

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

Implementation

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