# ProductDetailsParams

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

\
A parameter to request the in-app product details.

\
**See Also:**<br>

[PurchaseClient.queryProductDetailsAsync](/dev/eng/tools/billing/v21/references/classes/purchaseclient.md)(ProductDetailsParams, [ProductDetailsListener](/dev/eng/tools/billing/v21/references/interfaces/productdetailslistener.md))

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

***

| **Nested classes** |                                                                                                                                                      |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| class              | <p><a href="/pages/o58Q7tvkgl67Xz0WthXq">ProductDetailsParams.Builder<br></a>A builder that helps create a ProductDetailsParams instance easily.</p> |

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

***

### getProductIdList <a href="#id-en-productdetailsparams-getproductidlist" id="id-en-productdetailsparams-getproductidlist"></a>

List\<String> getProductIdList()\
Restores the ID list of in-app products.

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

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

String getProductType()\
Restores the type of in-app products' ID list

| **Returns:** |                                                                                               |
| ------------ | --------------------------------------------------------------------------------------------- |
| String       | [PurchaseClient.ProductType](/dev/eng/tools/billing/v21/references/classes/purchaseclient.md) |

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

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

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