ProtectedconstructorProtected ReadonlyconfigurationAdd a listener to handle updates of entitlements changes
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.
Fetch customer usage history of a feature.
Array of usage history as data points.
List of active subscriptions
Get customer's active subscriptions, for extended subscription data use getSubscription
Get automatic recharge configuration
the input for getting automatic recharge configuration
the automatic recharge configuration
Get boolean entitlement of feature for a customer
boolean entitlement
Get customer checkout details
Get a list of coupons
Get credit entitlement for a customer by currency ID
credit entitlement
Get a customer
Get a customer portal
Get a list of entitlements
Get a list of entitlements alongside an access denied reason if applicable.
Get enum entitlement of feature for a customer
enum entitlement
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
Get customer usage history of a feature.
Preview the subscription next invoice
Preview of the next invoice.
Preview subscription provisioning\updates
Preview of the subscription.
Reload entitlements
Remove a listener to stop handle updates of entitlements changes
Save automatic recharge configuration
the input for saving automatic recharge configuration
the saved automatic recharge configuration
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.
StaticinitializeCreates an instance of Stigg client.
configuration settings.
The new client instance.
Deprecated
Use getShowWatermark instead