customer
Table of contents
Interfaces
Functions
checkFeature
▸ checkFeature(featureName?
: string, options?
: { account?
: Account }): Promise<FeatureInfo>
Checks if a specific feature is enabled for the current customer
Parameters:
Name | Type |
---|---|
featureName? | string |
options? | object |
options.account? | Account |
Returns: Promise<FeatureInfo>
getCustomerInfo
▸ getCustomerInfo(options?
: { account?
: Account }): Promise<CustomerInfo>
Get information about current logged-in user
Parameters:
Name | Type |
---|---|
options? | object |
options.account? | Account |
Returns: Promise<CustomerInfo>
Found a mistake? Let us know.