Clear the customer ID, usually after the customer signs out
Unset the customer's resource ID, usually after the customer exit a specific resource.
Estimate subscription
Preview of the subscription.
Estimate subscription update
Preview of the subscription.
Get boolean entitlement of feature for a customer
boolean entitlement
Get a list of coupons
Get a customer
Get a customer portal
Get a list of entitlements
Get metered entitlement of feature for a customer
metered entitlement
Get numeric entitlement of feature for a customer
numeric entitlement
Get paywall data for rendering the paywall
Reload entitlements
Remove a listener to stop handle updates of entitlements changes
Set the customer ID, usually after the customer signs in or restores a session
Set the customer's resource ID, usually after the customer select a specific resource.
Waits for a subscription to be activated after a completed checkout. This method should be called on page load after the customer is redirected to the success URL. Returns the new subscription.
Returns a Promise that tracks the client's initialization state.
The Promise will be resolved if the client successfully initializes, or rejected if client initialization has irrevocably failed.
Stigg client instance.
Creates an instance of Stigg client.
configuration settings.
The new client instance.
Generated using TypeDoc
Add a listener to handle updates of entitlements changes