-
- All Implemented Interfaces:
-
dev.hyo.openiap.VerifyPurchaseResult
public final class VerifyPurchaseResultHorizon implements VerifyPurchaseResult
Result from Meta Horizon verify_entitlement API. Returns verification status and grant time for the entitlement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVerifyPurchaseResultHorizon.Companion
-
Constructor Summary
Constructors Constructor Description VerifyPurchaseResultHorizon(Double grantTime, Boolean success)
-
Method Summary
Modifier and Type Method Description final DoublegetGrantTime()Unix timestamp (seconds) when the entitlement was granted. final BooleangetSuccess()Whether the entitlement verification succeeded. Map<String, Object>toJson()-
-
Method Detail
-
getGrantTime
final Double getGrantTime()
Unix timestamp (seconds) when the entitlement was granted.
-
getSuccess
final Boolean getSuccess()
Whether the entitlement verification succeeded.
-
-
-
-