# SubscriptionParams

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

\
A parameter to move to the detailed management page of subscribed products.

\
**See Also:**

[PurchaseClient.launchManageSubscription](/dev/eng/tools/billing/v21/references/classes/purchaseclient.md)(Activity activity, SubscriptionParams[\[EN\]SubscriptionParams](/dev/eng/tools/billing/v21/references/classes/subscriptionparams.md)subscriptionParams)

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

***

| **Nested classes** |                                                                                                                                                                                                                                                                                           |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| class              | [SubscriptionParams.Builder](/dev/eng/tools/billing/v21/references/classes/subscriptionparams.builder.md)[\[EN\]SubscriptionParams.Builder](/dev/eng/tools/billing/v21/references/classes/subscriptionparams.builder.md)A builder that helps create a SubscriptionParams instance easily. |

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

***

### getPurchaseData <a href="#id-en-subscriptionparams-getpurchasedata" id="id-en-subscriptionparams-getpurchasedata"></a>

PurchaseData[ ](https://dev.onestore.co.kr/wiki/en/doc/en-purchasedata-38077505.html)getPurchaseData()\
Restores the purchase data of in-app products.

| **Returns:**                                                                  |             |
| ----------------------------------------------------------------------------- | ----------- |
| [PurchaseData](/dev/eng/tools/billing/v21/references/classes/purchasedata.md) | <p><br></p> |

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

SubscriptionParams.Builder newBuilder()\
Generates the builder to create a SubscriptionParams instance.

| **Returns:**                                                                                              |             |
| --------------------------------------------------------------------------------------------------------- | ----------- |
| [SubscriptionParams.Builder](/dev/eng/tools/billing/v21/references/classes/subscriptionparams.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/eng/tools/billing/v21/references/classes/subscriptionparams.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.
