BundledSubscription

public final class BundledSubscription 

An object representing a bundled subscription.

Summary

Nested types

public final class BundledSubscription.Builder

Builder class for BundledSubscription .

Public methods

String

Returns the package name of the bundled subscription provider.

ImmutableList < SubscriptionEntitlement >

Returns the bundled entitlements.

Long

Returns the expiration time of the bundled subscription in milliseconds.

int

Returns the type of the bundled subscription.

Bundle

Public fields

bundledSubscriptionProviderPackageName

public final  String 
 bundledSubscriptionProviderPackageName 

entitlements

public final  ImmutableList 
< SubscriptionEntitlement 
 entitlements 

expirationTimeMillis

public final  Long 
 expirationTimeMillis 

subscriptionType

public final int  subscriptionType 

Public methods

getBundledSubscriptionProviderPackageName

public  String 
 getBundledSubscriptionProviderPackageName 
()

Returns the package name of the bundled subscription provider.

getEntitlements

public  ImmutableList 
< SubscriptionEntitlement 
 getEntitlements 
()

Returns the bundled entitlements.

getExpirationTimeMillis

public  Long 
 getExpirationTimeMillis 
()

Returns the expiration time of the bundled subscription in milliseconds.

getSubscriptionType

@ SubscriptionType 

public int  getSubscriptionType ()

Returns the type of the bundled subscription.

toBundle

public  Bundle 
 toBundle 
()