BaseSession constructor
BaseSession({
- required String type,
- required String clientSecret,
- String? customerId,
- Shipping? shipping,
- bool? isBillingRequired,
- bool? isEmailRequired,
- required String currency,
- required String countryCode,
- required double amount,
- String? returnUrl,
- GooglePayOptions? googlePayOptions,
- ApplePayOptions? applePayOptions,
- 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,
});