# Google.Play.Billing

## Summary

| ### Enumerations ||
|---|---|
| `https://developer.android.com/reference/unity/namespace/Google/Play/Billing#namespaceGoogle_1_1Play_1_1Billing_1af16226882fa9b632b26591c682f3900f{ https://developer.android.com/reference/unity/namespace/Google/Play/Billing#namespaceGoogle_1_1Play_1_1Billing_1af16226882fa9b632b26591c682f3900fa639f68e5a266b0bcd426f0062ec11cee = 1, https://developer.android.com/reference/unity/namespace/Google/Play/Billing#namespaceGoogle_1_1Play_1_1Billing_1af16226882fa9b632b26591c682f3900faff0175e4727bd2057a8ddc8b86a78ba1 = 2, https://developer.android.com/reference/unity/namespace/Google/Play/Billing#namespaceGoogle_1_1Play_1_1Billing_1af16226882fa9b632b26591c682f3900fa4f03e451c2e6f9cc7f3cd0f352e0d023 = 3 }` | enumProration modes during SKU replacement supported by [Google](https://developer.android.com/reference/unity/namespace/Google#namespaceGoogle)[Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play). |

| ### Classes ||
|---|---|
| [Google.Play.Billing.GooglePlayStoreUnsupportedException](https://developer.android.com/reference/unity/class/Google/Play/Billing/GooglePlayStoreUnsupportedException) | Thrown if the request is not supported by [Google](https://developer.android.com/reference/unity/namespace/Google#namespaceGoogle)[Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play)[Billing](https://developer.android.com/reference/unity/namespace/Google/Play/Billing#namespaceGoogle_1_1Play_1_1Billing) plugin. |

| ### Namespaces ||
|---|---|
| [Google.Play.Billing.Editor](https://developer.android.com/reference/unity/namespace/Google/Play/Billing/Editor) |   |

## Enumerations

### GooglePlayStoreProrationMode

```c#
 GooglePlayStoreProrationMode
```
Proration modes during SKU replacement supported by [Google](https://developer.android.com/reference/unity/namespace/Google#namespaceGoogle)[Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play).

Please refer to <https://developer.android.com/google/play/billing/subs#change> for instructions and examples.

Reserved enum: 4. Note that the Deferred mode is not supported here because it is not compatible with the Unity IAP. More details can be found at: <https://issuetracker.google.com/168990998>.

| Properties ||
|---|---|
| `ImmediateAndChargeProratedPrice` | Replacement takes effect immediately, and the billing cycle remains the same. The price for the remaining period will be charged. This option is only available for subscription upgrade. |
| `ImmediateWithTimeProration` | Replacement takes effect immediately, and the remaining time will be prorated and credited to the user. This is the current default behavior. |
| `ImmediateWithoutProration` | Replacement takes effect immediately, and the new price will be charged on next recurrence time. The billing cycle stays the same. |