BillingResult.Builder

public static class BillingResult.Builder
extends Object

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


Helps to construct BillingResult that are used to return response from IAB api.

Summary

Public methods

BillingResult build()

Returns BillingResult reference.

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

Inherited methods

From class java.lang.Object

Public methods

build

BillingResult build ()

Returns BillingResult reference.

Returns
BillingResult

setDebugMessage

BillingResult.Builder setDebugMessage (String debugMessage)

Parameters
debugMessage String

Returns
BillingResult.Builder

setResponseCode

BillingResult.Builder setResponseCode (int responseCode)

Parameters
responseCode int

Returns
BillingResult.Builder