Class StoreRemoveCountryActionImpl
java.lang.Object
com.commercetools.api.models.store.StoreRemoveCountryActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreRemoveCountryAction
,StoreUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StoreRemoveCountryActionImpl
extends Object
implements StoreRemoveCountryAction, io.vrap.rmf.base.client.ModelBase
This update action produces the StoreCountriesChanged Message. It has no effect if a given country is not present in a Store.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.store.StoreRemoveCountryAction
REMOVE_COUNTRY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to remove fromcountries
.int
hashCode()
void
setCountry
(StoreCountry country) Value to remove fromcountries
.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.store.StoreRemoveCountryAction
withStoreRemoveCountryAction
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
withStoreUpdateAction
-
Constructor Details
-
StoreRemoveCountryActionImpl
public StoreRemoveCountryActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Specified by:
getAction
in interfaceStoreUpdateAction
- Returns:
- action
-
getCountry
Value to remove from
countries
.- Specified by:
getCountry
in interfaceStoreRemoveCountryAction
- Returns:
- country
-
setCountry
Description copied from interface:StoreRemoveCountryAction
Value to remove from
countries
.- Specified by:
setCountry
in interfaceStoreRemoveCountryAction
- Parameters:
country
- value to be set
-
equals
-
hashCode
public int hashCode()
-