The Cache API Class allows you to call the Fielo Platform Cache in Apex code.
call(jsonCallInfo)
static object call(String jsonCallInfo)
Executes internal cache methods.
Parameters
| Parameter | Type | Description |
|---|---|---|
| jsonCallInfo | String | Valid strings:
ANALYTICS, BEHAVIORS, CAPS, CHALLENGES, CRITERIA, CURRENCIES, LIBRARIES, PROGRAMS, PROMOTIONS, SEGMENTS, VERSIONS |
Example
The following example would refresh the entire Fielo Platform Cache (Organization-Wide).
FieloPLT.CacheAPI.call('{"method":"resetAll"}');