PaymentLinkSubscriptionData class final

When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use `subscription_data`.

Constructors

PaymentLinkSubscriptionData({String? description, required PaymentLinksResourceSubscriptionDataInvoiceSettings invoiceSettings, required Map<String, String> metadata, int? trialPeriodDays, PaymentLinkSubscriptionDataTrialSettings? trialSettings})
When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use `subscription_data`.
const
PaymentLinkSubscriptionData.fromJson(Object? json)
factory

Properties

description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
invoiceSettings → PaymentLinksResourceSubscriptionDataInvoiceSettings
final
metadata → Map<String, String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trialPeriodDays → int?
final
trialSettings → PaymentLinkSubscriptionDataTrialSettings?
Settings related to subscription trials.
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>(PaymentLinkSubscriptionData instance, Encoder<V> encoder) → V