# google::play::billing::ProductOffer


`#include <billing/models.h>`

Offer details for a product.

## Summary

| ### Public attributes ||
|---|---|
| `https://developer.android.com/games/playgames/native-pc/reference/struct/google/play/billing/product-offer#structgoogle_1_1play_1_1billing_1_1_product_offer_1aaf2ad8929733d20c372a21ad63c2587d` | `std::string` The ISO 4217 currency code of the price. |
| `https://developer.android.com/games/playgames/native-pc/reference/struct/google/play/billing/product-offer#structgoogle_1_1play_1_1billing_1_1_product_offer_1a9249dd16f1a4ab7190bcb86f39e82aaf` | `std::string` The formatted price for of the offer, including its currency sign. |
| `https://developer.android.com/games/playgames/native-pc/reference/struct/google/play/billing/product-offer#structgoogle_1_1play_1_1billing_1_1_product_offer_1a24fb40fce4c02e677b3ad8f1344a8da6` | `std::string` Unique token representing the product offer. |
| `https://developer.android.com/games/playgames/native-pc/reference/struct/google/play/billing/product-offer#structgoogle_1_1play_1_1billing_1_1_product_offer_1aaca3e936eb6adeaa9b95a66590dd26fb` | `int64_t` Cost in the [currency_code](https://developer.android.com/games/playgames/native-pc/reference/struct/google/play/billing/product-offer#structgoogle_1_1play_1_1billing_1_1_product_offer_1aaf2ad8929733d20c372a21ad63c2587d). |

## Public attributes

### currency_code

```
std::string google::play::billing::ProductOffer::currency_code
```
The ISO 4217 currency code of the price.

### formatted_price

```
std::string google::play::billing::ProductOffer::formatted_price
```
The formatted price for of the offer, including its currency sign.

### offer_token

```
std::string google::play::billing::ProductOffer::offer_token
```
Unique token representing the product offer.

### price_micros

```
int64_t google::play::billing::ProductOffer::price_micros
```
Cost in the [currency_code](https://developer.android.com/games/playgames/native-pc/reference/struct/google/play/billing/product-offer#structgoogle_1_1play_1_1billing_1_1_product_offer_1aaf2ad8929733d20c372a21ad63c2587d).

Price is provided in micro-units, where 1,000,000 micro-units equal one unit of the currency.