PaymentReq constructor

PaymentReq({
  1. required String upiIntentRequestUrl,
  2. required String paymentRequestUrl,
  3. required String cardInfoRequestUrl,
  4. required String returnUrl,
  5. required dynamic orderId,
  6. String currency = 'INR',
  7. String mode = 'LIVE',
  8. required dynamic amount,
  9. required String name,
  10. required dynamic phone,
  11. required String email,
  12. required String description,
  13. required String city,
  14. required String state,
  15. required String country,
  16. required dynamic zipCode,
  17. String? addressLine1 = "none",
  18. String? addressLine2 = "none",
  19. String? udf1 = "none",
  20. String? udf2 = "none",
  21. String? udf3 = "none",
  22. String? udf4 = "none",
  23. String? udf5 = "none",
})

Implementation

PaymentReq({
  required this.upiIntentRequestUrl,
  required this.paymentRequestUrl,
  required this.cardInfoRequestUrl,
  required this.returnUrl,
  required this.orderId,
  this.currency = 'INR',
  this.mode = 'LIVE',
  required this.amount,
  required this.name,
  required this.phone,
  required this.email,
  required this.description,
  required this.city,
  required this.state,
  required this.country,
  required this.zipCode,
  this.addressLine1 ="none",
  this.addressLine2 ="none",
  this.udf1 ="none",
  this.udf2 ="none",
  this.udf3 ="none",
  this.udf4 ="none",
  this.udf5 ="none",

});