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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderShippingRateInputSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderShippingRateInputSetMessagePayloadcreate builder for OrderShippingRateInputSetMessagePayload instancecopyDeep()factory method to create a deep copy of OrderShippingRateInputSetMessagePayload@Valid ShippingRateInputShippingRateInput before the Set ShippingRateInput update action.@Valid ShippingRateInputShippingRateInput after the Set ShippingRateInput update action.of()factory methodof(OrderShippingRateInputSetMessagePayload template) factory method to create a shallow copy OrderShippingRateInputSetMessagePayloadvoidsetOldShippingRateInput(ShippingRateInput oldShippingRateInput) ShippingRateInput before the Set ShippingRateInput update action.voidsetShippingRateInput(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> TwithOrderShippingRateInputSetMessagePayload(Function<OrderShippingRateInputSetMessagePayload, 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_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
-
copyDeep
OrderShippingRateInputSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload- Specified by:
copyDeepin interfaceOrderMessagePayload
-
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
-