SubscriptionEntitlement


public final class SubscriptionEntitlement


An object representing a subscription entitlement.

Summary

Nested types

Builder class for SubscriptionEntitlement.

Public methods

String

Returns the display name of the entitlement.

String

Returns the id of the entitlement.

Long

Returns the expiration time of the entitlement.

Bundle

Public fields

displayName

public final String displayName

entitlementId

public final String entitlementId

expirationTimeMillis

public final Long expirationTimeMillis

Public methods

getDisplayName

public String getDisplayName()

Returns the display name of the entitlement.

getEntitlementId

public String getEntitlementId()

Returns the id of the entitlement.

getExpirationTimeMillis

public Long getExpirationTimeMillis()

Returns the expiration time of the entitlement.

toBundle

public Bundle toBundle()