SubscriptionSchedulePhaseConfiguration constructor
const
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
A phase describes the plans, coupon, and trialing status of a subscription for a predefined time period.
Implementation
const SubscriptionSchedulePhaseConfiguration({
required this.addInvoiceItems,
this.applicationFeePercent,
this.automaticTax,
this.billingCycleAnchor,
this.billingThresholds,
this.collectionMethod,
this.coupon,
required this.currency,
this.defaultPaymentMethod,
this.defaultTaxRates,
this.description,
required this.endDate,
this.invoiceSettings,
required this.items,
this.metadata,
this.onBehalfOf,
required this.prorationBehavior,
required this.startDate,
this.transferData,
this.trialEnd,
});