Class DeliveryItemImpl
java.lang.Object
com.commercetools.api.models.order.DeliveryItemImpl
- All Implemented Interfaces:
DeliveryItem
,io.vrap.rmf.base.client.ModelBase
public class DeliveryItemImpl
extends Object
implements DeliveryItem, io.vrap.rmf.base.client.ModelBase
DeliveryItem
-
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
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.order.DeliveryItem
withDeliveryItem
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
DeliveryItemImpl
public DeliveryItemImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the DeliveryItem.
- Specified by:
getId
in interfaceDeliveryItem
- Returns:
- id
-
getQuantity
- Specified by:
getQuantity
in interfaceDeliveryItem
- Returns:
- quantity
-
setId
Description copied from interface:DeliveryItem
Unique identifier of the DeliveryItem.
- Specified by:
setId
in interfaceDeliveryItem
- Parameters:
id
- value to be set
-
setQuantity
Description copied from interface:DeliveryItem
set quantity- Specified by:
setQuantity
in interfaceDeliveryItem
- Parameters:
quantity
- value to be set
-
equals
-
hashCode
-