Class ProductSetPriceModeActionImpl
java.lang.Object
com.commercetools.api.models.product.ProductSetPriceModeActionImpl
- All Implemented Interfaces:
ProductSetPriceModeAction
,ProductUpdateAction
,ResourceUpdateAction<ProductUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductSetPriceModeActionImpl
extends Object
implements ProductSetPriceModeAction, io.vrap.rmf.base.client.ModelBase
Controls whether the Prices of a Product Variant are embedded into the Product or standalone.
-
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.product.ProductSetPriceModeAction
SET_PRICE_MODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Specifies which type of Prices should be used when looking up a price for the Product.int
hashCode()
void
setPriceMode
(ProductPriceModeEnum priceMode) Specifies which type of Prices should be used when looking up a price for the Product.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product.ProductSetPriceModeAction
withProductSetPriceModeAction
Methods inherited from interface com.commercetools.api.models.product.ProductUpdateAction
withProductUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductSetPriceModeActionImpl
public ProductSetPriceModeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductUpdateAction>
- Returns:
- action
-
getPriceMode
Specifies which type of Prices should be used when looking up a price for the Product.
- Specified by:
getPriceMode
in interfaceProductSetPriceModeAction
- Returns:
- priceMode
-
setPriceMode
Description copied from interface:ProductSetPriceModeAction
Specifies which type of Prices should be used when looking up a price for the Product.
- Specified by:
setPriceMode
in interfaceProductSetPriceModeAction
- Parameters:
priceMode
- value to be set
-
equals
-
hashCode
-