Class ProductPricesSetMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.ProductPricesSetMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload
,ProductPricesSetMessagePayload
,io.vrap.rmf.base.client.ModelBase
public class ProductPricesSetMessagePayloadImpl
extends Object
implements ProductPricesSetMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Set Embedded Prices update action.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.message.ProductPricesSetMessagePayload
PRODUCT_PRICES_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The Embedded Prices that were set on the ProductVariant.Whether the update was only applied to the staged Product Projection.getType()
Unique identifier of the ProductVariant for which the Price was set.int
hashCode()
void
The Embedded Prices that were set on the ProductVariant.void
The Embedded Prices that were set on the ProductVariant.void
Whether the update was only applied to the staged Product Projection.void
setVariantId
(Long variantId) Unique identifier of the ProductVariant for which the Price was set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.message.ProductPricesSetMessagePayload
withProductPricesSetMessagePayload
-
Constructor Details
-
ProductPricesSetMessagePayloadImpl
public ProductPricesSetMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getVariantId
Unique identifier of the ProductVariant for which the Price was set.
- Specified by:
getVariantId
in interfaceProductPricesSetMessagePayload
- Returns:
- variantId
-
getPrices
The Embedded Prices that were set on the ProductVariant.
- Specified by:
getPrices
in interfaceProductPricesSetMessagePayload
- Returns:
- prices
-
getStaged
Whether the update was only applied to the staged Product Projection.
- Specified by:
getStaged
in interfaceProductPricesSetMessagePayload
- Returns:
- staged
-
setVariantId
Description copied from interface:ProductPricesSetMessagePayload
Unique identifier of the ProductVariant for which the Price was set.
- Specified by:
setVariantId
in interfaceProductPricesSetMessagePayload
- Parameters:
variantId
- value to be set
-
setPrices
Description copied from interface:ProductPricesSetMessagePayload
The Embedded Prices that were set on the ProductVariant.
- Specified by:
setPrices
in interfaceProductPricesSetMessagePayload
- Parameters:
prices
- values to be set
-
setPrices
Description copied from interface:ProductPricesSetMessagePayload
The Embedded Prices that were set on the ProductVariant.
- Specified by:
setPrices
in interfaceProductPricesSetMessagePayload
- Parameters:
prices
- values to be set
-
setStaged
Description copied from interface:ProductPricesSetMessagePayload
Whether the update was only applied to the staged Product Projection.
- Specified by:
setStaged
in interfaceProductPricesSetMessagePayload
- Parameters:
staged
- value to be set
-
equals
-
hashCode
-