BaseSession constructor

BaseSession({
  1. required String type,
  2. required String clientSecret,
  3. String? customerId,
  4. Shipping? shipping,
  5. bool? isBillingRequired,
  6. bool? isEmailRequired,
  7. required String currency,
  8. required String countryCode,
  9. required double amount,
  10. String? returnUrl,
  11. GooglePayOptions? googlePayOptions,
  12. ApplePayOptions? applePayOptions,
  13. List<String>? paymentMethods,
})

Implementation

BaseSession({
  required this.type,
  required this.clientSecret,
  this.customerId,
  this.shipping,
  this.isBillingRequired,
  this.isEmailRequired,
  required this.currency,
  required this.countryCode,
  required this.amount,
  this.returnUrl,
  this.googlePayOptions,
  this.applePayOptions,
  this.paymentMethods,
});