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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StandalonePriceTierRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StandalonePriceTierRemovedMessagePayloadcreate builder for StandalonePriceTierRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of StandalonePriceTierRemovedMessagePayload@NotNull @Valid PriceTierof()factory methodof(StandalonePriceTierRemovedMessagePayload template) factory method to create a shallow copy StandalonePriceTierRemovedMessagePayloadvoidsetRemovedTier(PriceTier removedTier) static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceTierRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStandalonePriceTierRemovedMessagePayload(Function<StandalonePriceTierRemovedMessagePayload, T> helper) accessor 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_TIER_REMOVED
discriminator value for StandalonePriceTierRemovedMessagePayload- See Also:
-
-
Method Details
-
getRemovedTier
The Price Tier that has been removed from the array field
tiersfor the StandalonePrice.- Returns:
- removedTier
-
setRemovedTier
The Price Tier that has been removed from the array field
tiersfor 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
-
copyDeep
StandalonePriceTierRemovedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
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
-