# PurchaseFlowParams

```
public class PurchaseFlowParams extends Object
```

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

<br>

인앱 상품 구매를 하기 위한 파라미터 입니다.

**See Also:**

```
(Activity, )
```

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

***

| Nested classes |                                                                                                                              |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| class          | <p><a href="/pages/nQ4anZl9BgztcG9UNRQv">PurchaseFlowParams.Builder</a></p><p>PurchaseFlowParams의 인스턴스를 쉽게 만들기 위한 빌더입니다.</p> |

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

***

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

```
String getProductId()
```

구매할 인앱 상품의 아이디 입니다.<br>

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

### getProductType <a href="#purchaseflowparams-getproducttype" id="purchaseflowparams-getproducttype"></a>

```
String getProductType()
```

구매할 인앱 상품의 타입 입니다.<br>

| **Returns:** |                                                                                                                        |
| ------------ | ---------------------------------------------------------------------------------------------------------------------- |
| String       | [PurchaseClient.ProductType](/dev/tools/billing/old-version/v19/undefined-3/annotations/purchaseclient.producttype.md) |

### getProductName <a href="#purchaseflowparams-getproductname" id="purchaseflowparams-getproductname"></a>

```
String getProductName()
```

등록된 상품의 이름이 아닌 구매 당시의 노출될 상품의 이름 입니다. null일 경우 등록된 상품명이 구매페이지에서 등록된 상품명이 노출됩니다.

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

### getGameUserId <a href="#purchaseflowparams-getgameuserid" id="purchaseflowparams-getgameuserid"></a>

```
String getGameUserId()
```

개발사에서 확인 가능한 사용자의 아이디 입니다.<br>

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

### isPromotionApplicable <a href="#purchaseflowparams-ispromotionapplicable" id="purchaseflowparams-ispromotionapplicable"></a>

```
boolean isPromotionApplicable()
```

프로모션 가능 여부를 나타냅니다.<br>

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

### getDeveloperPayload <a href="#purchaseflowparams-getdeveloperpayload" id="purchaseflowparams-getdeveloperpayload"></a>

```
String getDeveloperPayload()
```

개발사에서 지정한 페이로드를 반환합니다.

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

### newBuilder <a href="#purchaseflowparams-newbuilder" id="purchaseflowparams-newbuilder"></a>

```
 newBuilder()
```

PurchaseFlowParams의 인스턴스를 만들기 위한 빌더를 생성합니다.

| **Returns:**                                                                                                       |             |
| ------------------------------------------------------------------------------------------------------------------ | ----------- |
| [PurchaseFlowParams.Builder](/dev/tools/billing/old-version/v19/undefined-3/classes/purchaseflowparams.builder.md) | <p><br></p> |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://onestore-dev.gitbook.io/dev/tools/billing/old-version/v19/undefined-3/classes/purchaseflowparams.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
