UNPKG

cordova-plugin-qonversion

Version:
26 lines (25 loc) 1.04 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ProductInstallmentPlanDetails = void 0; /** * This class represents the details about the installment plan for a subscription product. */ class ProductInstallmentPlanDetails { /** * Committed payments count after a user signs up for this subscription plan. */ commitmentPaymentsCount; /** * Subsequent committed payments count after this subscription plan renews. * * Returns 0 if the installment plan doesn't have any subsequent commitment, * which means this subscription plan will fall back to a normal * non-installment monthly plan when the plan renews. */ subsequentCommitmentPaymentsCount; constructor(commitmentPaymentsCount, subsequentCommitmentPaymentsCount) { this.commitmentPaymentsCount = commitmentPaymentsCount; this.subsequentCommitmentPaymentsCount = subsequentCommitmentPaymentsCount; } } exports.ProductInstallmentPlanDetails = ProductInstallmentPlanDetails;