Skip to main content

BillingFlowParams.ProductDetailsParams.Builder (Android SDK)

Builder class used to construct the BillingFlowParams.ProductDetailsParams.


Public Methods​

build​

BillingFlowParams.ProductDetailsParams build()

Creates the BillingFlowParams.ProductDetailsParams.

Returns​

BillingFlowParams.ProductDetailsParams reference with the values injected in the Builder to define the ProductDetailsParams.


setProductDetails​

BillingFlowParams.ProductDetailsParams.Builder setProductDetails(ProductDetails productDetails)

Defines the productDetails.

❗️
Important

This value is required to initiate a Billing Flow.

Parameters​

NameTypeDescription
productDetailsProductDetailsThe ProductDetails generated from the queryProductDetailsAsync method to start the Billing Flow for.

Returns​

BillingFlowParams.ProductDetailsParams.Builder reference of the Builder.