PaymentLinkCreateOptions class final

Constructors

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})
const
PaymentLinkCreateOptions.fromJson(Object? json)
factory

Properties

afterCompletion PaymentLinkAfterCompletion?
after_completion_params
final
allowPromotionCodes bool?
final
applicationFeeAmount int?
final
applicationFeePercent double?
final
automaticTax SessionAutomaticTax?
final
billingAddressCollection PaymentLinkBillingAddressCollection?
final
consentCollection SessionConsentCollection?
final
currency String?
final
customerCreation PaymentLinkCustomerCreation?
final
customFields List<SessionCustomFieldsItem>?
final
customText SessionCustomText?
final
expand List<String>?
final
hashCode int
The hash code for this object.
no setterinherited
inactiveMessage String?
final
invoiceCreation PaymentLinkCreateOptionsInvoiceCreation?
invoice_creation_create_params
final
lineItems List<PaymentLinkLineItemsItem>
final
metadata Map<String, String>?
final
onBehalfOf String?
final
paymentIntentData PaymentLinkCreateOptionsPaymentIntentData?
payment_intent_data_params
final
paymentMethodCollection PaymentLinkCustomerCreation?
final
paymentMethodTypes List<PaymentLinkPaymentMethodTypesItem>?
final
phoneNumberCollection PortalSubscriptionPause?
final
restrictions PaymentLinkCreateOptionsRestrictions?
restrictions_params
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddressCollection PaymentPagesCheckoutSessionShippingAddressCollection?
final
shippingOptions List<CreditNoteShippingCost>?
final
submitType PaymentLinkSubmitType?
final
subscriptionData PaymentLinkCreateOptionsSubscriptionData?
subscription_data_params
final
taxIdCollection PortalSubscriptionPause?
final
transferData ChargeCreateOptionsTransferData?
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>(PaymentLinkCreateOptions instance, Encoder<V> encoder) → V