CheckoutSessionCreateOptions class final
Constructors
-
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}) -
const
- CheckoutSessionCreateOptions.fromJson(Object? json)
-
factory
Properties
- afterExpiration → SessionAfterExpiration?
-
after_expiration_params
final
- allowPromotionCodes → bool?
-
final
- automaticTax → SessionAutomaticTax?
-
automatic_tax_params
final
- billingAddressCollection → PaymentLinkBillingAddressCollection?
-
final
- cancelUrl → String?
-
final
- clientReferenceId → String?
-
final
- consentCollection → SessionConsentCollection?
-
consent_collection_params
final
- currency → String?
-
final
- customer → String?
-
final
- customerCreation → PaymentLinkCustomerCreation?
-
final
- customerEmail → String?
-
final
- customerUpdate → SessionCustomerUpdate?
-
customer_update_params
final
-
customFields
→ List<
SessionCustomFieldsItem> ? -
final
- customText → SessionCustomText?
-
custom_text_param
final
-
discounts
→ List<
SessionDiscountsItem> ? -
final
-
expand
→ List<
String> ? -
final
- expiresAt → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoiceCreation → SessionInvoiceCreation?
-
invoice_creation_params
final
-
lineItems
→ List<
SessionLineItemsItem> ? -
final
- locale → CheckoutSessionCreateOptionsLocale?
-
final
-
metadata
→ Map<
String, String> ? -
final
- mode → CheckoutSessionMode?
-
final
- paymentIntentData → SessionPaymentIntentData?
-
payment_intent_data_params
final
- paymentMethodCollection → PaymentLinkCustomerCreation?
-
final
- paymentMethodConfiguration → String?
-
final
- paymentMethodOptions → SessionPaymentMethodOptions?
-
payment_method_options_param
final
-
paymentMethodTypes
→ List<
SessionPaymentMethodTypesItem> ? -
final
- phoneNumberCollection → PortalSubscriptionPause?
-
final
- redirectOnCompletion → CheckoutSessionRedirectOnCompletion?
-
final
- returnUrl → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setupIntentData → SessionSetupIntentData?
-
setup_intent_data_param
final
- shippingAddressCollection → PaymentPagesCheckoutSessionShippingAddressCollection?
-
final
-
shippingOptions
→ List<
SessionShippingOptionsItem> ? -
final
- submitType → PaymentLinkSubmitType?
-
final
- subscriptionData → SessionSubscriptionData?
-
subscription_data_params
final
- successUrl → String?
-
final
- taxIdCollection → PortalSubscriptionPause?
-
final
- uiMode → SessionUiMode?
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (CheckoutSessionCreateOptions instance, Encoder< V> encoder) → V