GetBillingChoiceInfoParams.Builder

public final class GetBillingChoiceInfoParams.Builder


Builder for GetBillingChoiceInfoParams.

Summary

Public methods

GetBillingChoiceInfoParams

Builds the GetBillingChoiceInfoParams.

GetBillingChoiceInfoParams.Builder
setBillingProgram(int billingProgram)

Sets the billing program that the user will be presented with.

GetBillingChoiceInfoParams.Builder

Sets the layout of Play Billing choice image that the user will be presented with.

GetBillingChoiceInfoParams.Builder

Sets the user locale.

Public methods

setBillingProgram

public GetBillingChoiceInfoParams.Builder setBillingProgram(int billingProgram)

Sets the billing program that the user will be presented with.

setPlayBillingChoiceImageLayout

public GetBillingChoiceInfoParams.Builder setPlayBillingChoiceImageLayout(String layout)

Sets the layout of Play Billing choice image that the user will be presented with.

setUserLocale

public GetBillingChoiceInfoParams.Builder setUserLocale(Locale locale)

Sets the user locale. If not specified, the BillingClient.getBillingChoiceInfoAsync API will use the user's default locale.