Interface StandalonePriceDeletedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Delete StandalonePrice request.
Example to create an instance using the builder pattern
StandalonePriceDeletedMessagePayload standalonePriceDeletedMessagePayload = StandalonePriceDeletedMessagePayload.builder()
.sku("{sku}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StandalonePriceDeletedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StandalonePriceDeletedMessagePayloadbuilder
(StandalonePriceDeletedMessagePayload template) create builder for StandalonePriceDeletedMessagePayload instancedeepCopy
(StandalonePriceDeletedMessagePayload template) factory method to create a deep copy of StandalonePriceDeletedMessagePayload@NotNull String
getSku()
SKU of the ProductVariant to which the deleted Standalone Price was associated.of()
factory methodof
(StandalonePriceDeletedMessagePayload template) factory method to create a shallow copy StandalonePriceDeletedMessagePayloadvoid
SKU of the ProductVariant to which the deleted Standalone Price was associated.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceDeletedMessagePayload>
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_DELETED
discriminator value for StandalonePriceDeletedMessagePayload- See Also:
-
-
Method Details
-
getSku
SKU of the ProductVariant to which the deleted Standalone Price was associated.
- Returns:
- sku
-
setSku
SKU of the ProductVariant to which the deleted Standalone Price was associated.
- Parameters:
sku
- value to be set
-
of
factory method- Returns:
- instance of StandalonePriceDeletedMessagePayload
-
of
factory method to create a shallow copy StandalonePriceDeletedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StandalonePriceDeletedMessagePayload deepCopy(@Nullable StandalonePriceDeletedMessagePayload template) factory method to create a deep copy of StandalonePriceDeletedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceDeletedMessagePayload- Returns:
- builder
-
builder
static StandalonePriceDeletedMessagePayloadBuilder builder(StandalonePriceDeletedMessagePayload template) create builder for StandalonePriceDeletedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceDeletedMessagePayload
default <T> T withStandalonePriceDeletedMessagePayload(Function<StandalonePriceDeletedMessagePayload, 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<StandalonePriceDeletedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-