Interface StandalonePriceKeySetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Key update action.
Example to create an instance using the builder pattern
StandalonePriceKeySetMessagePayload standalonePriceKeySetMessagePayload = StandalonePriceKeySetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StandalonePriceKeySetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StandalonePriceKeySetMessagePayloadbuilder
(StandalonePriceKeySetMessagePayload template) create builder for StandalonePriceKeySetMessagePayload instancedeepCopy
(StandalonePriceKeySetMessagePayload template) factory method to create a deep copy of StandalonePriceKeySetMessagePayloadgetKey()
key
value of the StandalonePrice after the Set Key update action.key
value of the StandalonePrice before the Set Key update action.of()
factory methodof
(StandalonePriceKeySetMessagePayload template) factory method to create a shallow copy StandalonePriceKeySetMessagePayloadvoid
key
value of the StandalonePrice after the Set Key update action.void
key
value of the StandalonePrice before the Set Key update action.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceKeySetMessagePayload>
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
-
STANDALONE_PRICE_KEY_SET
discriminator value for StandalonePriceKeySetMessagePayload- See Also:
-
-
Method Details
-
getKey
String getKey()key
value of the StandalonePrice after the Set Key update action.- Returns:
- key
-
getOldKey
String getOldKey()key
value of the StandalonePrice before the Set Key update action.- Returns:
- oldKey
-
setKey
key
value of the StandalonePrice after the Set Key update action.- Parameters:
key
- value to be set
-
setOldKey
key
value of the StandalonePrice before the Set Key update action.- Parameters:
oldKey
- value to be set
-
of
factory method- Returns:
- instance of StandalonePriceKeySetMessagePayload
-
of
factory method to create a shallow copy StandalonePriceKeySetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StandalonePriceKeySetMessagePayload deepCopy(@Nullable StandalonePriceKeySetMessagePayload template) factory method to create a deep copy of StandalonePriceKeySetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceKeySetMessagePayload- Returns:
- builder
-
builder
static StandalonePriceKeySetMessagePayloadBuilder builder(StandalonePriceKeySetMessagePayload template) create builder for StandalonePriceKeySetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceKeySetMessagePayload
default <T> T withStandalonePriceKeySetMessagePayload(Function<StandalonePriceKeySetMessagePayload, 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<StandalonePriceKeySetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-