# ProductDetail

```
public class ProductDetail extends Object
```

```
java.lang.Object
    ↳ com.gaa.sdk.iap.ProductDetail
```

<br>

It shows the purchase data of in-app purchases (IAP).

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

***

<table><thead><tr><th>Public constructors</th></tr></thead><tbody><tr><td><pre><code>ProductDetail(String jsonProductDetail)
</code></pre></td></tr></tbody></table>

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

***

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

```
String getOriginalJson()
```

It returns a string in json format with in-app product details included.

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

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

```
String getProductId()
```

It returns the ID of purchased in-app product.

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

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

```
String getType()
```

It returns the type of in-app product.<br>

| **Returns:** |                                                                                                              |
| ------------ | ------------------------------------------------------------------------------------------------------------ |
| String       | [PurchaseClient.ProductType](https://dev.onestore.co.kr/wiki/en/doc/purchaseclient-producttype-5833452.html) |

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

```
String getPrice()
```

It returns the price of in-app product.<br>

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

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

```
String getPriceCurrencyCode()
```

It returns the ISO 4217 currency code for price.<br>

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

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

```
String getPriceAmountMicros()
```

It returns the price in micro units. 1,000,000 micro-units equal one unit of the currency.<br>

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

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

```
String getTitle()
```

It returns the name of in-app product.<br>

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