Interface OrderShippingRateInputSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
,OrderMessagePayload
Generated after a successful Set ShippingRateInput update action.
Example to create an instance using the builder pattern
OrderShippingRateInputSetMessagePayload orderShippingRateInputSetMessagePayload = OrderShippingRateInputSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderShippingRateInputSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderShippingRateInputSetMessagePayloadcreate builder for OrderShippingRateInputSetMessagePayload instancefactory method to create a deep copy of OrderShippingRateInputSetMessagePayload@Valid ShippingRateInput
ShippingRateInput before the Set ShippingRateInput update action.@Valid ShippingRateInput
ShippingRateInput after the Set ShippingRateInput update action.of()
factory methodof
(OrderShippingRateInputSetMessagePayload template) factory method to create a shallow copy OrderShippingRateInputSetMessagePayloadvoid
setOldShippingRateInput
(ShippingRateInput oldShippingRateInput) ShippingRateInput before the Set ShippingRateInput update action.void
setShippingRateInput
(ShippingRateInput shippingRateInput) ShippingRateInput after the Set ShippingRateInput update action.static com.fasterxml.jackson.core.type.TypeReference<OrderShippingRateInputSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withOrderShippingRateInputSetMessagePayload
(Function<OrderShippingRateInputSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
Methods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Field Details
-
ORDER_SHIPPING_RATE_INPUT_SET
discriminator value for OrderShippingRateInputSetMessagePayload- See Also:
-
-
Method Details
-
getShippingRateInput
ShippingRateInput after the Set ShippingRateInput update action.
- Returns:
- shippingRateInput
-
getOldShippingRateInput
ShippingRateInput before the Set ShippingRateInput update action.
- Returns:
- oldShippingRateInput
-
setShippingRateInput
ShippingRateInput after the Set ShippingRateInput update action.
- Parameters:
shippingRateInput
- value to be set
-
setOldShippingRateInput
ShippingRateInput before the Set ShippingRateInput update action.
- Parameters:
oldShippingRateInput
- value to be set
-
of
factory method- Returns:
- instance of OrderShippingRateInputSetMessagePayload
-
of
factory method to create a shallow copy OrderShippingRateInputSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderShippingRateInputSetMessagePayload deepCopy(@Nullable OrderShippingRateInputSetMessagePayload template) factory method to create a deep copy of OrderShippingRateInputSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderShippingRateInputSetMessagePayload- Returns:
- builder
-
builder
static OrderShippingRateInputSetMessagePayloadBuilder builder(OrderShippingRateInputSetMessagePayload template) create builder for OrderShippingRateInputSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderShippingRateInputSetMessagePayload
default <T> T withOrderShippingRateInputSetMessagePayload(Function<OrderShippingRateInputSetMessagePayload, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<OrderShippingRateInputSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-