SubscriptionItemCreateOptions class final

Constructors

SubscriptionItemCreateOptions({UpcomingSubscriptionItemsItemBillingThresholds? billingThresholds, List<String>? expand, Map<String, String>? metadata, SubscriptionItemPaymentBehavior? paymentBehavior, String? plan, String? price, UpcomingSubscriptionItemsItemPriceData? priceData, PortalSubscriptionCancelProrationBehavior? prorationBehavior, DateTime? prorationDate, int? quantity, required String subscription, List<String>? taxRates})
const
SubscriptionItemCreateOptions.fromJson(Object? json)
factory

Properties

billingThresholds → UpcomingSubscriptionItemsItemBillingThresholds?
final
expand → List<String>?
final
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, String>?
final
paymentBehavior → SubscriptionItemPaymentBehavior?
final
plan → String?
final
price → String?
final
priceData → UpcomingSubscriptionItemsItemPriceData?
final
prorationBehavior → PortalSubscriptionCancelProrationBehavior?
final
prorationDate → DateTime?
final
quantity → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subscription → String
final
taxRates → List<String>?
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>(SubscriptionItemCreateOptions instance, Encoder<V> encoder) → V