Apply subscription changes for a customer Update\Provision a subscription for a customer according to the given subscription input
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
Estimate subscription update
Fetch customer usage history of a feature.
Get boolean entitlement of feature for a customer
Get customer checkout details
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
Get numeric entitlement of feature for a customer
Get paywall data for rendering the paywall
Get subscription
Get customer usage history of a feature.
Preview subscription provisioning\updates
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.
Creates an instance of Stigg client.
configuration settings.
The new client instance.
Generated using TypeDoc
Add a listener to handle updates of entitlements changes