PaymentLinkSubscriptionData constructor

const PaymentLinkSubscriptionData({
  1. String? description,
  2. required PaymentLinksResourceSubscriptionDataInvoiceSettings invoiceSettings,
  3. required Map<String, String> metadata,
  4. int? trialPeriodDays,
  5. PaymentLinkSubscriptionDataTrialSettings? trialSettings,
})

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 PaymentLinkSubscriptionData({
  this.description,
  required this.invoiceSettings,
  required this.metadata,
  this.trialPeriodDays,
  this.trialSettings,
});