CustomerInfo

data class CustomerInfo(val source: CustomerInfoSource, val customerIdentifiers: Set<String> = emptySet(), val entitlements: List<CustomerEntitlement> = emptyList())

Entitlements resolved from every purchase of the current store account.

Constructors

Link copied to clipboard
constructor(source: CustomerInfoSource, customerIdentifiers: Set<String> = emptySet(), entitlements: List<CustomerEntitlement> = emptyList())

Properties

Link copied to clipboard

The Purpl customer identifiers resolved for each purchase token.

Link copied to clipboard

The entitlements across all purchases, without duplicates.

Link copied to clipboard

The source used to resolve this result.

Functions

Link copied to clipboard
Link copied to clipboard

Returns whether the specified entitlement is currently active.