Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

SkuDetailsParams.Builder

public static class SkuDetailsParams.Builder
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.SkuDetailsParams.Builder


Helps to construct SkuDetailsParams that are used to query for SKU details.

Summary

Public methods

SkuDetailsParams build()

Returns SkuDetailsParams reference to initiate a purchase flow.

SkuDetailsParams.Builder setSkusList(List<String> skusList)

Specifies the SKUs that are queried for as published in the Google Developer console.

SkuDetailsParams.Builder setType(String type)

Specifies the BillingClient.SkuType of SKUs to query.

Inherited methods

From class java.lang.Object

Public methods

build

SkuDetailsParams build ()

Returns SkuDetailsParams reference to initiate a purchase flow.

Returns
SkuDetailsParams

setSkusList

SkuDetailsParams.Builder setSkusList (List<String> skusList)

Specifies the SKUs that are queried for as published in the Google Developer console.

Mandatory:

  • To query for SKU details

Parameters
skusList List

Returns
SkuDetailsParams.Builder

setType

SkuDetailsParams.Builder setType (String type)

Specifies the BillingClient.SkuType of SKUs to query.

Mandatory:

  • To query for SKU details

Parameters
type String

Returns
SkuDetailsParams.Builder