DeveloperBillingOptionParams.Builder

public final class DeveloperBillingOptionParams.Builder


Helps construct DeveloperBillingOptionParams that are used to initialize the developer-provided billing option.

Summary

Public methods

DeveloperBillingOptionParams

Returns DeveloperBillingOptionParams.

DeveloperBillingOptionParams.Builder
setBillingProgram(int billingProgram)

Sets the billing program.

DeveloperBillingOptionParams.Builder
setLaunchMode(int launchMode)

Sets the developer billing option launch mode.

DeveloperBillingOptionParams.Builder
setLinkUri(Uri linkUri)

The URI where the digital content will be accessed from.

Public methods

setBillingProgram

public DeveloperBillingOptionParams.Builder setBillingProgram(int billingProgram)

Sets the billing program. Required.

Parameters
int billingProgram

The billing program being used.

setLaunchMode

public DeveloperBillingOptionParams.Builder setLaunchMode(int launchMode)

Sets the developer billing option launch mode. Only required for billing programs which link the user outside of the app.

Parameters
int launchMode

The launch mode.

setLinkUri

public DeveloperBillingOptionParams.Builder setLinkUri(Uri linkUri)

The URI where the digital content will be accessed from. Only required for billing programs which link the user outside of the app.