# BillingClient.OnPurchasesUpdatedSubResponseCode


```
@Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
public annotation BillingClient.OnPurchasesUpdatedSubResponseCode
```

<br />

*** ** * ** ***

Sub response codes further qualifying errors returned in `https://developer.android.com/reference/com/android/billingclient/api/PurchasesUpdatedListener#onPurchasesUpdated(com.android.billingclient.api.BillingResult,java.util.List<com.android.billingclient.api.Purchase>)`.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/com/android/billingclient/api/BillingClient.OnPurchasesUpdatedSubResponseCode#NO_APPLICABLE_SUB_RESPONSE_CODE() = 0` The default value, returned when no other sub-response code is applicable. |
| `static final int` | `https://developer.android.com/reference/com/android/billingclient/api/BillingClient.OnPurchasesUpdatedSubResponseCode#PAYMENT_DECLINED_DUE_TO_INSUFFICIENT_FUNDS() = 1` Returned when the user's funds are less than the price of the item they are attempting to purchase. |
| `static final int` | `https://developer.android.com/reference/com/android/billingclient/api/BillingClient.OnPurchasesUpdatedSubResponseCode#USER_INELIGIBLE() = 2` Returned when the user doesn't meet the configured eligibility requirements for a subscription offer. |

## Constants

### NO_APPLICABLE_SUB_RESPONSE_CODE

```
public static final int NO_APPLICABLE_SUB_RESPONSE_CODE = 0
```

The default value, returned when no other sub-response code is applicable.

### PAYMENT_DECLINED_DUE_TO_INSUFFICIENT_FUNDS

```
public static final int PAYMENT_DECLINED_DUE_TO_INSUFFICIENT_FUNDS = 1
```

Returned when the user's funds are less than the price of the item they are attempting to purchase.

### USER_INELIGIBLE

```
public static final int USER_INELIGIBLE = 2
```

Returned when the user doesn't meet the configured eligibility requirements for a subscription offer.