Package-level declarations
Types
Link copied to clipboard
@Serializable
A class that contains the latest subscription and entitlement info about the customer. These objects are non-mutable and do not update automatically.
Link copied to clipboard
@Serializable
Represents a non-subscription transaction (e.g., one-time purchases) in the customer's purchase history.
Link copied to clipboard
@Serializable
Represents a subscription transaction in the customer's purchase history.
Functions
Link copied to clipboard
Merges this CustomerInfo (device) with web CustomerInfo, deduplicating transactions by transaction ID.
Link copied to clipboard
fun mergeEntitlements(first: Collection<Entitlement>, second: Collection<Entitlement>): List<Entitlement>
Link copied to clipboard
Merges a list of entitlements, keeping the highest priority entitlement for each ID. Uses EntitlementPriorityComparator to determine priority. When merging, productIds from all entitlements with the same ID are combined.
Link copied to clipboard
Link copied to clipboard