SubscriptionCreateOptionsBillingCycleAnchorConfig constructor

const SubscriptionCreateOptionsBillingCycleAnchorConfig({
  1. required int dayOfMonth,
  2. int? hour,
  3. int? minute,
  4. int? month,
  5. int? second,
})

billing_cycle_anchor_config_param

Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC.

Implementation

const SubscriptionCreateOptionsBillingCycleAnchorConfig({
  required this.dayOfMonth,
  this.hour,
  this.minute,
  this.month,
  this.second,
});