PaymentLinkCreateOptions constructor

const PaymentLinkCreateOptions({
  1. PaymentLinkAfterCompletion? afterCompletion,
  2. bool? allowPromotionCodes,
  3. int? applicationFeeAmount,
  4. double? applicationFeePercent,
  5. SessionAutomaticTax? automaticTax,
  6. PaymentLinkBillingAddressCollection? billingAddressCollection,
  7. SessionConsentCollection? consentCollection,
  8. String? currency,
  9. List<SessionCustomFieldsItem>? customFields,
  10. SessionCustomText? customText,
  11. PaymentLinkCustomerCreation? customerCreation,
  12. List<String>? expand,
  13. String? inactiveMessage,
  14. PaymentLinkCreateOptionsInvoiceCreation? invoiceCreation,
  15. required List<PaymentLinkLineItemsItem> lineItems,
  16. Map<String, String>? metadata,
  17. String? onBehalfOf,
  18. PaymentLinkCreateOptionsPaymentIntentData? paymentIntentData,
  19. PaymentLinkCustomerCreation? paymentMethodCollection,
  20. List<PaymentLinkPaymentMethodTypesItem>? paymentMethodTypes,
  21. PortalSubscriptionPause? phoneNumberCollection,
  22. PaymentLinkCreateOptionsRestrictions? restrictions,
  23. PaymentPagesCheckoutSessionShippingAddressCollection? shippingAddressCollection,
  24. List<CreditNoteShippingCost>? shippingOptions,
  25. PaymentLinkSubmitType? submitType,
  26. PaymentLinkCreateOptionsSubscriptionData? subscriptionData,
  27. PortalSubscriptionPause? taxIdCollection,
  28. 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,
});