Class ParcelImpl
java.lang.Object
com.commercetools.importapi.models.orders.ParcelImpl
- All Implemented Interfaces:
Parcel
,io.vrap.rmf.base.client.ModelBase
Parcel
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
The representation to be sent to the server when creating a resource with custom fields.getId()
getItems()
int
hashCode()
void
setCreatedAt
(ZonedDateTime createdAt) set createdAtvoid
The representation to be sent to the server when creating a resource with custom fields.void
set idvoid
setItems
(DeliveryItem... items) set itemsvoid
setItems
(List<DeliveryItem> items) set itemsvoid
setMeasurements
(ParcelMeasurements measurements) set measurementsvoid
setTrackingData
(TrackingData trackingData) set trackingDataMethods 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.importapi.models.orders.Parcel
withParcel
-
Constructor Details
-
ParcelImpl
public ParcelImpl()create empty instance
-
-
Method Details
-
getId
-
getCreatedAt
- Specified by:
getCreatedAt
in interfaceParcel
- Returns:
- createdAt
-
getMeasurements
- Specified by:
getMeasurements
in interfaceParcel
- Returns:
- measurements
-
getTrackingData
- Specified by:
getTrackingData
in interfaceParcel
- Returns:
- trackingData
-
getItems
-
getCustom
The representation to be sent to the server when creating a resource with custom fields.
-
setId
Description copied from interface:Parcel
set id -
setCreatedAt
Description copied from interface:Parcel
set createdAt- Specified by:
setCreatedAt
in interfaceParcel
- Parameters:
createdAt
- value to be set
-
setMeasurements
Description copied from interface:Parcel
set measurements- Specified by:
setMeasurements
in interfaceParcel
- Parameters:
measurements
- value to be set
-
setTrackingData
Description copied from interface:Parcel
set trackingData- Specified by:
setTrackingData
in interfaceParcel
- Parameters:
trackingData
- value to be set
-
setItems
Description copied from interface:Parcel
set items -
setItems
Description copied from interface:Parcel
set items -
setCustom
Description copied from interface:Parcel
The representation to be sent to the server when creating a resource with custom fields.
-
equals
-
hashCode
-