commitmentPaymentsCount property
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.
Implementation
final int commitmentPaymentsCount;