> For the complete documentation index, see [llms.txt](https://onestore-dev.gitbook.io/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onestore-dev.gitbook.io/dev/tools/billing/v21/references/annotations/purchaseflowparams.prorationmode.md).

# PurchaseFlowParams.ProrationMode

```
public static @interface PurchaseFlowParams.ProrationMode
```

```
com.gaa.sdk.iap.PurchaseFlowParams.ProrationMode
```

정기 결제의 업그레이드 또는 다운그레이드를 위한 비례 배분 모드 입니다.

## Constants <a href="#id-a-purchaseflowparams.prorationmode-constants" id="id-a-purchaseflowparams.prorationmode-constants"></a>

***

### UNKNOWN\_SUBSCRIPTION\_UPGRADE\_DOWNGRADE\_POLICY <a href="#id-a-purchaseflowparams.prorationmode-unknown_subscription_upgrade_downgrade_policy" id="id-a-purchaseflowparams.prorationmode-unknown_subscription_upgrade_downgrade_policy"></a>

```
int UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY
```

명시되지 않은 상태값

Constant Value: 0

### IMMEDIATE\_WITH\_TIME\_PRORATION <a href="#id-a-purchaseflowparams.prorationmode-immediate_with_time_proration" id="id-a-purchaseflowparams.prorationmode-immediate_with_time_proration"></a>

```
int IMMEDIATE_WITH_TIME_PRORATION
```

교체가 즉시 적용되며, 새로운 만료 시간은 비례 배분되어 사용자에게 입금되거나 청구됩니다. (default)

Constant Value: 1

### IMMEDIATE\_AND\_CHARGE\_PRORATED\_PRICE <a href="#id-a-purchaseflowparams.prorationmode-immediate_and_charge_prorated_price" id="id-a-purchaseflowparams.prorationmode-immediate_and_charge_prorated_price"></a>

```
int IMMEDIATE_AND_CHARGE_PRORATED_PRICE
```

교체가 즉시 적용되며 청구 주기는 동일하게 유지됩니다. 나머지 기간에 대한 가격이 청구됩니다.

Constant Value: 2

### IMMEDIATE\_WITHOUT\_PRORATION <a href="#id-a-purchaseflowparams.prorationmode-immediate_without_proration" id="id-a-purchaseflowparams.prorationmode-immediate_without_proration"></a>

```
int IMMEDIATE_WITHOUT_PRORATION
```

교체가 즉시 적용되며 다음 결제일에 새로운 가격이 청구됩니다. 청구 주기는 동일하게 유지됩니다.

Constant Value: 3

### DEFERRED <a href="#id-a-purchaseflowparams.prorationmode-deferred" id="id-a-purchaseflowparams.prorationmode-deferred"></a>

```
int DEFERRED
```

기존 요금제가 만료되면 교체가 적용되며 새 요금이 동시에 청구됩니다.

Constant Value: 4


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://onestore-dev.gitbook.io/dev/tools/billing/v21/references/annotations/purchaseflowparams.prorationmode.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
