Class DeliveryDraftImpl
java.lang.Object
com.commercetools.importapi.models.order_patches.DeliveryDraftImpl
- All Implemented Interfaces:
DeliveryDraft
,io.vrap.rmf.base.client.Draft<DeliveryDraft>
,io.vrap.rmf.base.client.ModelBase
public class DeliveryDraftImpl
extends Object
implements DeliveryDraft, io.vrap.rmf.base.client.ModelBase
DeliveryDraft
-
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
getItems()
int
hashCode()
void
setAddress
(Address address) set addressvoid
setItems
(DeliveryItem... items) set itemsvoid
setItems
(List<DeliveryItem> items) set itemsvoid
setParcels
(DeliveryParcelDraft... parcels) set parcelsvoid
setParcels
(List<DeliveryParcelDraft> parcels) set parcelsMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.order_patches.DeliveryDraft
withDeliveryDraft
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
DeliveryDraftImpl
public DeliveryDraftImpl()create empty instance
-
-
Method Details
-
getItems
- Specified by:
getItems
in interfaceDeliveryDraft
- Returns:
- items
-
getAddress
- Specified by:
getAddress
in interfaceDeliveryDraft
- Returns:
- address
-
getParcels
- Specified by:
getParcels
in interfaceDeliveryDraft
- Returns:
- parcels
-
setItems
Description copied from interface:DeliveryDraft
set items- Specified by:
setItems
in interfaceDeliveryDraft
- Parameters:
items
- values to be set
-
setItems
Description copied from interface:DeliveryDraft
set items- Specified by:
setItems
in interfaceDeliveryDraft
- Parameters:
items
- values to be set
-
setAddress
Description copied from interface:DeliveryDraft
set address- Specified by:
setAddress
in interfaceDeliveryDraft
- Parameters:
address
- value to be set
-
setParcels
Description copied from interface:DeliveryDraft
set parcels- Specified by:
setParcels
in interfaceDeliveryDraft
- Parameters:
parcels
- values to be set
-
setParcels
Description copied from interface:DeliveryDraft
set parcels- Specified by:
setParcels
in interfaceDeliveryDraft
- Parameters:
parcels
- values to be set
-
equals
-
hashCode
public int hashCode()
-