-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from qonversion/release/6.0.0
Release/6.0.0
- Loading branch information
Showing
17 changed files
with
242 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* This class represents the details about the installment plan for a subscription product. | ||
*/ | ||
export 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; | ||
} | ||
} |
Oops, something went wrong.