Interface StandalonePriceStagedChangesAppliedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Apply Staged Changes update action.
Example to create an instance using the builder pattern
StandalonePriceStagedChangesAppliedMessagePayload standalonePriceStagedChangesAppliedMessagePayload = StandalonePriceStagedChangesAppliedMessagePayload.builder()
.stagedChanges(stagedChangesBuilder -> stagedChangesBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StandalonePriceStagedChangesAppliedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StandalonePriceStagedChangesAppliedMessagePayloadcreate builder for StandalonePriceStagedChangesAppliedMessagePayload instancefactory method to create a deep copy of StandalonePriceStagedChangesAppliedMessagePayload@NotNull @Valid StagedStandalonePrice
Applied changes of the StandalonePrice after the Apply Staged Changes update action.of()
factory methodfactory method to create a shallow copy StandalonePriceStagedChangesAppliedMessagePayloadvoid
setStagedChanges
(StagedStandalonePrice stagedChanges) Applied changes of the StandalonePrice after the Apply Staged Changes update action.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceStagedChangesAppliedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStandalonePriceStagedChangesAppliedMessagePayload
(Function<StandalonePriceStagedChangesAppliedMessagePayload, 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
-
STANDALONE_PRICE_STAGED_CHANGES_APPLIED
discriminator value for StandalonePriceStagedChangesAppliedMessagePayload- See Also:
-
-
Method Details
-
getStagedChanges
Applied changes of the StandalonePrice after the Apply Staged Changes update action.
- Returns:
- stagedChanges
-
setStagedChanges
Applied changes of the StandalonePrice after the Apply Staged Changes update action.
- Parameters:
stagedChanges
- value to be set
-
of
factory method- Returns:
- instance of StandalonePriceStagedChangesAppliedMessagePayload
-
of
static StandalonePriceStagedChangesAppliedMessagePayload of(StandalonePriceStagedChangesAppliedMessagePayload template) factory method to create a shallow copy StandalonePriceStagedChangesAppliedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StandalonePriceStagedChangesAppliedMessagePayload deepCopy(@Nullable StandalonePriceStagedChangesAppliedMessagePayload template) factory method to create a deep copy of StandalonePriceStagedChangesAppliedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceStagedChangesAppliedMessagePayload- Returns:
- builder
-
builder
static StandalonePriceStagedChangesAppliedMessagePayloadBuilder builder(StandalonePriceStagedChangesAppliedMessagePayload template) create builder for StandalonePriceStagedChangesAppliedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceStagedChangesAppliedMessagePayload
default <T> T withStandalonePriceStagedChangesAppliedMessagePayload(Function<StandalonePriceStagedChangesAppliedMessagePayload, 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<StandalonePriceStagedChangesAppliedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-