Class StagedOrderRemoveCustomLineItemActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderRemoveCustomLineItemActionImpl
- All Implemented Interfaces:
StagedOrderRemoveCustomLineItemAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderRemoveCustomLineItemActionImpl
extends Object
implements StagedOrderRemoveCustomLineItemAction, io.vrap.rmf.base.client.ModelBase
This update action does not support specifying a quantity, 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.order_edit.StagedOrderRemoveCustomLineItemAction
REMOVE_CUSTOM_LINE_ITEM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the CustomLineItem to update.key
of the CustomLineItem to update.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.void
setCustomLineItemKey
(String customLineItemKey) key
of the CustomLineItem to update.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.order_edit.StagedOrderRemoveCustomLineItemAction
withStagedOrderRemoveCustomLineItemAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderRemoveCustomLineItemActionImpl
public StagedOrderRemoveCustomLineItemActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getCustomLineItemId
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemId
in interfaceStagedOrderRemoveCustomLineItemAction
- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemKey
in interfaceStagedOrderRemoveCustomLineItemAction
- Returns:
- customLineItemKey
-
setCustomLineItemId
Description copied from interface:StagedOrderRemoveCustomLineItemAction
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemId
in interfaceStagedOrderRemoveCustomLineItemAction
- Parameters:
customLineItemId
- value to be set
-
setCustomLineItemKey
Description copied from interface:StagedOrderRemoveCustomLineItemAction
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemKey
in interfaceStagedOrderRemoveCustomLineItemAction
- Parameters:
customLineItemKey
- value to be set
-
equals
-
hashCode
public int hashCode()
-