# ProductDetail

public class ProductDetail extends Object\
java.lang.Object    ↳ com.gaa.sdk.iap.ProductDetail

\
Indicates the purchase data of in-app purchases.

\
Summary <a href="#id-en-productdetail-summary" id="id-en-productdetail-summary"></a>
------------------------------------------------------------------------------------

***

| **Public constructors**                 |
| --------------------------------------- |
| ProductDetail(String jsonProductDetail) |

## Public methods <a href="#id-en-productdetail-publicmethods" id="id-en-productdetail-publicmethods"></a>

***

### getOriginalJson <a href="#id-en-productdetail-getoriginaljson" id="id-en-productdetail-getoriginaljson"></a>

String getOriginalJson()\
Restores JSON formatted string which includes product details of in-app products.

| **Returns:** |             |
| ------------ | ----------- |
| String       | <p><br></p> |

### getProductId <a href="#id-en-productdetail-getproductid" id="id-en-productdetail-getproductid"></a>

String getProductId()\
Restores the ID of purchased in-app products.

| **Returns:** |             |
| ------------ | ----------- |
| String       | <p><br></p> |

### getType <a href="#id-en-productdetail-gettype" id="id-en-productdetail-gettype"></a>

String getType()\
Restores the type of in-app products.

| **Returns:** |                                                                                                                           |
| ------------ | ------------------------------------------------------------------------------------------------------------------------- |
| String       | [PurchaseClient.ProductType](https://onestore-dev.gitbook.io/dev/eng/tools/billing/v21/references/classes/purchaseclient) |

### getPrice <a href="#id-en-productdetail-getprice" id="id-en-productdetail-getprice"></a>

String getPrice()\
Restores the price of in-app products.

| **Returns:** |             |
| ------------ | ----------- |
| String       | <p><br></p> |

### getPriceCurrencyCode <a href="#id-en-productdetail-getpricecurrencycode" id="id-en-productdetail-getpricecurrencycode"></a>

String getPriceCurrencyCode()\
Restores ISO 4217 CurrencyCode of the Price.

| **Returns:** |             |
| ------------ | ----------- |
| String       | <p><br></p> |

### getPriceAmountMicros <a href="#id-en-productdetail-getpriceamountmicros" id="id-en-productdetail-getpriceamountmicros"></a>

String getPriceAmountMicros()\
Restores the price to the unit in Micros. 1,000,000 Micros units are equal to one unit of currency.

| **Returns:** |             |
| ------------ | ----------- |
| String       | <p><br></p> |

### getTitle <a href="#id-en-productdetail-gettitle" id="id-en-productdetail-gettitle"></a>

String getTitle()\
Restores the name of in-app products.

| **Returns:** |             |
| ------------ | ----------- |
| String       | <p><br></p> |
