Class CartRemoveCustomLineItemActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartRemoveCustomLineItemActionImpl
- All Implemented Interfaces:
CartRemoveCustomLineItemAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartRemoveCustomLineItemActionImpl
extends Object
implements CartRemoveCustomLineItemAction, io.vrap.rmf.base.client.ModelBase
This update action does not support specifying quantities, unlike the Remove LineItem update action.
If shippingDetails
must be partially removed, use the Change CustomLineItem Quantity update action.
-
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.CartRemoveCustomLineItemAction
REMOVE_CUSTOM_LINE_ITEM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the Custom Line Item to remove.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the Custom Line Item to remove.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartRemoveCustomLineItemAction
withCartRemoveCustomLineItemAction
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
-
CartRemoveCustomLineItemActionImpl
public CartRemoveCustomLineItemActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getCustomLineItemId
id
of the Custom Line Item to remove.- Specified by:
getCustomLineItemId
in interfaceCartRemoveCustomLineItemAction
- Returns:
- customLineItemId
-
setCustomLineItemId
Description copied from interface:CartRemoveCustomLineItemAction
id
of the Custom Line Item to remove.- Specified by:
setCustomLineItemId
in interfaceCartRemoveCustomLineItemAction
- Parameters:
customLineItemId
- value to be set
-
equals
-
hashCode
-