Interface OrderEstimatedDeliverySetMessage
- All Superinterfaces:
BaseResource,DomainResource<Message>,Identifiable<Message>,Message,OrderMessage,Versioned<Message>
Generated after a successful Set Estimated Delivery update action.
Example to create an instance using the builder pattern
OrderEstimatedDeliverySetMessage orderEstimatedDeliverySetMessage = OrderEstimatedDeliverySetMessage.builder()
.id("{id}")
.version(0.3)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.sequenceNumber(0.3)
.resource(resourceBuilder -> resourceBuilder)
.resourceVersion(0.3)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderEstimatedDeliverySetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderEstimatedDeliverySetMessagebuilder(OrderEstimatedDeliverySetMessage template) create builder for OrderEstimatedDeliverySetMessage instancecopyDeep()deepCopy(OrderEstimatedDeliverySetMessage template) factory method to create a deep copy of OrderEstimatedDeliverySetMessage@Valid EstimatedDeliveryEstimated delivery window on the Order after the Set Estimated Delivery update action.keyof the Shipping that was updated.of()factory methodof(OrderEstimatedDeliverySetMessage template) factory method to create a shallow copy OrderEstimatedDeliverySetMessagevoidsetEstimatedDelivery(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<OrderEstimatedDeliverySetMessage>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResourceMethods inherited from interface com.commercetools.api.models.DomainResource
getMethods inherited from interface com.commercetools.api.models.message.Message
getCreatedAt, getCreatedBy, getId, getLastModifiedAt, getLastModifiedBy, getResource, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, getVersion, setCreatedAt, setCreatedBy, setId, setLastModifiedAt, setLastModifiedBy, setResource, setResourceUserProvidedIdentifiers, setResourceVersion, setSequenceNumber, setVersion, withMessageMethods inherited from interface com.commercetools.api.models.message.OrderMessage
withOrderMessage
-
Field Details
-
ORDER_ESTIMATED_DELIVERY_SET
discriminator value for OrderEstimatedDeliverySetMessage- 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 OrderEstimatedDeliverySetMessage
-
of
factory method to create a shallow copy OrderEstimatedDeliverySetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderEstimatedDeliverySetMessage copyDeep()- Specified by:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin interfaceMessage- Specified by:
copyDeepin interfaceOrderMessage
-
deepCopy
@Nullable static OrderEstimatedDeliverySetMessage deepCopy(@Nullable OrderEstimatedDeliverySetMessage template) factory method to create a deep copy of OrderEstimatedDeliverySetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderEstimatedDeliverySetMessage- Returns:
- builder
-
builder
create builder for OrderEstimatedDeliverySetMessage instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderEstimatedDeliverySetMessage
default <T> T withOrderEstimatedDeliverySetMessage(Function<OrderEstimatedDeliverySetMessage, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-