PaymentRequest constructor

PaymentRequest({
  1. required String? version,
  2. required String? cid,
  3. required String? currency,
  4. required String? amount,
  5. required String? cartid,
  6. required String? signatureKey,
  7. String? callbackUrl,
  8. String? returnUrl,
  9. String? email,
  10. String? mobileNo,
  11. String? firstName,
  12. String? lastName,
  13. String? productDescription,
  14. String? billingStreet,
  15. String? billingPostCode,
  16. String? billingCity,
  17. String? billingState,
  18. String? billingCountry,
  19. required bool isProd,
  20. PaymentCallback? paymentCallback,
})

Implementation

PaymentRequest(
    {required this.version,
    required this.cid,
    required this.currency,
    required this.amount,
    required this.cartid,
    required this.signatureKey,
    this.callbackUrl,
    this.returnUrl,
    this.email,
    this.mobileNo,
    this.firstName,
    this.lastName,
    this.productDescription,
    this.billingStreet,
    this.billingPostCode,
    this.billingCity,
    this.billingState,
    this.billingCountry,
    required this.isProd,
    this.paymentCallback});