SubscriptionEntitlement.Builder


class SubscriptionEntitlement.Builder


Builder class for SubscriptionEntitlement.

Summary

Public constructors

Public functions

SubscriptionEntitlement!
SubscriptionEntitlement.Builder!

Sets the display name of the entitlement.

SubscriptionEntitlement.Builder!

Sets id of the entitlement.

SubscriptionEntitlement.Builder!

Sets the expirationTime of the entitlement.

Public constructors

Builder

Builder()

Public functions

build

fun build(): SubscriptionEntitlement!

setDisplayName

@CanIgnoreReturnValue
fun setDisplayName(displayName: String!): SubscriptionEntitlement.Builder!

Sets the display name of the entitlement.

Optional.

setEntitlementId

@CanIgnoreReturnValue
fun setEntitlementId(entitlementId: String!): SubscriptionEntitlement.Builder!

Sets id of the entitlement.

Required.

setExpirationTimeMillis

@CanIgnoreReturnValue
fun setExpirationTimeMillis(expirationTimeMillis: Long): SubscriptionEntitlement.Builder!

Sets the expirationTime of the entitlement.

Optional.