Class ZoneDraftImpl
java.lang.Object
com.commercetools.api.models.zone.ZoneDraftImpl
- All Implemented Interfaces:
WithKey
,ZoneDraft
,io.vrap.rmf.base.client.Draft<ZoneDraft>
,io.vrap.rmf.base.client.ModelBase
ZoneDraft
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Description of the Zone.getKey()
User-defined unique identifier for the Zone.List of locations that belong to the Zone.getName()
Name of the Zone.int
hashCode()
void
setDescription
(String description) Description of the Zone.void
User-defined unique identifier for the Zone.void
setLocations
(Location... locations) List of locations that belong to the Zone.void
setLocations
(List<Location> locations) List of locations that belong to the Zone.void
Name of the Zone.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.zone.ZoneDraft
withZoneDraft
-
Constructor Details
-
ZoneDraftImpl
public ZoneDraftImpl()create empty instance
-
-
Method Details
-
getKey
User-defined unique identifier for the Zone.
-
getName
Name of the Zone.
-
getDescription
Description of the Zone.
- Specified by:
getDescription
in interfaceZoneDraft
- Returns:
- description
-
getLocations
List of locations that belong to the Zone.
- Specified by:
getLocations
in interfaceZoneDraft
- Returns:
- locations
-
setKey
Description copied from interface:ZoneDraft
User-defined unique identifier for the Zone.
-
setName
Description copied from interface:ZoneDraft
Name of the Zone.
-
setDescription
Description copied from interface:ZoneDraft
Description of the Zone.
- Specified by:
setDescription
in interfaceZoneDraft
- Parameters:
description
- value to be set
-
setLocations
Description copied from interface:ZoneDraft
List of locations that belong to the Zone.
- Specified by:
setLocations
in interfaceZoneDraft
- Parameters:
locations
- values to be set
-
setLocations
Description copied from interface:ZoneDraft
List of locations that belong to the Zone.
- Specified by:
setLocations
in interfaceZoneDraft
- Parameters:
locations
- values to be set
-
equals
-
hashCode
-