SubscriptionEntity.Builder


public final class SubscriptionEntity.Builder


Builder class for SubscriptionEntity.

Summary

Public constructors

Public constructors

Builder

public Builder()

Public methods

addBundledSubscription

@CanIgnoreReturnValue
public SubscriptionEntity.Builder addBundledSubscription(BundledSubscription bundledSubscription)

addBundledSubscriptions

@CanIgnoreReturnValue
public SubscriptionEntity.Builder addBundledSubscriptions(
    List<BundledSubscription> bundledSubscriptions
)

build

public SubscriptionEntity build()

setExpirationTimeMillis

@CanIgnoreReturnValue
public SubscriptionEntity.Builder setExpirationTimeMillis(long expirationTimeMillis)

setProviderPackageName

@CanIgnoreReturnValue
public SubscriptionEntity.Builder setProviderPackageName(String providerPackageName)

setSubscriptionType

@CanIgnoreReturnValue
public SubscriptionEntity.Builder setSubscriptionType(@SubscriptionType int subscriptionType)