Class SummaryAPI
- java.lang.Object
-
- com.cheetahdigital.corekit.models.module.Controller
-
- com.cheetahdigital.summary.core.api.SummaryAPI
-
- All Implemented Interfaces:
RestController
public class SummaryAPI extends Controller
Cheetah Loyalty Activities Module ASummary
represents one User's Summary.
-
-
Field Summary
-
Fields inherited from class com.cheetahdigital.corekit.models.module.Controller
STANDARD_DATE_FORMAT, TIMEZONE_DATE_FORMAT
-
-
Constructor Summary
Constructors Constructor Description SummaryAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getSummary(SummaryParams summaryParams, boolean clearCache, ListenerModel<BaseModel<Summary>,Summary> listener)
Get the member account summary information-
Methods inherited from class com.cheetahdigital.corekit.models.module.Controller
createCache, createHttpClient, createRetrofitInterface, evictAllCache, getGsonConfiguration, getRestAdapter, getTimeoutConnectionInSeconds, getTimeoutSocketInSeconds, initialize, removeResponsesFromCache
-
-
-
-
Method Detail
-
getSummary
public void getSummary(SummaryParams summaryParams, boolean clearCache, ListenerModel<BaseModel<Summary>,Summary> listener)
Get the member account summary information- Parameters:
summaryParams
- query params used for Summary APIclearCache
- true to clear stored cache, else falselistener
- callback for receiving summary from the API
-
-