InstallmentsInfo constructor

const InstallmentsInfo(
  1. int commitmentPaymentsCount,
  2. int renewalCommitmentPaymentsCount
)

Implementation

const factory InstallmentsInfo(
  /// Number of payments the customer commits to in order to purchase
  /// the subscription.
  int commitmentPaymentsCount,

  /// After the commitment payments are complete, the number of payments
  /// the user commits to upon a renewal.
  int renewalCommitmentPaymentsCount,
) = _InstallmentsInfo;