PaymentReq constructor
PaymentReq({
- required String upiIntentRequestUrl,
- required String paymentRequestUrl,
- required String cardInfoRequestUrl,
- required String returnUrl,
- required dynamic orderId,
- String currency = 'INR',
- String mode = 'LIVE',
- required dynamic amount,
- required String name,
- required dynamic phone,
- required String email,
- required String description,
- required String city,
- required String state,
- required String country,
- required dynamic zipCode,
- String? addressLine1 = "none",
- String? addressLine2 = "none",
- String? udf1 = "none",
- String? udf2 = "none",
- String? udf3 = "none",
- String? udf4 = "none",
- 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",
});