PurchaserInfo
data class PurchaserInfo(entitlements: EntitlementInfos, purchasedNonSubscriptionSkus: Set<String>, allExpirationDatesByProduct: Map<String, Date?>, allPurchaseDatesByProduct: Map<String, Date?>, requestDate: Date, jsonObject: JSONObject, schemaVersion: Int, firstSeen: Date, originalAppUserId: String, managementURL: Uri?, originalPurchaseDate: Date?) : Parcelable
Content copied to clipboard
Class containing all information regarding the purchaser
Constructors
Link copied to clipboard
fun PurchaserInfo(entitlements: EntitlementInfos, purchasedNonSubscriptionSkus: Set<String>, allExpirationDatesByProduct: Map<String, Date?>, allPurchaseDatesByProduct: Map<String, Date?>, requestDate: Date, jsonObject: JSONObject, schemaVersion: Int, firstSeen: Date, originalAppUserId: String, managementURL: Uri?, originalPurchaseDate: Date?)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Get the expiration date for a given entitlement identifier.
Link copied to clipboard
Get the expiration date for a given sku
Link copied to clipboard
Get the latest purchase or renewal date for a given entitlement identifier.
Link copied to clipboard
Get the latest purchase or renewal date for given sku
Link copied to clipboard
Properties
Link copied to clipboard
URL to manage the active subscription of the user. If this user has an active iOS subscription, this will point to the App Store, if the user has an active Play Store subscription it will point there. If there are no active subscriptions it will be null. If there are multiple for different platforms, it will point to the Play Store
Link copied to clipboard