failedPaymentsCount property
The number of consecutive payment failures. Resets to 0 after a successful payment. If this reaches the payment_failure_threshold value, the subscription updates to the SUSPENDED state.
Implementation
final int failedPaymentsCount;