SubscriptionEntity


public final class SubscriptionEntity extends Entity


An object representing a subscription.

Summary

Nested types

public final class SubscriptionEntity.Builder

Builder class for SubscriptionEntity.

Public fields

bundledSubscriptions

public final ImmutableList<BundledSubscriptionbundledSubscriptions

entitlements

public final ImmutableList<SubscriptionEntitlemententitlements

expirationTimeMillis

public final Long expirationTimeMillis

providerPackageName

public final String providerPackageName

subscriptionType

@SubscriptionType
public final int subscriptionType

Public methods

getBundledSubscriptions

public ImmutableList<BundledSubscriptiongetBundledSubscriptions()

getExpirationTimeMillis

public Long getExpirationTimeMillis()

getProviderPackageName

public String getProviderPackageName()

getSubscriptionType

@SubscriptionType
public int getSubscriptionType()

toBundle

public Bundle toBundle()