BillingResult.Builder

public class BillingResult.Builder 


Helps to construct BillingResult that are used to return response from In-app Billing API.

Summary

Public methods

BillingResult

Returns BillingResult reference.

BillingResult.Builder
setDebugMessage(String debugMessage)
BillingResult.Builder
setOnPurchasesUpdatedSubResponseCode(
int onPurchasesUpdatedSubResponseCode
)
BillingResult.Builder
setResponseCode(int responseCode)

Public methods

build

public BillingResult build()

Returns BillingResult reference.

setDebugMessage

public BillingResult.Builder setDebugMessage(String debugMessage)

setOnPurchasesUpdatedSubResponseCode

public BillingResult.Builder setOnPurchasesUpdatedSubResponseCode(
int onPurchasesUpdatedSubResponseCode
)

setResponseCode

public BillingResult.Builder setResponseCode(int responseCode)

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月30日 UTC.