Classes
Members
Methods
getAdaptor() → {CheaprEatsGraphQLAdaptor}
Get current network adaptor instance
Returns:
- Type:
-
CheaprEatsGraphQLAdaptor
getAuthenticationToken() → {null|string}
Get current authentication token
Returns:
- Type:
-
null
|string
isCompatible() → {null|boolean}
Determine if current SDK Version in compatible
Returns:
- Type:
-
null
|boolean
setApolloEndpoint(endpoint)
Set Apollo endpoint. WARNING: END OF LIFE Please use setGraphQLEndpointInstead
Parameters:
Name | Type | Description |
---|---|---|
endpoint |
setAuthenticationToken(token)
Set current authentication token
Parameters:
Name | Type | Description |
---|---|---|
token |
setGraphQLEndpoint(endpoint)
Set GraphQL endpoint.
Parameters:
Name | Type | Description |
---|---|---|
endpoint |
setImageDistributionEndpoint(endpoint)
Set imageEndpoint.distribution
Parameters:
Name | Type | Description |
---|---|---|
endpoint |
setImageEndpoint(endpoint)
Set imageEndpoint.production
Parameters:
Name | Type | Description |
---|---|---|
endpoint |
setValidationEndpoint(endpoint)
Set validationEndpoint.production
Parameters:
Name | Type | Description |
---|---|---|
endpoint |