CustomerInfo
data class CustomerInfo( val entitlements: EntitlementInfos, purchasedNonSubscriptionSkus: Set<String>, val allExpirationDatesByProduct: Map<String, Date?>, val allPurchaseDatesByProduct: Map<String, Date?>, val requestDate: Date, jsonObject: JSONObject, val schemaVersion: Int, val firstSeen: Date, val originalAppUserId: String, val managementURL: Uri?, val originalPurchaseDate: Date?) : Parcelable, RawDataContainer<JSONObject>
Content copied to clipboard
Class containing all information regarding the purchaser
Constructors
Link copied to clipboard
fun CustomerInfo( 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
Link copied to clipboard