Class StoreAddCountryActionImpl
java.lang.Object
com.commercetools.api.models.store.StoreAddCountryActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreAddCountryAction
,StoreUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StoreAddCountryActionImpl
extends Object
implements StoreAddCountryAction, io.vrap.rmf.base.client.ModelBase
This update action produces the StoreCountriesChanged Message. It has no effect if the given country is already 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.StoreAddCountryAction
ADD_COUNTRY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to append tocountries
.int
hashCode()
void
setCountry
(StoreCountry country) Value to append tocountries
.toString()
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.StoreAddCountryAction
withStoreAddCountryAction
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
withStoreUpdateAction
-
Constructor Details
-
StoreAddCountryActionImpl
public StoreAddCountryActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Specified by:
getAction
in interfaceStoreUpdateAction
- Returns:
- action
-
getCountry
Value to append to
countries
.- Specified by:
getCountry
in interfaceStoreAddCountryAction
- Returns:
- country
-
setCountry
Description copied from interface:StoreAddCountryAction
Value to append to
countries
.- Specified by:
setCountry
in interfaceStoreAddCountryAction
- Parameters:
country
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-