SessionSubscriptionData constructor

const SessionSubscriptionData({
  1. double? applicationFeePercent,
  2. DateTime? billingCycleAnchor,
  3. List<String>? defaultTaxRates,
  4. String? description,
  5. SessionInvoiceSettings? invoiceSettings,
  6. Map<String, String>? metadata,
  7. String? onBehalfOf,
  8. SessionProrationBehavior? prorationBehavior,
  9. SessionTransferData? transferData,
  10. DateTime? trialEnd,
  11. int? trialPeriodDays,
  12. SessionTrialSettings? trialSettings,
})

subscription_data_params

A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.

Implementation

const SessionSubscriptionData({
  this.applicationFeePercent,
  this.billingCycleAnchor,
  this.defaultTaxRates,
  this.description,
  this.invoiceSettings,
  this.metadata,
  this.onBehalfOf,
  this.prorationBehavior,
  this.transferData,
  this.trialEnd,
  this.trialPeriodDays,
  this.trialSettings,
});