Class StandalonePriceChangeValueActionImpl
java.lang.Object
com.commercetools.api.models.standalone_price.StandalonePriceChangeValueActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StandalonePriceUpdateAction>
,StandalonePriceChangeValueAction
,StandalonePriceUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StandalonePriceChangeValueActionImpl
extends Object
implements StandalonePriceChangeValueAction, io.vrap.rmf.base.client.ModelBase
Updating the value of a StandalonePrice produces the StandalonePriceValueChangedMessage.
-
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.standalone_price.StandalonePriceChangeValueAction
CHANGE_VALUE
-
Constructor Summary
-
Method Summary
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.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.standalone_price.StandalonePriceChangeValueAction
withStandalonePriceChangeValueAction
Methods inherited from interface com.commercetools.api.models.standalone_price.StandalonePriceUpdateAction
withStandalonePriceUpdateAction
-
Constructor Details
-
StandalonePriceChangeValueActionImpl
public StandalonePriceChangeValueActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StandalonePriceUpdateAction>
- Specified by:
getAction
in interfaceStandalonePriceUpdateAction
- Returns:
- action
-
getValue
New value to set. Must not be empty.
- Specified by:
getValue
in interfaceStandalonePriceChangeValueAction
- Returns:
- value
-
getStaged
If set to
true
the update action applies to the StagedStandalonePrice. If set tofalse
, the update action applies to the current StandalonePrice.- Specified by:
getStaged
in interfaceStandalonePriceChangeValueAction
- Returns:
- staged
-
setValue
Description copied from interface:StandalonePriceChangeValueAction
New value to set. Must not be empty.
- Specified by:
setValue
in interfaceStandalonePriceChangeValueAction
- Parameters:
value
- value to be set
-
setStaged
Description copied from interface:StandalonePriceChangeValueAction
If set to
true
the update action applies to the StagedStandalonePrice. If set tofalse
, the update action applies to the current StandalonePrice.- Specified by:
setStaged
in interfaceStandalonePriceChangeValueAction
- Parameters:
staged
- value to be set
-
equals
-
hashCode
-