QueryProductDetailsParams.Product.Builder

public class QueryProductDetailsParams.Product.Builder


Builder that helps construct Product.

Summary

Public methods

QueryProductDetailsParams.Product

Returns the Product instance.

QueryProductDetailsParams.Product.Builder
setDynamicProductToken(String dynamicProductToken)

Set the dynamicProductToken if the product is a dynamic product.

QueryProductDetailsParams.Product.Builder
setProductId(String productId)

Sets the product id of the product.

QueryProductDetailsParams.Product.Builder
setProductType(String productType)

Sets the ProductType of the product.

Public methods

build

public QueryProductDetailsParams.Product build()

Returns the Product instance.

setDynamicProductToken

public QueryProductDetailsParams.Product.Builder setDynamicProductToken(String dynamicProductToken)

Set the dynamicProductToken if the product is a dynamic product.

setProductId

public QueryProductDetailsParams.Product.Builder setProductId(String productId)

Sets the product id of the product.

setProductType

public QueryProductDetailsParams.Product.Builder setProductType(String productType)

Sets the ProductType of the product.