Class InfoAPI
- java.lang.Object
-
- com.cheetahdigital.corekit.models.module.Controller
-
- com.cheetahdigital.corekit.authentication.core.api.InfoAPI
-
- All Implemented Interfaces:
RestController
public class InfoAPI extends Controller
Cheetah Loyalty Info Module
-
-
Field Summary
-
Fields inherited from class com.cheetahdigital.corekit.models.module.Controller
STANDARD_DATE_FORMAT, TIMEZONE_DATE_FORMAT
-
-
Constructor Summary
Constructors Constructor Description InfoAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getInfo(InfoQueryParams queryParams, boolean clearCache, ListenerModel<BaseModel<java.util.Map<java.lang.String,java.lang.Object>>,java.util.Map<java.lang.String,java.lang.Object>> listener)
Get the Info needed for configurationa-
Methods inherited from class com.cheetahdigital.corekit.models.module.Controller
createCache, createHttpClient, createRetrofitInterface, evictAllCache, getGsonConfiguration, getRestAdapter, getTimeoutConnectionInSeconds, getTimeoutSocketInSeconds, initialize, removeResponsesFromCache
-
-
-
-
Method Detail
-
getInfo
public void getInfo(InfoQueryParams queryParams, boolean clearCache, ListenerModel<BaseModel<java.util.Map<java.lang.String,java.lang.Object>>,java.util.Map<java.lang.String,java.lang.Object>> listener)
Get the Info needed for configurationa- Parameters:
queryParams
-InfoQueryParams
clearCache
- set totrue
if cache should be cleared, otherwisefalse
listener
- when info receives is successful or not
-
-