-
public final class InstallmentPlanDetailsAndroidInstallment plan details for subscription offers (Android) Contains information about the installment plan commitment. Available in Google Play Billing Library 7.0+
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classInstallmentPlanDetailsAndroid.Companion
-
Field Summary
Fields Modifier and Type Field Description private final IntegercommitmentPaymentsCountprivate final IntegersubsequentCommitmentPaymentsCount
-
Constructor Summary
Constructors Constructor Description InstallmentPlanDetailsAndroid(Integer commitmentPaymentsCount, Integer subsequentCommitmentPaymentsCount)
-
Method Summary
Modifier and Type Method Description final IntegergetCommitmentPaymentsCount()Committed payments count after a user signs up for this subscription plan. final IntegergetSubsequentCommitmentPaymentsCount()Subsequent committed payments count after the subscription plan renews. final Map<String, Object>toJson()-
-
Method Detail
-
getCommitmentPaymentsCount
final Integer getCommitmentPaymentsCount()
Committed payments count after a user signs up for this subscription plan. For example, for a monthly subscription with commitmentPaymentsCount of 12, users will be charged monthly for 12 months after signup.
-
getSubsequentCommitmentPaymentsCount
final Integer getSubsequentCommitmentPaymentsCount()
Subsequent committed payments count after the subscription plan renews. For example, for a monthly subscription with subsequentCommitmentPaymentsCount of 12, users will be committed to another 12 monthly payments when the plan renews. Returns 0 if the installment plan has no subsequent commitment (reverts to normal plan).
-
-
-
-