Package com.adapty.models
Class AdaptyProfile.NonSubscription
-
- All Implemented Interfaces:
public final class AdaptyProfile.NonSubscription
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisOneTimeprivate final StringpurchaseIdprivate final StringvendorProductIdprivate final StringvendorTransactionIdprivate final Stringstoreprivate final StringpurchasedAtprivate final BooleanisConsumableprivate final BooleanisSandboxprivate final BooleanisRefund
-
Method Summary
Modifier and Type Method Description final BooleanisOneTime()final StringgetPurchaseId()An identifier of the purchase in Adapty. final StringgetVendorProductId()An identifier of a product in a store that unlocked this subscription. final StringgetVendorTransactionId()A transaction id of a purchase in a store that unlocked this subscription. final StringgetStore()A store of the purchase. final StringgetPurchasedAt()ISO 8601 datetime when the product was purchased. final BooleanisConsumable()trueif the product is consumable.final BooleanisSandbox()trueif the product was purchased in a sandbox environment.final BooleanisRefund()trueif the purchase was refunded.Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Method Detail
-
getPurchaseId
final String getPurchaseId()
An identifier of the purchase in Adapty. You can use it to ensure that you’ve already processed this purchase (for example tracking one time products).
-
getVendorProductId
final String getVendorProductId()
An identifier of a product in a store that unlocked this subscription.
-
getVendorTransactionId
final String getVendorTransactionId()
A transaction id of a purchase in a store that unlocked this subscription.
-
getPurchasedAt
final String getPurchasedAt()
ISO 8601 datetime when the product was purchased.
-
isConsumable
final Boolean isConsumable()
trueif the product is consumable.
-
-
-
-