Class DeliveryAddedMessagePayloadImpl
- All Implemented Interfaces:
DeliveryAddedMessagePayload
,MessagePayload
,OrderMessagePayload
,io.vrap.rmf.base.client.ModelBase
Generated after a successful Add 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.DeliveryAddedMessagePayload
DELIVERY_ADDED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Delivery that was added to the Order.User-defined unique identifier of the Shipping Method in a Cart withMultiple
ShippingMode.getType()
int
hashCode()
void
setDelivery
(Delivery delivery) Delivery that was added to the Order.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.DeliveryAddedMessagePayload
withDeliveryAddedMessagePayload
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
-
Constructor Details
-
DeliveryAddedMessagePayloadImpl
public DeliveryAddedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getDelivery
Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional Parcel Added To Delivery Message containing information about the Parcels.
- Specified by:
getDelivery
in interfaceDeliveryAddedMessagePayload
- Returns:
- delivery
-
getShippingKey
User-defined unique identifier of the Shipping Method in a Cart with
Multiple
ShippingMode.- Specified by:
getShippingKey
in interfaceDeliveryAddedMessagePayload
- Returns:
- shippingKey
-
setDelivery
Description copied from interface:DeliveryAddedMessagePayload
Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional Parcel Added To Delivery Message containing information about the Parcels.
- Specified by:
setDelivery
in interfaceDeliveryAddedMessagePayload
- Parameters:
delivery
- value to be set
-
setShippingKey
Description copied from interface:DeliveryAddedMessagePayload
User-defined unique identifier of the Shipping Method in a Cart with
Multiple
ShippingMode.- Specified by:
setShippingKey
in interfaceDeliveryAddedMessagePayload
- Parameters:
shippingKey
- value to be set
-
equals
-
hashCode
public int hashCode()
-