CheckoutSession constructor
CheckoutSession({
- String? billingAddressCollection,
- String? cancelUrl,
- String? clientReferenceId,
- dynamic customer,
- String? customerEmail,
- List<
DisplayItem> ? displayItems, - String? id,
- LineItems? lineItems,
- bool? livemode,
- String? locale,
- Map<
String, dynamic> ? metadata, - String? mode,
- String? object,
- dynamic paymentIntent,
- List<
String> ? paymentMethodTypes, - dynamic setupIntent,
- Shipping? shipping,
- ShippingAddressCollection? shippingAddressCollection,
- String? submitType,
- dynamic subscription,
- String? successUrl,
Implementation
CheckoutSession(
{this.billingAddressCollection,
this.cancelUrl,
this.clientReferenceId,
this.customer,
this.customerEmail,
this.displayItems,
this.id,
this.lineItems,
this.livemode,
this.locale,
this.metadata,
this.mode,
this.object,
this.paymentIntent,
this.paymentMethodTypes,
this.setupIntent,
this.shipping,
this.shippingAddressCollection,
this.submitType,
this.subscription,
this.successUrl});