Class CartChangeCustomLineItemPriceModeActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartChangeCustomLineItemPriceModeActionImpl
- All Implemented Interfaces:
CartChangeCustomLineItemPriceModeAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartChangeCustomLineItemPriceModeActionImpl
extends Object
implements CartChangeCustomLineItemPriceModeAction, io.vrap.rmf.base.client.ModelBase
CartChangeCustomLineItemPriceModeAction
-
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.cart.CartChangeCustomLineItemPriceModeAction
CHANGE_CUSTOM_LINE_ITEM_PRICE_MODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the CustomLineItem to update.key
of the CustomLineItem to update.getMode()
New value to set.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.void
setCustomLineItemKey
(String customLineItemKey) key
of the CustomLineItem to update.void
New value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartChangeCustomLineItemPriceModeAction
withCartChangeCustomLineItemPriceModeAction
Methods inherited from interface com.commercetools.api.models.cart.CartUpdateAction
withCartUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CartChangeCustomLineItemPriceModeActionImpl
public CartChangeCustomLineItemPriceModeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getCustomLineItemId
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemId
in interfaceCartChangeCustomLineItemPriceModeAction
- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemKey
in interfaceCartChangeCustomLineItemPriceModeAction
- Returns:
- customLineItemKey
-
getMode
New value to set. Must not be empty.
- Specified by:
getMode
in interfaceCartChangeCustomLineItemPriceModeAction
- Returns:
- mode
-
setCustomLineItemId
Description copied from interface:CartChangeCustomLineItemPriceModeAction
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemId
in interfaceCartChangeCustomLineItemPriceModeAction
- Parameters:
customLineItemId
- value to be set
-
setCustomLineItemKey
Description copied from interface:CartChangeCustomLineItemPriceModeAction
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemKey
in interfaceCartChangeCustomLineItemPriceModeAction
- Parameters:
customLineItemKey
- value to be set
-
setMode
Description copied from interface:CartChangeCustomLineItemPriceModeAction
New value to set. Must not be empty.
- Specified by:
setMode
in interfaceCartChangeCustomLineItemPriceModeAction
- Parameters:
mode
- value to be set
-
equals
-
hashCode
public int hashCode()
-