EnableBillingProgramParams

public final class EnableBillingProgramParams


Params to enable a billing program.

See BillingClient.Builder#enableBillingProgram(EnableBillingProgramParams)

Summary

Nested types

Builder for EnableBillingProgramParams.

Public methods

int

The billing program to enable.

DeveloperProvidedBillingListener

The listener for receiving callbacks when the end-user selects the developer-provided billing option.

static EnableBillingProgramParams.Builder

Creates a new Builder instance.

Public methods

getBillingProgram

public int getBillingProgram()

The billing program to enable.

getDeveloperProvidedBillingListener

public DeveloperProvidedBillingListener getDeveloperProvidedBillingListener()

The listener for receiving callbacks when the end-user selects the developer-provided billing option.

newBuilder

public static EnableBillingProgramParams.Builder newBuilder()

Creates a new Builder instance.