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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StandalonePriceKeySetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StandalonePriceKeySetMessagePayloadbuilder(StandalonePriceKeySetMessagePayload template) create builder for StandalonePriceKeySetMessagePayload instancecopyDeep()deepCopy(StandalonePriceKeySetMessagePayload template) factory method to create a deep copy of StandalonePriceKeySetMessagePayloadgetKey()of()factory methodof(StandalonePriceKeySetMessagePayload template) factory method to create a shallow copy StandalonePriceKeySetMessagePayloadvoidvoidstatic com.fasterxml.jackson.core.type.TypeReference<StandalonePriceKeySetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods 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()keyvalue of the StandalonePrice after the Set Key update action.- Returns:
- key
-
getOldKey
String getOldKey()keyvalue of the StandalonePrice before the Set Key update action.- Returns:
- oldKey
-
setKey
keyvalue of the StandalonePrice after the Set Key update action.- Parameters:
key- value to be set
-
setOldKey
keyvalue 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
-
copyDeep
StandalonePriceKeySetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
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
-