UNPKG

@qonversion/react-native-sdk

Version:

Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and co

29 lines (25 loc) 906 B
/** * 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: number; /** * 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: number; constructor( commitmentPaymentsCount: number, subsequentCommitmentPaymentsCount: number ) { this.commitmentPaymentsCount = commitmentPaymentsCount; this.subsequentCommitmentPaymentsCount = subsequentCommitmentPaymentsCount; } } export default ProductInstallmentPlanDetails;