Interface DiscountGroupSortOrderSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set SortOrder update action.
Example to create an instance using the builder pattern
DiscountGroupSortOrderSetMessagePayload discountGroupSortOrderSetMessagePayload = DiscountGroupSortOrderSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for DiscountGroupSortOrderSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for DiscountGroupSortOrderSetMessagePayloadcreate builder for DiscountGroupSortOrderSetMessagePayload instancecopyDeep()
factory method to create a deep copy of DiscountGroupSortOrderSetMessagePayloadof()
factory methodof
(DiscountGroupSortOrderSetMessagePayload template) factory method to create a shallow copy DiscountGroupSortOrderSetMessagePayloadvoid
setOldSortOrder
(String oldSortOrder) void
setSortOrder
(String sortOrder) static com.fasterxml.jackson.core.type.TypeReference<DiscountGroupSortOrderSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withDiscountGroupSortOrderSetMessagePayload
(Function<DiscountGroupSortOrderSetMessagePayload, 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
-
Field Details
-
DISCOUNT_GROUP_SORT_ORDER_SET
discriminator value for DiscountGroupSortOrderSetMessagePayload- See Also:
-
-
Method Details
-
getSortOrder
String getSortOrder()sortOrder
value of the DiscountGroup after the Set SortOrder update action.- Returns:
- sortOrder
-
getOldSortOrder
String getOldSortOrder()sortOrder
value of the DiscountGroup before the Set SortOrder update action.- Returns:
- oldSortOrder
-
setSortOrder
sortOrder
value of the DiscountGroup after the Set SortOrder update action.- Parameters:
sortOrder
- value to be set
-
setOldSortOrder
sortOrder
value of the DiscountGroup before the Set SortOrder update action.- Parameters:
oldSortOrder
- value to be set
-
of
factory method- Returns:
- instance of DiscountGroupSortOrderSetMessagePayload
-
of
factory method to create a shallow copy DiscountGroupSortOrderSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
DiscountGroupSortOrderSetMessagePayload copyDeep()- Specified by:
copyDeep
in interfaceMessagePayload
-
deepCopy
@Nullable static DiscountGroupSortOrderSetMessagePayload deepCopy(@Nullable DiscountGroupSortOrderSetMessagePayload template) factory method to create a deep copy of DiscountGroupSortOrderSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for DiscountGroupSortOrderSetMessagePayload- Returns:
- builder
-
builder
static DiscountGroupSortOrderSetMessagePayloadBuilder builder(DiscountGroupSortOrderSetMessagePayload template) create builder for DiscountGroupSortOrderSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withDiscountGroupSortOrderSetMessagePayload
default <T> T withDiscountGroupSortOrderSetMessagePayload(Function<DiscountGroupSortOrderSetMessagePayload, 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<DiscountGroupSortOrderSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-