# ProductDetail

```
public class ProductDetail extends Object
```

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

인앱결제에 대한 구매 데이터를 나타냅니다.

## Summary <a href="#id-c-productdetail-summary" id="id-c-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="#id-c-productdetail-publicmethods" id="id-c-productdetail-publicmethods"></a>

***

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

```
String getOriginalJson()
```

인앱 상품의 세부 정보가 포함된 JSON 형식의 문자열을 반환 합니다.

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

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

```
String getProductId()
```

구매한 인앱상품의 아이디를 반환합니다.

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

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

```
String getType()
```

인앱 상품의 타입을 반환합니다.

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

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

```
String getPrice()
```

인앱 상품의 가격을 반환합니다.

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

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

```
String getPriceCurrencyCode()
```

가격에 대한 ISO 4217 통화 코드를 반환합니다.

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

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

```
String getPriceAmountMicros()
```

가격을 마이크로 단위로 반환합니다. 1,000,000 마이크로 단위는 통화의 한 단위와 같습니다.

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

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

```
String getTitle()
```

인앱 상품의 이름을 반환합니다.

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