CheckoutSessionCreateOptions constructor
const
CheckoutSessionCreateOptions({
- SessionAfterExpiration? afterExpiration,
- bool? allowPromotionCodes,
- SessionAutomaticTax? automaticTax,
- PaymentLinkBillingAddressCollection? billingAddressCollection,
- String? cancelUrl,
- String? clientReferenceId,
- SessionConsentCollection? consentCollection,
- String? currency,
- List<
SessionCustomFieldsItem> ? customFields, - SessionCustomText? customText,
- String? customer,
- PaymentLinkCustomerCreation? customerCreation,
- String? customerEmail,
- SessionCustomerUpdate? customerUpdate,
- List<
SessionDiscountsItem> ? discounts, - List<
String> ? expand, - DateTime? expiresAt,
- SessionInvoiceCreation? invoiceCreation,
- List<
SessionLineItemsItem> ? lineItems, - CheckoutSessionCreateOptionsLocale? locale,
- Map<
String, String> ? metadata, - CheckoutSessionMode? mode,
- SessionPaymentIntentData? paymentIntentData,
- PaymentLinkCustomerCreation? paymentMethodCollection,
- String? paymentMethodConfiguration,
- SessionPaymentMethodOptions? paymentMethodOptions,
- List<
SessionPaymentMethodTypesItem> ? paymentMethodTypes, - PortalSubscriptionPause? phoneNumberCollection,
- CheckoutSessionRedirectOnCompletion? redirectOnCompletion,
- String? returnUrl,
- SessionSetupIntentData? setupIntentData,
- PaymentPagesCheckoutSessionShippingAddressCollection? shippingAddressCollection,
- List<
SessionShippingOptionsItem> ? shippingOptions, - PaymentLinkSubmitType? submitType,
- SessionSubscriptionData? subscriptionData,
- String? successUrl,
- PortalSubscriptionPause? taxIdCollection,
- SessionUiMode? uiMode,
Implementation
const CheckoutSessionCreateOptions({
this.afterExpiration,
this.allowPromotionCodes,
this.automaticTax,
this.billingAddressCollection,
this.cancelUrl,
this.clientReferenceId,
this.consentCollection,
this.currency,
this.customFields,
this.customText,
this.customer,
this.customerCreation,
this.customerEmail,
this.customerUpdate,
this.discounts,
this.expand,
this.expiresAt,
this.invoiceCreation,
this.lineItems,
this.locale,
this.metadata,
this.mode,
this.paymentIntentData,
this.paymentMethodCollection,
this.paymentMethodConfiguration,
this.paymentMethodOptions,
this.paymentMethodTypes,
this.phoneNumberCollection,
this.redirectOnCompletion,
this.returnUrl,
this.setupIntentData,
this.shippingAddressCollection,
this.shippingOptions,
this.submitType,
this.subscriptionData,
this.successUrl,
this.taxIdCollection,
this.uiMode,
});