QueryProductDetailsParams.Product.Builder
com.appcoins.sdk.billing.QueryProductDetailsParams.Product.Builder
Builder class used to construct the QueryProductDetailsParams.Product.
Public Methods
build
QueryProductDetailsParams.Product build()
Creates the QueryProductDetailsParams.Product.
Returns
QueryProductDetailsParams.Product reference with the values injected in the Builder to define the Product.
setProductId
QueryProductDetailsParams.Product.Builder setProductId(String productId)
Defines the productId
of the Product.
Important
This value is required to initialize the Product and query for Product details.
Parameters
Name | Type | Description |
---|---|---|
productId | String | The productId of the Product to be queried for details. |
Returns
QueryProductDetailsParams.Product.Builder reference of the Builder.
setProductType
QueryProductDetailsParams.Product.Builder setProductType(String productType)
Defines the productType
of the Product.
Important
This value is required to initialize the Product and query for Product details.
Parameters
Name | Type | Description |
---|---|---|
productType | String | The productType of the Product to be queried for details. |
Returns
QueryProductDetailsParams.Product.Builder reference of the Builder.
Updated 2 days ago