IapResult

public final class IapResult extends Object
java.lang.Object
    ↳ com.gaa.sdk.iap.IapResult

It is an object with the code and message of in-app purchase API responses included.

Summary


Public methods


getResponseCode

int getResponseCode()

It returns in-app purchase API response codes.

getMessage

String getMessage()

It returns the message of in-app purchase API responses.

isSuccess

boolean isSuccess()

It shows whether in-app purchase API response codes are a success (PurchaseClient.ResponseCode.RESULT_OK).

isFailure

boolean isFailure()

It shows whether in-app purchase API response codes fail.

newBuilder

 newBuilder()

It generates a builder for creating the IapResult instances.

Last updated