# ProductDetailsParams

`public class ProductDetailsParams extends Object`\
`java.lang.Object`     \
&#x20;    `↳ com.gaa.sdk.iap.ProductDetailsParams`\
&#x20;\
请求In-App商品详细信息的参数。\
**See Also:**\
[PurchaseClient](/dev/chi/tools/billing/v21/references/classes/purchaseclient.md).queryProductDetailsAsync(ProductDetailsParams, [ProductDetailsListener](/dev/chi/tools/billing/v21/references/interfaces/productdetailslistener.md))

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

***

| **Nested classes** | <p><br></p>                                                                                                                      |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
| class              | <p><a href="/pages/o58Q7tvkgl67Xz0WthXq">ProductDetailsParams.Builder</a><br>用于轻松生成ProductDetailsParams实例（instance）的builder。</p> |

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

***

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

`List<String> getProductIdList()`

返回In-App商品的ID列表。

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

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

`String getProductType()`

返回In-App商品的ID列表类型。

| **Returns:** | <p><br></p>                                                                                                   |
| ------------ | ------------------------------------------------------------------------------------------------------------- |
| String       | [PurchaseClient.ProductType](/dev/chi/tools/billing/v21/references/annotations/purchaseclient.producttype.md) |

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

[`ProductDetailsParams.Builder`](/dev/chi/tools/billing/v21/references/classes/productdetailsparams.builder.md) `newBuilder()`

用于生成创建ProductDetailsParams实例（instance）的builder。

| **Returns:**                                                                                                  | <p><br></p> |
| ------------------------------------------------------------------------------------------------------------- | ----------- |
| [ProductDetailsParams.Builder](/dev/chi/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/chi/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.
