SubscriptionUpdateOptions class final

Constructors

SubscriptionUpdateOptions({List<SubscriptionScheduleAddInvoiceItemsItem>? addInvoiceItems, double? applicationFeePercent, SessionAutomaticTax? automaticTax, SubscriptionBillingCycleAnchor? billingCycleAnchor, SubscriptionScheduleBillingThresholds? billingThresholds, DateTime? cancelAt, bool? cancelAtPeriodEnd, SubscriptionCancellationDetails? cancellationDetails, InvoiceCollectionMethod? collectionMethod, String? coupon, int? daysUntilDue, String? defaultPaymentMethod, String? defaultSource, List<String>? defaultTaxRates, String? description, List<String>? expand, SubscriptionInvoiceSettings? invoiceSettings, List<UpcomingSubscriptionItemsItem>? items, Map<String, String>? metadata, bool? offSession, String? onBehalfOf, SubscriptionUpdateOptionsPauseCollection? pauseCollection, SubscriptionItemPaymentBehavior? paymentBehavior, SubscriptionCreateOptionsPaymentSettings? paymentSettings, SessionRecurring? pendingInvoiceItemInterval, String? promotionCode, PortalSubscriptionCancelProrationBehavior? prorationBehavior, DateTime? prorationDate, SessionTransferData? transferData, SubscriptionTrialEnd? trialEnd, bool? trialFromPlan, SessionTrialSettings? trialSettings})
const
SubscriptionUpdateOptions.fromJson(Object? json)
factory

Properties

addInvoiceItems List<SubscriptionScheduleAddInvoiceItemsItem>?
final
applicationFeePercent double?
final
automaticTax SessionAutomaticTax?
final
billingCycleAnchor SubscriptionBillingCycleAnchor?
final
billingThresholds SubscriptionScheduleBillingThresholds?
final
cancelAt DateTime?
final
cancelAtPeriodEnd bool?
final
cancellationDetails SubscriptionCancellationDetails?
cancellation_details_param
final
collectionMethod InvoiceCollectionMethod?
final
coupon String?
final
daysUntilDue int?
final
defaultPaymentMethod String?
final
defaultSource String?
final
defaultTaxRates List<String>?
final
description String?
final
expand List<String>?
final
hashCode int
The hash code for this object.
no setterinherited
invoiceSettings SubscriptionInvoiceSettings?
final
items List<UpcomingSubscriptionItemsItem>?
final
metadata Map<String, String>?
final
offSession bool?
final
onBehalfOf String?
final
pauseCollection SubscriptionUpdateOptionsPauseCollection?
pause_collection_param
final
paymentBehavior SubscriptionItemPaymentBehavior?
final
paymentSettings SubscriptionCreateOptionsPaymentSettings?
final
pendingInvoiceItemInterval SessionRecurring?
final
promotionCode String?
final
prorationBehavior PortalSubscriptionCancelProrationBehavior?
final
prorationDate DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transferData SessionTransferData?
final
trialEnd SubscriptionTrialEnd?
final
trialFromPlan bool?
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>(SubscriptionUpdateOptions instance, Encoder<V> encoder) → V