Class StagedOrderRemoveLineItemActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderRemoveLineItemActionImpl
- All Implemented Interfaces:
StagedOrderRemoveLineItemAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderRemoveLineItemActionImpl
extends Object
implements StagedOrderRemoveLineItemAction, io.vrap.rmf.base.client.ModelBase
StagedOrderRemoveLineItemAction
-
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.StagedOrderRemoveLineItemAction
REMOVE_LINE_ITEM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Draft type that stores amounts only in cent precision for the specified currency.For order creation and updates, the sum of thetargets
must match the quantity of the Line Items or Custom Line Items.int
hashCode()
void
setExternalPrice
(Money externalPrice) Draft type that stores amounts only in cent precision for the specified currency.void
setExternalTotalPrice
(ExternalLineItemTotalPrice externalTotalPrice) set externalTotalPricevoid
setLineItemId
(String lineItemId) set lineItemIdvoid
setQuantity
(Long quantity) set quantityvoid
setShippingDetailsToRemove
(ItemShippingDetailsDraft shippingDetailsToRemove) For order creation and updates, the sum of thetargets
must match the quantity of the Line Items or Custom Line Items.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.StagedOrderRemoveLineItemAction
withStagedOrderRemoveLineItemAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderRemoveLineItemActionImpl
public StagedOrderRemoveLineItemActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getLineItemId
- Specified by:
getLineItemId
in interfaceStagedOrderRemoveLineItemAction
- Returns:
- lineItemId
-
getQuantity
- Specified by:
getQuantity
in interfaceStagedOrderRemoveLineItemAction
- Returns:
- quantity
-
getExternalPrice
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
getExternalPrice
in interfaceStagedOrderRemoveLineItemAction
- Returns:
- externalPrice
-
getExternalTotalPrice
- Specified by:
getExternalTotalPrice
in interfaceStagedOrderRemoveLineItemAction
- Returns:
- externalTotalPrice
-
getShippingDetailsToRemove
For order creation and updates, the sum of the
targets
must match the quantity of the Line Items or Custom Line Items.- Specified by:
getShippingDetailsToRemove
in interfaceStagedOrderRemoveLineItemAction
- Returns:
- shippingDetailsToRemove
-
setLineItemId
Description copied from interface:StagedOrderRemoveLineItemAction
set lineItemId- Specified by:
setLineItemId
in interfaceStagedOrderRemoveLineItemAction
- Parameters:
lineItemId
- value to be set
-
setQuantity
Description copied from interface:StagedOrderRemoveLineItemAction
set quantity- Specified by:
setQuantity
in interfaceStagedOrderRemoveLineItemAction
- Parameters:
quantity
- value to be set
-
setExternalPrice
Description copied from interface:StagedOrderRemoveLineItemAction
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
setExternalPrice
in interfaceStagedOrderRemoveLineItemAction
- Parameters:
externalPrice
- value to be set
-
setExternalTotalPrice
Description copied from interface:StagedOrderRemoveLineItemAction
set externalTotalPrice- Specified by:
setExternalTotalPrice
in interfaceStagedOrderRemoveLineItemAction
- Parameters:
externalTotalPrice
- value to be set
-
setShippingDetailsToRemove
Description copied from interface:StagedOrderRemoveLineItemAction
For order creation and updates, the sum of the
targets
must match the quantity of the Line Items or Custom Line Items.- Specified by:
setShippingDetailsToRemove
in interfaceStagedOrderRemoveLineItemAction
- Parameters:
shippingDetailsToRemove
- value to be set
-
equals
-
hashCode
-