CheckoutSessionCreateOptions constructor

const CheckoutSessionCreateOptions({
  1. SessionAfterExpiration? afterExpiration,
  2. bool? allowPromotionCodes,
  3. SessionAutomaticTax? automaticTax,
  4. PaymentLinkBillingAddressCollection? billingAddressCollection,
  5. String? cancelUrl,
  6. String? clientReferenceId,
  7. SessionConsentCollection? consentCollection,
  8. String? currency,
  9. List<SessionCustomFieldsItem>? customFields,
  10. SessionCustomText? customText,
  11. String? customer,
  12. PaymentLinkCustomerCreation? customerCreation,
  13. String? customerEmail,
  14. SessionCustomerUpdate? customerUpdate,
  15. List<SessionDiscountsItem>? discounts,
  16. List<String>? expand,
  17. DateTime? expiresAt,
  18. SessionInvoiceCreation? invoiceCreation,
  19. List<SessionLineItemsItem>? lineItems,
  20. CheckoutSessionCreateOptionsLocale? locale,
  21. Map<String, String>? metadata,
  22. CheckoutSessionMode? mode,
  23. SessionPaymentIntentData? paymentIntentData,
  24. PaymentLinkCustomerCreation? paymentMethodCollection,
  25. String? paymentMethodConfiguration,
  26. SessionPaymentMethodOptions? paymentMethodOptions,
  27. List<SessionPaymentMethodTypesItem>? paymentMethodTypes,
  28. PortalSubscriptionPause? phoneNumberCollection,
  29. CheckoutSessionRedirectOnCompletion? redirectOnCompletion,
  30. String? returnUrl,
  31. SessionSetupIntentData? setupIntentData,
  32. PaymentPagesCheckoutSessionShippingAddressCollection? shippingAddressCollection,
  33. List<SessionShippingOptionsItem>? shippingOptions,
  34. PaymentLinkSubmitType? submitType,
  35. SessionSubscriptionData? subscriptionData,
  36. String? successUrl,
  37. PortalSubscriptionPause? taxIdCollection,
  38. 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,
});