PaymentLinkCreateOptionsSubscriptionData class final

subscription_data_params

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

PaymentLinkCreateOptionsSubscriptionData({String? description, SessionInvoiceSettings? invoiceSettings, Map<String, String>? metadata, int? trialPeriodDays, SessionTrialSettings? trialSettings})
subscription_data_params
const
PaymentLinkCreateOptionsSubscriptionData.fromJson(Object? json)
factory

Properties

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