Class MetaReferencesAPI
- java.lang.Object
-
- com.cheetahdigital.corekit.models.module.Controller
-
- com.cheetahdigital.profile.core.api.metareferences.MetaReferencesAPI
-
- All Implemented Interfaces:
RestController
public class MetaReferencesAPI extends Controller
Cheetah Loyalty MetaReferencesAPI ModuleAPI Controller class for MetaReferencesAPI
-
-
Field Summary
-
Fields inherited from class com.cheetahdigital.corekit.models.module.Controller
STANDARD_DATE_FORMAT, TIMEZONE_DATE_FORMAT
-
-
Constructor Summary
Constructors Constructor Description MetaReferencesAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getCountryStates(MetaReferencesParams metaReferencesParams, boolean clearCache, ListenerModel<BaseModel<CountryStatesData>,CountryStatesData> listener)
Gets list of countries and states for each country-
Methods inherited from class com.cheetahdigital.corekit.models.module.Controller
createCache, createHttpClient, createRetrofitInterface, evictAllCache, getGsonConfiguration, getRestAdapter, getTimeoutConnectionInSeconds, getTimeoutSocketInSeconds, initialize, removeResponsesFromCache
-
-
-
-
Method Detail
-
getCountryStates
public void getCountryStates(MetaReferencesParams metaReferencesParams, boolean clearCache, ListenerModel<BaseModel<CountryStatesData>,CountryStatesData> listener)
Gets list of countries and states for each country- Parameters:
metaReferencesParams
-MetaReferencesParams
for MetaReferencesAPIclearCache
- set totrue
if cache should be cleared, otherwisefalse
listener
- handler for the response
-
-