Class DeliveryImpl
- All Implemented Interfaces:
Customizable<Delivery>
,Delivery
,DeliveryMixin
,io.vrap.rmf.base.client.ModelBase
Contains information on how items are shipped to Customers, for example, a delivery note.
-
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
Address to which Parcels are delivered.Date and time (UTC) the Delivery was created.Custom Fields of the Delivery.getId()
Unique identifier of the Delivery.getItems()
Line Items or Custom Line Items that are delivered.getKey()
User-defined unique identifier of the Delivery.Information regarding the appearance, content, and shipment of a Parcel.int
hashCode()
void
setAddress
(Address address) Address to which Parcels are delivered.void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the Delivery was created.void
setCustom
(CustomFields custom) Custom Fields of the Delivery.void
Unique identifier of the Delivery.void
setItems
(DeliveryItem... items) Line Items or Custom Line Items that are delivered.void
setItems
(List<DeliveryItem> items) Line Items or Custom Line Items that are delivered.void
User-defined unique identifier of the Delivery.void
setParcels
(Parcel... parcels) Information regarding the appearance, content, and shipment of a Parcel.void
setParcels
(List<Parcel> parcels) Information regarding the appearance, content, and shipment of a Parcel.Methods 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
Date and time (UTC) the Delivery was created.
- Specified by:
getCreatedAt
in interfaceDelivery
- Returns:
- createdAt
-
getItems
Line Items or Custom Line Items that are delivered.
- Specified by:
getItems
in interfaceDelivery
- Specified by:
getItems
in interfaceDeliveryMixin
- Returns:
- items
-
getParcels
Information regarding the appearance, content, and shipment of a Parcel.
- Specified by:
getParcels
in interfaceDelivery
- Specified by:
getParcels
in interfaceDeliveryMixin
- Returns:
- parcels
-
getAddress
Address to which Parcels are delivered.
- Specified by:
getAddress
in interfaceDelivery
- Specified by:
getAddress
in interfaceDeliveryMixin
- Returns:
- address
-
getCustom
Custom Fields of the Delivery.
- 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
Date and time (UTC) the Delivery was created.
- Specified by:
setCreatedAt
in interfaceDelivery
- Parameters:
createdAt
- value to be set
-
setItems
Description copied from interface:Delivery
Line Items or Custom Line Items that are delivered.
-
setItems
Description copied from interface:Delivery
Line Items or Custom Line Items that are delivered.
-
setParcels
Description copied from interface:Delivery
Information regarding the appearance, content, and shipment of a Parcel.
- Specified by:
setParcels
in interfaceDelivery
- Parameters:
parcels
- values to be set
-
setParcels
Description copied from interface:Delivery
Information regarding the appearance, content, and shipment of a Parcel.
- Specified by:
setParcels
in interfaceDelivery
- Parameters:
parcels
- values to be set
-
setAddress
Description copied from interface:Delivery
Address to which Parcels are delivered.
- Specified by:
setAddress
in interfaceDelivery
- Parameters:
address
- value to be set
-
setCustom
Description copied from interface:Delivery
Custom Fields of the Delivery.
- Specified by:
setCustom
in interfaceCustomizable<Delivery>
- Specified by:
setCustom
in interfaceDelivery
- Parameters:
custom
- value to be set
-
equals
-
hashCode
public int hashCode()
-