Stay organized with collections Save and categorize content based on your preferences.

QueryProductDetailsParams.Product.Builder

public static class QueryProductDetailsParams.Product.Builder
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.QueryProductDetailsParams.Product.Builder
Included in documentation by the annotations: @Annotations.ProductDetails

Builder that helps construct QueryProductDetailsParams.Product.

Summary

Public methods

QueryProductDetailsParams.Product build()

Returns the QueryProductDetailsParams.Product instance. Included in documentation by the annotations: @Annotations.ProductDetails

QueryProductDetailsParams.Product.Builder setProductId(String productId)

Sets the product id of the product. Included in documentation by the annotations: @Annotations.ProductDetails

QueryProductDetailsParams.Product.Builder setProductType(String productType)

Sets the BillingClient.ProductType of the product. Included in documentation by the annotations: @Annotations.ProductDetails

Inherited methods

Public methods

build

public QueryProductDetailsParams.Product build ()
Included in documentation by the annotations: @Annotations.ProductDetails

Returns the QueryProductDetailsParams.Product instance.

Returns
QueryProductDetailsParams.Product

setProductId

public QueryProductDetailsParams.Product.Builder setProductId (String productId)
Included in documentation by the annotations: @Annotations.ProductDetails

Sets the product id of the product.

Parameters
productId String

Returns
QueryProductDetailsParams.Product.Builder

setProductType

public QueryProductDetailsParams.Product.Builder setProductType (String productType)
Included in documentation by the annotations: @Annotations.ProductDetails

Sets the BillingClient.ProductType of the product.

Parameters
productType String

Returns
QueryProductDetailsParams.Product.Builder