CreateCheckoutSessionRequest constructor
CreateCheckoutSessionRequest({
- required String successUrl,
- required String cancelUrl,
- required List<
PaymentMethodType> paymentMethodTypes, - SessionMode? mode,
- String? clientReferenceId,
- String? customerEmail,
- String? customer,
- List<
LineItem> ? lineItems, - BillingAddressCollection? billingAddressCollection,
- AutomaticTax? automaticTax,
- TaxIdCollection? taxIdCollection,
- PaymentIntentData? paymentIntentData,
- SubscriptionData? subscriptionData,
Implementation
CreateCheckoutSessionRequest({
required this.successUrl,
required this.cancelUrl,
required this.paymentMethodTypes,
this.mode,
this.clientReferenceId,
this.customerEmail,
this.customer,
this.lineItems,
this.billingAddressCollection,
this.automaticTax,
this.taxIdCollection,
this.paymentIntentData,
this.subscriptionData,
});