PaymentLinkCreateOptions constructor
const
PaymentLinkCreateOptions({
- PaymentLinkAfterCompletion? afterCompletion,
- bool? allowPromotionCodes,
- int? applicationFeeAmount,
- double? applicationFeePercent,
- SessionAutomaticTax? automaticTax,
- PaymentLinkBillingAddressCollection? billingAddressCollection,
- SessionConsentCollection? consentCollection,
- String? currency,
- List<
SessionCustomFieldsItem> ? customFields, - SessionCustomText? customText,
- PaymentLinkCustomerCreation? customerCreation,
- List<
String> ? expand, - String? inactiveMessage,
- PaymentLinkCreateOptionsInvoiceCreation? invoiceCreation,
- required List<
PaymentLinkLineItemsItem> lineItems, - Map<
String, String> ? metadata, - String? onBehalfOf,
- PaymentLinkCreateOptionsPaymentIntentData? paymentIntentData,
- PaymentLinkCustomerCreation? paymentMethodCollection,
- List<
PaymentLinkPaymentMethodTypesItem> ? paymentMethodTypes, - PortalSubscriptionPause? phoneNumberCollection,
- PaymentLinkCreateOptionsRestrictions? restrictions,
- PaymentPagesCheckoutSessionShippingAddressCollection? shippingAddressCollection,
- List<
CreditNoteShippingCost> ? shippingOptions, - PaymentLinkSubmitType? submitType,
- PaymentLinkCreateOptionsSubscriptionData? subscriptionData,
- PortalSubscriptionPause? taxIdCollection,
- ChargeCreateOptionsTransferData? transferData,
Implementation
const PaymentLinkCreateOptions({
this.afterCompletion,
this.allowPromotionCodes,
this.applicationFeeAmount,
this.applicationFeePercent,
this.automaticTax,
this.billingAddressCollection,
this.consentCollection,
this.currency,
this.customFields,
this.customText,
this.customerCreation,
this.expand,
this.inactiveMessage,
this.invoiceCreation,
required this.lineItems,
this.metadata,
this.onBehalfOf,
this.paymentIntentData,
this.paymentMethodCollection,
this.paymentMethodTypes,
this.phoneNumberCollection,
this.restrictions,
this.shippingAddressCollection,
this.shippingOptions,
this.submitType,
this.subscriptionData,
this.taxIdCollection,
this.transferData,
});