# 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](https://onestore-dev.gitbook.io/dev/eng/tools/billing/v21/references/classes/purchaseclient)(ProductDetailsParams, [ProductDetailsListener](https://onestore-dev.gitbook.io/dev/eng/tools/billing/v21/references/interfaces/productdetailslistener))

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

***

| **Nested classes** |                                                                                                                                                       |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| class              | <p><a href="productdetailsparams.builder">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](https://onestore-dev.gitbook.io/dev/eng/tools/billing/v21/references/classes/purchaseclient) |

### 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](https://onestore-dev.gitbook.io/dev/eng/tools/billing/v21/references/classes/productdetailsparams.builder) | <p><br></p> |
