Entitlement

constructor(id: String, type: Entitlement.Type = Type.SERVICE_LEVEL, isActive: Boolean = false, productIds: Set<String> = emptySet(), latestProductId: String? = null, startsAt: Date? = null, renewedAt: Date? = null, expiresAt: Date? = null, isLifetime: Boolean? = null, willRenew: Boolean? = null, state: LatestSubscriptionState? = null, offerType: LatestPeriodType? = null, store: Store? = null)(source)
constructor(id: String, type: Entitlement.Type)(source)


constructor(id: String)(source)

Convenience constructor for creating an entitlement with just an ID.