Interface RecurringOrderKeySetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Key update action.
Example to create an instance using the builder pattern
RecurringOrderKeySetMessagePayload recurringOrderKeySetMessagePayload = RecurringOrderKeySetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for RecurringOrderKeySetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for RecurringOrderKeySetMessagePayloadbuilder
(RecurringOrderKeySetMessagePayload template) create builder for RecurringOrderKeySetMessagePayload instancecopyDeep()
deepCopy
(RecurringOrderKeySetMessagePayload template) factory method to create a deep copy of RecurringOrderKeySetMessagePayloadgetKey()
of()
factory methodof
(RecurringOrderKeySetMessagePayload template) factory method to create a shallow copy RecurringOrderKeySetMessagePayloadvoid
void
static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderKeySetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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
-
RECURRING_ORDER_KEY_SET
discriminator value for RecurringOrderKeySetMessagePayload- See Also:
-
-
Method Details
-
getKey
String getKey()key
value of the RecurringOrder after the Set Key update action.- Returns:
- key
-
getOldKey
String getOldKey()key
value of the RecurringOrder before the Set Key update action.- Returns:
- oldKey
-
setKey
key
value of the RecurringOrder after the Set Key update action.- Parameters:
key
- value to be set
-
setOldKey
key
value of the RecurringOrder before the Set Key update action.- Parameters:
oldKey
- value to be set
-
of
factory method- Returns:
- instance of RecurringOrderKeySetMessagePayload
-
of
factory method to create a shallow copy RecurringOrderKeySetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderKeySetMessagePayload copyDeep()- Specified by:
copyDeep
in interfaceMessagePayload
-
deepCopy
@Nullable static RecurringOrderKeySetMessagePayload deepCopy(@Nullable RecurringOrderKeySetMessagePayload template) factory method to create a deep copy of RecurringOrderKeySetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderKeySetMessagePayload- Returns:
- builder
-
builder
static RecurringOrderKeySetMessagePayloadBuilder builder(RecurringOrderKeySetMessagePayload template) create builder for RecurringOrderKeySetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderKeySetMessagePayload
default <T> T withRecurringOrderKeySetMessagePayload(Function<RecurringOrderKeySetMessagePayload, 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<RecurringOrderKeySetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-