# UnfetchedProduct.StatusCode


```
@Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
public annotation UnfetchedProduct.StatusCode
```

<br />

*** ** * ** ***

Possible Status codes.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/com/android/billingclient/api/UnfetchedProduct.StatusCode#INVALID_PRODUCT_ID_FORMAT() = 2` Invalid product id format. |
| `static final int` | `https://developer.android.com/reference/com/android/billingclient/api/UnfetchedProduct.StatusCode#NO_ELIGIBLE_OFFER() = 4` Product is found but no eligible offer is found. |
| `static final int` | `https://developer.android.com/reference/com/android/billingclient/api/UnfetchedProduct.StatusCode#PRODUCT_NOT_FOUND() = 3` Product is not found. |
| `static final int` | `https://developer.android.com/reference/com/android/billingclient/api/UnfetchedProduct.StatusCode#UNKNOWN() = 0` Unknown status code. |

## Constants

### INVALID_PRODUCT_ID_FORMAT

```
public static final int INVALID_PRODUCT_ID_FORMAT = 2
```

Invalid product id format.

For subscription product id format, please refer to https://support.google.com/googleplay/android-developer/answer/140504#zippy=%2Ccreate-a-new-subscription

For one time product product id format, please refer to https://support.google.com/googleplay/android-developer/answer/1153481#zippy=%2Ccreate-a-single-in-app-product

### NO_ELIGIBLE_OFFER

```
public static final int NO_ELIGIBLE_OFFER = 4
```

Product is found but no eligible offer is found.

Examples where this status code may occur:

- For subscription, no base plan is available.
- For one time product, no purchase option is available.

### PRODUCT_NOT_FOUND

```
public static final int PRODUCT_NOT_FOUND = 3
```

Product is not found.

Examples where this status code may occur:

- The product has been deleted or never been created.
- The product type is incorrect.
- The product is just created but not fully propagated yet. Please try again later.

### UNKNOWN

```
public static final int UNKNOWN = 0
```

Unknown status code.