PricingPhase constructor

const PricingPhase(
  1. Period? billingPeriod,
  2. RecurrenceMode? recurrenceMode,
  3. int? billingCycleCount,
  4. Price price,
  5. OfferPaymentMode? offerPaymentMode,
)

Implementation

const factory PricingPhase(
  /// Billing period for which the PricingPhase applies
  Period? billingPeriod,

  /// Recurrence mode of the PricingPhase
  RecurrenceMode? recurrenceMode,

  /// Number of cycles for which the pricing phase applies.
  /// Null for infiniteRecurring or finiteRecurring recurrence modes.
  int? billingCycleCount,

  /// Price of the PricingPhase
  Price price,

  /// Indicates how the pricing phase is charged for finiteRecurring pricing phases
  OfferPaymentMode? offerPaymentMode,
) = _PricingPhase;