# ProductDetails.InstallmentPlanDetails


```
public final class ProductDetails.InstallmentPlanDetails
```

<br />

*** ** * ** ***

Represents additional details of an installment subscription plan.

## Summary

| ### Public methods |
|---|---|
| `int` | `https://developer.android.com/reference/com/android/billingclient/api/ProductDetails.InstallmentPlanDetails#getInstallmentPlanCommitmentPaymentsCount()()` Returns committed payments count after a user signs up for this subscription plan. |
| `int` | `https://developer.android.com/reference/com/android/billingclient/api/ProductDetails.InstallmentPlanDetails#getSubsequentInstallmentPlanCommitmentPaymentsCount()()` Returns subsequent committed payments count after this subscription plan renews. |

## Public methods

### getInstallmentPlanCommitmentPaymentsCount

```
public int getInstallmentPlanCommitmentPaymentsCount()
```

Returns committed payments count after a user signs up for this subscription plan.

For example, for a monthly subscription plan with commitmentPaymentsCount as 12, users will be charged monthly for 12 month after initial signup. User cancellation won't take effect until all 12 committed payments are finished.

### getSubsequentInstallmentPlanCommitmentPaymentsCount

```
public int getSubsequentInstallmentPlanCommitmentPaymentsCount()
```

Returns subsequent committed payments count after this subscription plan renews.

For example, for a monthly subscription plan with subsequentCommitmentPaymentsCount as 12, when the subscription plan renews, users will be committed to another fresh 12 monthly payments.

**Note:** Returns 0 if the installment plan doesn't have any subsequent committment, which means this subscription plan will fall back to a normal non-installment monthly plan when the plan renews.