SubscriptionCreateOptions class final

Constructors

SubscriptionCreateOptions({List<SubscriptionScheduleAddInvoiceItemsItem>? addInvoiceItems, double? applicationFeePercent, SessionAutomaticTax? automaticTax, DateTime? backdateStartDate, DateTime? billingCycleAnchor, SubscriptionCreateOptionsBillingCycleAnchorConfig? billingCycleAnchorConfig, SubscriptionScheduleBillingThresholds? billingThresholds, DateTime? cancelAt, bool? cancelAtPeriodEnd, InvoiceCollectionMethod? collectionMethod, String? coupon, String? currency, required String customer, int? daysUntilDue, String? defaultPaymentMethod, String? defaultSource, List<String>? defaultTaxRates, String? description, List<String>? expand, SubscriptionInvoiceSettings? invoiceSettings, List<SubscriptionScheduleItemsItem>? items, Map<String, String>? metadata, bool? offSession, String? onBehalfOf, SubscriptionItemPaymentBehavior? paymentBehavior, SubscriptionCreateOptionsPaymentSettings? paymentSettings, SessionRecurring? pendingInvoiceItemInterval, String? promotionCode, PortalSubscriptionCancelProrationBehavior? prorationBehavior, SessionTransferData? transferData, SubscriptionTrialEnd? trialEnd, bool? trialFromPlan, int? trialPeriodDays, SessionTrialSettings? trialSettings})
const
SubscriptionCreateOptions.fromJson(Object? json)
factory

Properties

addInvoiceItems List<SubscriptionScheduleAddInvoiceItemsItem>?
final
applicationFeePercent double?
final
automaticTax SessionAutomaticTax?
final
backdateStartDate DateTime?
final
billingCycleAnchor DateTime?
final
billingCycleAnchorConfig SubscriptionCreateOptionsBillingCycleAnchorConfig?
billing_cycle_anchor_config_param
final
billingThresholds SubscriptionScheduleBillingThresholds?
final
cancelAt DateTime?
final
cancelAtPeriodEnd bool?
final
collectionMethod InvoiceCollectionMethod?
final
coupon String?
final
currency String?
final
customer 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?
invoice_settings_param
final
items List<SubscriptionScheduleItemsItem>?
final
metadata Map<String, String>?
final
offSession bool?
final
onBehalfOf String?
final
paymentBehavior SubscriptionItemPaymentBehavior?
final
paymentSettings SubscriptionCreateOptionsPaymentSettings?
payment_settings
final
pendingInvoiceItemInterval SessionRecurring?
final
promotionCode String?
final
prorationBehavior PortalSubscriptionCancelProrationBehavior?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transferData SessionTransferData?
final
trialEnd SubscriptionTrialEnd?
final
trialFromPlan bool?
final
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>(SubscriptionCreateOptions instance, Encoder<V> encoder) → V