-
- All Implemented Interfaces:
-
java.io.Serializable
public class OpenIapError.QueryProduct.Companion extends OpenIapError.QueryProduct
-
-
Field Summary
Fields Modifier and Type Field Description private final StringCODEprivate final StringMESSAGEprivate final Stringcodeprivate final Stringmessageprivate final IntegerresponseCodeprivate final StringdebugMessageprivate final List<String>productIdsprivate final StringproductTypeprivate final BooleanisEmptyProductListprivate SubResponseCodeAndroidsubResponseCodeprivate final Throwablecausepublic final static OpenIapError.QueryProduct.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final OpenIapError.QueryProductwithDiagnostics(Integer responseCode, String debugMessage, List<String> productIds, String productType, Boolean isEmptyProductList)final StringgetCODE()final StringgetMESSAGE()StringgetCode()StringgetMessage()final IntegergetResponseCode()StringgetDebugMessage()Optional raw debug message surfaced from the underlying billing layer (e.g. final List<String>getProductIds()final StringgetProductType()final BooleangetIsEmptyProductList()final SubResponseCodeAndroidgetSubResponseCode()final UnitsetSubResponseCode(SubResponseCodeAndroid subResponseCode)ThrowablegetCause()-
Methods inherited from class dev.hyo.openiap.OpenIapError.QueryProduct.Companion
toJSON -
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withDiagnostics
final OpenIapError.QueryProduct withDiagnostics(Integer responseCode, String debugMessage, List<String> productIds, String productType, Boolean isEmptyProductList)
-
getMESSAGE
final String getMESSAGE()
-
getMessage
String getMessage()
-
getResponseCode
final Integer getResponseCode()
-
getDebugMessage
String getDebugMessage()
Optional raw debug message surfaced from the underlying billing layer (e.g. Google Play's
BillingResult.debugMessage). Subclasses that carry per-call diagnostics should override this so callers can see the exact argument the store rejected.
-
getProductIds
final List<String> getProductIds()
-
getProductType
final String getProductType()
-
getIsEmptyProductList
final Boolean getIsEmptyProductList()
-
getSubResponseCode
final SubResponseCodeAndroid getSubResponseCode()
-
setSubResponseCode
final Unit setSubResponseCode(SubResponseCodeAndroid subResponseCode)
-
-
-
-