PaymentLinkCreateOptionsSubscriptionData constructor

const PaymentLinkCreateOptionsSubscriptionData({
  1. String? description,
  2. SessionInvoiceSettings? invoiceSettings,
  3. Map<String, String>? metadata,
  4. int? trialPeriodDays,
  5. SessionTrialSettings? trialSettings,
})

subscription_data_params

When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use `subscription_data`.

Implementation

const PaymentLinkCreateOptionsSubscriptionData({
  this.description,
  this.invoiceSettings,
  this.metadata,
  this.trialPeriodDays,
  this.trialSettings,
});