Class ShopCountryService
- java.lang.Object
-
- com.aboutyou.cloud.adminapi.service.AbstractService
-
- com.aboutyou.cloud.adminapi.service.ShopCountryService
-
public class ShopCountryService extends AbstractService
-
-
Constructor Summary
Constructors Constructor Description ShopCountryService(HttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCollection<ShopCountry>all(java.lang.String shopKey)ApiCollection<ShopCountry>all(java.lang.String shopKey, ApiOptions options)ShopCountrycreate(java.lang.String shopKey, ShopCountry model)ShopCountrycreate(java.lang.String shopKey, ShopCountry model, ApiOptions options)java.util.Map<java.lang.String,java.lang.Object>createOrUpdateCustomData(java.lang.String shopKey, java.lang.String countryCode, java.util.Map<java.lang.String,java.lang.Object> model)java.util.Map<java.lang.String,java.lang.Object>createOrUpdateCustomData(java.lang.String shopKey, java.lang.String countryCode, java.util.Map<java.lang.String,java.lang.Object> model, ApiOptions options)java.util.Map<java.lang.String,java.lang.Object>createOrUpdateCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> model)java.util.Map<java.lang.String,java.lang.Object>createOrUpdateCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> model, ApiOptions options)voiddeleteCustomData(java.lang.String shopKey, java.lang.String countryCode)voiddeleteCustomData(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options)voiddeleteCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key)voiddeleteCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key, ApiOptions options)ShopCountryget(java.lang.String shopKey, java.lang.String countryCode)ShopCountryget(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options)java.util.Map<java.lang.String,java.lang.Object>getCustomData(java.lang.String shopKey, java.lang.String countryCode)java.util.Map<java.lang.String,java.lang.Object>getCustomData(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options)java.util.Map<java.lang.String,java.lang.Object>getCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key)java.util.Map<java.lang.String,java.lang.Object>getCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key, ApiOptions options)ShopCountryupdate(java.lang.String shopKey, java.lang.String countryCode, ShopCountry model)ShopCountryupdate(java.lang.String shopKey, java.lang.String countryCode, ShopCountry model, ApiOptions options)AssortmentupdateAssortment(java.lang.String shopKey, java.lang.String countryCode, Assortment model)AssortmentupdateAssortment(java.lang.String shopKey, java.lang.String countryCode, Assortment model, ApiOptions options)-
Methods inherited from class com.aboutyou.cloud.adminapi.service.AbstractService
request, request, requestCollection, requestCollection, resolvePath
-
-
-
-
Constructor Detail
-
ShopCountryService
public ShopCountryService(HttpClient httpClient)
-
-
Method Detail
-
create
public ShopCountry create(java.lang.String shopKey, ShopCountry model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
create
public ShopCountry create(java.lang.String shopKey, ShopCountry model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
all
public ApiCollection<ShopCountry> all(java.lang.String shopKey) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
all
public ApiCollection<ShopCountry> all(java.lang.String shopKey, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
get
public ShopCountry get(java.lang.String shopKey, java.lang.String countryCode) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
get
public ShopCountry get(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
update
public ShopCountry update(java.lang.String shopKey, java.lang.String countryCode, ShopCountry model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
update
public ShopCountry update(java.lang.String shopKey, java.lang.String countryCode, ShopCountry model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
updateAssortment
public Assortment updateAssortment(java.lang.String shopKey, java.lang.String countryCode, Assortment model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
updateAssortment
public Assortment updateAssortment(java.lang.String shopKey, java.lang.String countryCode, Assortment model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
createOrUpdateCustomData
public java.util.Map<java.lang.String,java.lang.Object> createOrUpdateCustomData(java.lang.String shopKey, java.lang.String countryCode, java.util.Map<java.lang.String,java.lang.Object> model) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
createOrUpdateCustomData
public java.util.Map<java.lang.String,java.lang.Object> createOrUpdateCustomData(java.lang.String shopKey, java.lang.String countryCode, java.util.Map<java.lang.String,java.lang.Object> model, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
deleteCustomData
public void deleteCustomData(java.lang.String shopKey, java.lang.String countryCode) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
deleteCustomData
public void deleteCustomData(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
getCustomData
public java.util.Map<java.lang.String,java.lang.Object> getCustomData(java.lang.String shopKey, java.lang.String countryCode) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
getCustomData
public java.util.Map<java.lang.String,java.lang.Object> getCustomData(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
createOrUpdateCustomDataForKey
public java.util.Map<java.lang.String,java.lang.Object> createOrUpdateCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> model) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
createOrUpdateCustomDataForKey
public java.util.Map<java.lang.String,java.lang.Object> createOrUpdateCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> model, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
deleteCustomDataForKey
public void deleteCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
deleteCustomDataForKey
public void deleteCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
getCustomDataForKey
public java.util.Map<java.lang.String,java.lang.Object> getCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
getCustomDataForKey
public java.util.Map<java.lang.String,java.lang.Object> getCustomDataForKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.String key, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
-