Class ProductSetProductPriceCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.product.ProductSetProductPriceCustomTypeActionImpl
- All Implemented Interfaces:
ProductSetProductPriceCustomTypeAction
,ProductUpdateAction
,ResourceUpdateAction<ProductUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductSetProductPriceCustomTypeActionImpl
extends Object
implements ProductSetProductPriceCustomTypeAction, io.vrap.rmf.base.client.ModelBase
ProductSetProductPriceCustomTypeAction
-
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.ProductSetProductPriceCustomTypeAction
SET_PRODUCT_PRICE_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the Embedded Price.Theid
of the Embedded Price to update.Iftrue
, only the staged Embedded Price is updated.getType()
Defines the Type that extends the Price with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the Embedded Price.void
setPriceId
(String priceId) Theid
of the Embedded Price to update.void
Iftrue
, only the staged Embedded Price is updated.void
Defines the Type that extends the Price with Custom Fields.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product.ProductSetProductPriceCustomTypeAction
withProductSetProductPriceCustomTypeAction
Methods inherited from interface com.commercetools.api.models.product.ProductUpdateAction
withProductUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductSetProductPriceCustomTypeActionImpl
public ProductSetProductPriceCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductUpdateAction>
- Returns:
- action
-
getPriceId
The
id
of the Embedded Price to update.- Specified by:
getPriceId
in interfaceProductSetProductPriceCustomTypeAction
- Returns:
- priceId
-
getStaged
If
true
, only the staged Embedded Price is updated. Iffalse
, both the current and staged Embedded Price is updated.- Specified by:
getStaged
in interfaceProductSetProductPriceCustomTypeAction
- Returns:
- staged
-
getType
Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Embedded Price.
- Specified by:
getType
in interfaceProductSetProductPriceCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Embedded Price.
- Specified by:
getFields
in interfaceProductSetProductPriceCustomTypeAction
- Returns:
- fields
-
setPriceId
Description copied from interface:ProductSetProductPriceCustomTypeAction
The
id
of the Embedded Price to update.- Specified by:
setPriceId
in interfaceProductSetProductPriceCustomTypeAction
- Parameters:
priceId
- value to be set
-
setStaged
Description copied from interface:ProductSetProductPriceCustomTypeAction
If
true
, only the staged Embedded Price is updated. Iffalse
, both the current and staged Embedded Price is updated.- Specified by:
setStaged
in interfaceProductSetProductPriceCustomTypeAction
- Parameters:
staged
- value to be set
-
setType
Description copied from interface:ProductSetProductPriceCustomTypeAction
Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Embedded Price.
- Specified by:
setType
in interfaceProductSetProductPriceCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:ProductSetProductPriceCustomTypeAction
Sets the Custom Fields fields for the Embedded Price.
- Specified by:
setFields
in interfaceProductSetProductPriceCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-