Class ProductPriceDiscountsSetUpdatedPriceImpl
- All Implemented Interfaces:
ProductPriceDiscountsSetUpdatedPrice
,io.vrap.rmf.base.client.ModelBase
Details about a Embedded Price that was updated due to a Discount. Specific to Product Price Discounts Set Message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Discounted Price for the ProductVariant for which Discount was set.Unique identifier of the Price.getSku()
SKU of the ProductVariant for which Discount was set.Whether the update was only applied to the staged ProductProjection.Unique identifier of the ProductVariant for which the Discount was set.Key of the ProductVariant for which Discount was set.int
hashCode()
void
setDiscounted
(DiscountedPrice discounted) Discounted Price for the ProductVariant for which Discount was set.void
setPriceId
(String priceId) Unique identifier of the Price.void
SKU of the ProductVariant for which Discount was set.void
Whether the update was only applied to the staged ProductProjection.void
setVariantId
(Integer variantId) Unique identifier of the ProductVariant for which the Discount was set.void
setVariantKey
(String variantKey) Key of the ProductVariant for which Discount was set.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.message.ProductPriceDiscountsSetUpdatedPrice
withProductPriceDiscountsSetUpdatedPrice
-
Constructor Details
-
ProductPriceDiscountsSetUpdatedPriceImpl
public ProductPriceDiscountsSetUpdatedPriceImpl()create empty instance
-
-
Method Details
-
getVariantId
Unique identifier of the ProductVariant for which the Discount was set.
- Specified by:
getVariantId
in interfaceProductPriceDiscountsSetUpdatedPrice
- Returns:
- variantId
-
getVariantKey
Key of the ProductVariant for which Discount was set.
- Specified by:
getVariantKey
in interfaceProductPriceDiscountsSetUpdatedPrice
- Returns:
- variantKey
-
getSku
SKU of the ProductVariant for which Discount was set.
- Specified by:
getSku
in interfaceProductPriceDiscountsSetUpdatedPrice
- Returns:
- sku
-
getPriceId
Unique identifier of the Price.
- Specified by:
getPriceId
in interfaceProductPriceDiscountsSetUpdatedPrice
- Returns:
- priceId
-
getDiscounted
Discounted Price for the ProductVariant for which Discount was set.
- Specified by:
getDiscounted
in interfaceProductPriceDiscountsSetUpdatedPrice
- Returns:
- discounted
-
getStaged
Whether the update was only applied to the staged ProductProjection.
- Specified by:
getStaged
in interfaceProductPriceDiscountsSetUpdatedPrice
- Returns:
- staged
-
setVariantId
Description copied from interface:ProductPriceDiscountsSetUpdatedPrice
Unique identifier of the ProductVariant for which the Discount was set.
- Specified by:
setVariantId
in interfaceProductPriceDiscountsSetUpdatedPrice
- Parameters:
variantId
- value to be set
-
setVariantKey
Description copied from interface:ProductPriceDiscountsSetUpdatedPrice
Key of the ProductVariant for which Discount was set.
- Specified by:
setVariantKey
in interfaceProductPriceDiscountsSetUpdatedPrice
- Parameters:
variantKey
- value to be set
-
setSku
Description copied from interface:ProductPriceDiscountsSetUpdatedPrice
SKU of the ProductVariant for which Discount was set.
- Specified by:
setSku
in interfaceProductPriceDiscountsSetUpdatedPrice
- Parameters:
sku
- value to be set
-
setPriceId
Description copied from interface:ProductPriceDiscountsSetUpdatedPrice
Unique identifier of the Price.
- Specified by:
setPriceId
in interfaceProductPriceDiscountsSetUpdatedPrice
- Parameters:
priceId
- value to be set
-
setDiscounted
Description copied from interface:ProductPriceDiscountsSetUpdatedPrice
Discounted Price for the ProductVariant for which Discount was set.
- Specified by:
setDiscounted
in interfaceProductPriceDiscountsSetUpdatedPrice
- Parameters:
discounted
- value to be set
-
setStaged
Description copied from interface:ProductPriceDiscountsSetUpdatedPrice
Whether the update was only applied to the staged ProductProjection.
- Specified by:
setStaged
in interfaceProductPriceDiscountsSetUpdatedPrice
- Parameters:
staged
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-