[EN]IapResult

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

An object that includes the In-app Purchase API response code and message.

Summary


Public methods


getResponseCode

int getResponseCode() It restores the In-app Purchase API Response Code.

getMessage

String getMessage() Restores the In-app Purchase API Response Message.

isSuccess

boolean isSuccess() Indicates whether In-app Purchase API Response Code is successful (PurchaseClient.ResponseCode.RESULT_OK).

isFailure

boolean isFailure() Indicates whether In-app Purchase API ResponseCode has failed.

newBuilder

IapResult.Builder newBuilder() Generates the builder to create a lapResult instance.

Last updated