Class ParcelAddedToDeliveryMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.ParcelAddedToDeliveryMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload
,OrderMessagePayload
,ParcelAddedToDeliveryMessagePayload
,io.vrap.rmf.base.client.ModelBase
public class ParcelAddedToDeliveryMessagePayloadImpl
extends Object
implements ParcelAddedToDeliveryMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Add Parcel to Delivery update action.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.message.ParcelAddedToDeliveryMessagePayload
PARCEL_ADDED_TO_DELIVERY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Unique identifier of the Delivery.Parcel that was added to the Delivery.User-defined unique identifier of the Shipping Method in a Cart withMultiple
ShippingMode.getType()
int
hashCode()
void
setDelivery
(Delivery delivery) Unique identifier of the Delivery.void
Parcel that was added to the Delivery.void
setShippingKey
(String shippingKey) User-defined unique identifier of the Shipping Method in a Cart withMultiple
ShippingMode.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
Methods inherited from interface com.commercetools.api.models.message.ParcelAddedToDeliveryMessagePayload
withParcelAddedToDeliveryMessagePayload
-
Constructor Details
-
ParcelAddedToDeliveryMessagePayloadImpl
public ParcelAddedToDeliveryMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getDelivery
Unique identifier of the Delivery.
- Specified by:
getDelivery
in interfaceParcelAddedToDeliveryMessagePayload
- Returns:
- delivery
-
getParcel
Parcel that was added to the Delivery.
- Specified by:
getParcel
in interfaceParcelAddedToDeliveryMessagePayload
- Returns:
- parcel
-
getShippingKey
User-defined unique identifier of the Shipping Method in a Cart with
Multiple
ShippingMode.- Specified by:
getShippingKey
in interfaceParcelAddedToDeliveryMessagePayload
- Returns:
- shippingKey
-
setDelivery
Description copied from interface:ParcelAddedToDeliveryMessagePayload
Unique identifier of the Delivery.
- Specified by:
setDelivery
in interfaceParcelAddedToDeliveryMessagePayload
- Parameters:
delivery
- value to be set
-
setParcel
Description copied from interface:ParcelAddedToDeliveryMessagePayload
Parcel that was added to the Delivery.
- Specified by:
setParcel
in interfaceParcelAddedToDeliveryMessagePayload
- Parameters:
parcel
- value to be set
-
setShippingKey
Description copied from interface:ParcelAddedToDeliveryMessagePayload
User-defined unique identifier of the Shipping Method in a Cart with
Multiple
ShippingMode.- Specified by:
setShippingKey
in interfaceParcelAddedToDeliveryMessagePayload
- Parameters:
shippingKey
- value to be set
-
equals
-
hashCode
public int hashCode()
-