# ProductDetailsParams.Builder

## ProductDetailsParams.Builder <a href="#id-cn-productdetailsparams.builder-productdetailsparams.builder" id="id-cn-productdetailsparams.builder-productdetailsparams.builder"></a>

`public final class ProductDetailsParams.Builder extends Object`\
`java.lang.Object`     \
&#x20;    `↳ com.gaa.sdk.iap.ProductDetailsParams.Builder`\
&#x20;\
是易于生成[ProductDetailsParams](productdetailsparams)实例（instance）的builder。

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

***

### setProductIdList <a href="#id-cn-productdetailsparams.builder-setproductidlist" id="id-cn-productdetailsparams.builder-setproductidlist"></a>

`ProductDetailsParams.Builder setProductIdList(List<String> productIdList)`

| **Parameters:**              | <p><br></p>  |
| ---------------------------- | ------------ |
| productIdList                | In-App商品ID列表 |
| **Returns:**                 | <p><br></p>  |
| ProductDetailsParams.Builder | <p><br></p>  |

### setProductType <a href="#id-cn-productdetailsparams.builder-setproducttype" id="id-cn-productdetailsparams.builder-setproducttype"></a>

`ProductDetailsParams.Builder setProductType(String productType)`

| **Parameters:**              | <p><br></p>                                                                                                |
| ---------------------------- | ---------------------------------------------------------------------------------------------------------- |
| productType                  | <p>In-App商品的商品类型<br><a href="../annotations/purchaseclient.producttype">PurchaseClient.ProductType</a></p> |
| **Returns:**                 | <p><br></p>                                                                                                |
| ProductDetailsParams.Builder | <p><br></p>                                                                                                |

### build <a href="#id-cn-productdetailsparams.builder-build" id="id-cn-productdetailsparams.builder-build"></a>

[`ProductDetailsParams`](productdetailsparams) `build()`

生成ProductDetailsParams的实例（instance）。

| **Returns:**                                 | <p><br></p> |
| -------------------------------------------- | ----------- |
| [ProductDetailsParams](productdetailsparams) | <p><br></p> |
