Interface OrderEstimatedDeliverySetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin,OrderMessagePayload
Generated after a successful Set Estimated Delivery update action.
Example to create an instance using the builder pattern
OrderEstimatedDeliverySetMessagePayload orderEstimatedDeliverySetMessagePayload = OrderEstimatedDeliverySetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderEstimatedDeliverySetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderEstimatedDeliverySetMessagePayloadcreate builder for OrderEstimatedDeliverySetMessagePayload instancecopyDeep()factory method to create a deep copy of OrderEstimatedDeliverySetMessagePayload@Valid EstimatedDeliveryEstimated delivery window on the Order after the Set Estimated Delivery update action.keyof the Shipping that was updated.of()factory methodof(OrderEstimatedDeliverySetMessagePayload template) factory method to create a shallow copy OrderEstimatedDeliverySetMessagePayloadvoidsetEstimatedDelivery(EstimatedDelivery estimatedDelivery) Estimated delivery window on the Order after the Set Estimated Delivery update action.voidsetShippingKey(String shippingKey) keyof the Shipping that was updated.static tools.jackson.core.type.TypeReference<OrderEstimatedDeliverySetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithOrderEstimatedDeliverySetMessagePayload(Function<OrderEstimatedDeliverySetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
asMethods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Field Details
-
ORDER_ESTIMATED_DELIVERY_SET
discriminator value for OrderEstimatedDeliverySetMessagePayload- See Also:
-
-
Method Details
-
getEstimatedDelivery
Estimated delivery window on the Order after the Set Estimated Delivery update action.
- Returns:
- estimatedDelivery
-
getShippingKey
String getShippingKey()keyof the Shipping that was updated. Only present for Orders withMultipleShippingMode.- Returns:
- shippingKey
-
setEstimatedDelivery
Estimated delivery window on the Order after the Set Estimated Delivery update action.
- Parameters:
estimatedDelivery- value to be set
-
setShippingKey
keyof the Shipping that was updated. Only present for Orders withMultipleShippingMode.- Parameters:
shippingKey- value to be set
-
of
factory method- Returns:
- instance of OrderEstimatedDeliverySetMessagePayload
-
of
factory method to create a shallow copy OrderEstimatedDeliverySetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderEstimatedDeliverySetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload- Specified by:
copyDeepin interfaceOrderMessagePayload
-
deepCopy
@Nullable static OrderEstimatedDeliverySetMessagePayload deepCopy(@Nullable OrderEstimatedDeliverySetMessagePayload template) factory method to create a deep copy of OrderEstimatedDeliverySetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderEstimatedDeliverySetMessagePayload- Returns:
- builder
-
builder
static OrderEstimatedDeliverySetMessagePayloadBuilder builder(OrderEstimatedDeliverySetMessagePayload template) create builder for OrderEstimatedDeliverySetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderEstimatedDeliverySetMessagePayload
default <T> T withOrderEstimatedDeliverySetMessagePayload(Function<OrderEstimatedDeliverySetMessagePayload, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static tools.jackson.core.type.TypeReference<OrderEstimatedDeliverySetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-