QuoteSubscriptionData class final

subscription_data_create_params

When creating a subscription or subscription schedule, the specified configuration data will be used. There must be at least one line item with a recurring price for a subscription or subscription schedule to be created. A subscription schedule is created if `subscription_data[effective_date]` is present and in the future, otherwise a subscription is created.

Constructors

QuoteSubscriptionData({String? description, QuoteEffectiveDate? effectiveDate, Map<String, String>? metadata, int? trialPeriodDays})
subscription_data_create_params
const
QuoteSubscriptionData.fromJson(Object? json)
factory

Properties

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