SubscriptionSchedulePhaseConfiguration class final

SubscriptionSchedulePhaseConfiguration

A phase describes the plans, coupon, and trialing status of a subscription for a predefined time period.

Constructors

SubscriptionSchedulePhaseConfiguration({required List<SubscriptionScheduleAddInvoiceItem> addInvoiceItems, double? applicationFeePercent, SchedulesPhaseAutomaticTax? automaticTax, SubscriptionSchedulePhaseConfigurationBillingCycleAnchor? billingCycleAnchor, SubscriptionBillingThresholds? billingThresholds, SubscriptionSchedulePhaseConfigurationCollectionMethod? collectionMethod, SubscriptionSchedulePhaseConfigurationCouponOrId? coupon, required String currency, PaymentMethodOrId? defaultPaymentMethod, List<TaxRate>? defaultTaxRates, String? description, required DateTime endDate, InvoiceSettingSubscriptionSchedulePhaseSetting? invoiceSettings, required List<SubscriptionScheduleConfigurationItem> items, Map<String, String>? metadata, AccountOrId? onBehalfOf, required PortalSubscriptionCancelProrationBehavior prorationBehavior, required DateTime startDate, SubscriptionTransferData? transferData, DateTime? trialEnd})
SubscriptionSchedulePhaseConfiguration
const
SubscriptionSchedulePhaseConfiguration.fromJson(Object? json)
factory

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>(SubscriptionSchedulePhaseConfiguration instance, Encoder<V> encoder) → V