Class LocationImpl
java.lang.Object
com.commercetools.history.models.common.LocationImpl
- All Implemented Interfaces:
Location,io.vrap.rmf.base.client.ModelBase
Shape of the value for addLocation and removeLocation actions
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.commercetools.history.models.common.Location
withLocationMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
LocationImpl
public LocationImpl()create empty instance
-
-
Method Details
-
getCountry
Two-digit country code as per ISO 3166-1 alpha-2.
- Specified by:
getCountryin interfaceLocation- Returns:
- country
-
getState
-
setCountry
Description copied from interface:LocationTwo-digit country code as per ISO 3166-1 alpha-2.
- Specified by:
setCountryin interfaceLocation- Parameters:
country- value to be set
-
setState
Description copied from interface:Locationset state -
equals
-
hashCode
-