Skip to content

subscriptionInactiveReason

function subscriptionInactiveReason(
sub,
now,
entitled?
): string | null;

Defined in: src/resolve.ts:46

Why a subscription is not entitled at now, or null when it is.

Parameter Type Default value
sub Subscription undefined
now number undefined
entitled? readonly SubscriptionStatus[] DEFAULT_ENTITLED_STATUSES

string | null