Interface StandalonePriceTierRemovedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Remove Price Tier update action
Example to create an instance using the builder pattern
StandalonePriceTierRemovedMessagePayload standalonePriceTierRemovedMessagePayload = StandalonePriceTierRemovedMessagePayload.builder()
.removedTier(removedTierBuilder -> removedTierBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StandalonePriceTierRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StandalonePriceTierRemovedMessagePayloadcreate builder for StandalonePriceTierRemovedMessagePayload instancefactory method to create a deep copy of StandalonePriceTierRemovedMessagePayload@NotNull @Valid PriceTier
The Price Tier that has been removed from the array fieldtiers
for the StandalonePrice.of()
factory methodof
(StandalonePriceTierRemovedMessagePayload template) factory method to create a shallow copy StandalonePriceTierRemovedMessagePayloadvoid
setRemovedTier
(PriceTier removedTier) The Price Tier that has been removed from the array fieldtiers
for the StandalonePrice.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceTierRemovedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStandalonePriceTierRemovedMessagePayload
(Function<StandalonePriceTierRemovedMessagePayload, 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_TIER_REMOVED
discriminator value for StandalonePriceTierRemovedMessagePayload- See Also:
-
-
Method Details
-
getRemovedTier
The Price Tier that has been removed from the array field
tiers
for the StandalonePrice.- Returns:
- removedTier
-
setRemovedTier
The Price Tier that has been removed from the array field
tiers
for the StandalonePrice.- Parameters:
removedTier
- value to be set
-
of
factory method- Returns:
- instance of StandalonePriceTierRemovedMessagePayload
-
of
static StandalonePriceTierRemovedMessagePayload of(StandalonePriceTierRemovedMessagePayload template) factory method to create a shallow copy StandalonePriceTierRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StandalonePriceTierRemovedMessagePayload deepCopy(@Nullable StandalonePriceTierRemovedMessagePayload template) factory method to create a deep copy of StandalonePriceTierRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceTierRemovedMessagePayload- Returns:
- builder
-
builder
static StandalonePriceTierRemovedMessagePayloadBuilder builder(StandalonePriceTierRemovedMessagePayload template) create builder for StandalonePriceTierRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceTierRemovedMessagePayload
default <T> T withStandalonePriceTierRemovedMessagePayload(Function<StandalonePriceTierRemovedMessagePayload, 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<StandalonePriceTierRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-