Class DeliveryImpl
java.lang.Object
com.commercetools.api.models.order.DeliveryImpl
- All Implemented Interfaces:
Customizable<Delivery>
,Delivery
,DeliveryMixin
,io.vrap.rmf.base.client.ModelBase
Delivery
-
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
Custom Fields for the Transaction.getId()
Unique identifier of the Delivery.getItems()
Items which are shipped in this delivery regardless their distribution over several parcels.getKey()
User-defined unique identifier of the Delivery.int
hashCode()
void
setAddress
(Address address) set addressvoid
setCreatedAt
(ZonedDateTime createdAt) set createdAtvoid
setCustom
(CustomFields custom) Custom Fields for the Transaction.void
Unique identifier of the Delivery.void
setItems
(DeliveryItem... items) Items which are shipped in this delivery regardless their distribution over several parcels.void
setItems
(List<DeliveryItem> items) Items which are shipped in this delivery regardless their distribution over several parcels.void
User-defined unique identifier of the Delivery.void
setParcels
(Parcel... parcels) set parcelsvoid
setParcels
(List<Parcel> parcels) set parcelsMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.Customizable
unwrapCustomizable
Methods inherited from interface com.commercetools.api.models.order.Delivery
withDelivery
Methods inherited from interface com.commercetools.api.models.order.DeliveryMixin
toDraft, toDraftBuilder
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
DeliveryImpl
public DeliveryImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the Delivery.
-
getKey
User-defined unique identifier of the Delivery.
-
getCreatedAt
- Specified by:
getCreatedAt
in interfaceDelivery
- Returns:
- createdAt
-
getItems
Items which are shipped in this delivery regardless their distribution over several parcels. Can also be specified individually for each Parcel.
- Specified by:
getItems
in interfaceDelivery
- Specified by:
getItems
in interfaceDeliveryMixin
- Returns:
- items
-
getParcels
- Specified by:
getParcels
in interfaceDelivery
- Specified by:
getParcels
in interfaceDeliveryMixin
- Returns:
- parcels
-
getAddress
- Specified by:
getAddress
in interfaceDelivery
- Specified by:
getAddress
in interfaceDeliveryMixin
- Returns:
- address
-
getCustom
Custom Fields for the Transaction.
- Specified by:
getCustom
in interfaceCustomizable<Delivery>
- Specified by:
getCustom
in interfaceDelivery
- Specified by:
getCustom
in interfaceDeliveryMixin
- Returns:
- custom
-
setId
Description copied from interface:Delivery
Unique identifier of the Delivery.
-
setKey
Description copied from interface:Delivery
User-defined unique identifier of the Delivery.
-
setCreatedAt
Description copied from interface:Delivery
set createdAt- Specified by:
setCreatedAt
in interfaceDelivery
- Parameters:
createdAt
- value to be set
-
setItems
Description copied from interface:Delivery
Items which are shipped in this delivery regardless their distribution over several parcels. Can also be specified individually for each Parcel.
-
setItems
Description copied from interface:Delivery
Items which are shipped in this delivery regardless their distribution over several parcels. Can also be specified individually for each Parcel.
-
setParcels
Description copied from interface:Delivery
set parcels- Specified by:
setParcels
in interfaceDelivery
- Parameters:
parcels
- values to be set
-
setParcels
Description copied from interface:Delivery
set parcels- Specified by:
setParcels
in interfaceDelivery
- Parameters:
parcels
- values to be set
-
setAddress
Description copied from interface:Delivery
set address- Specified by:
setAddress
in interfaceDelivery
- Parameters:
address
- value to be set
-
setCustom
Description copied from interface:Delivery
Custom Fields for the Transaction.
- Specified by:
setCustom
in interfaceCustomizable<Delivery>
- Specified by:
setCustom
in interfaceDelivery
- Parameters:
custom
- value to be set
-
equals
-
hashCode
-