Class StagedOrderChangeLineItemQuantityActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderChangeLineItemQuantityActionImpl
- All Implemented Interfaces:
StagedOrderChangeLineItemQuantityAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderChangeLineItemQuantityActionImpl
extends Object
implements StagedOrderChangeLineItemQuantityAction, io.vrap.rmf.base.client.ModelBase
StagedOrderChangeLineItemQuantityAction
-
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.StagedOrderChangeLineItemQuantityAction
CHANGE_LINE_ITEM_QUANTITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Draft type that stores amounts only in cent precision for the specified currency.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 quantityMethods 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.StagedOrderChangeLineItemQuantityAction
withStagedOrderChangeLineItemQuantityAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderChangeLineItemQuantityActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getLineItemId
- Specified by:
getLineItemId
in interfaceStagedOrderChangeLineItemQuantityAction
- Returns:
- lineItemId
-
getQuantity
- Specified by:
getQuantity
in interfaceStagedOrderChangeLineItemQuantityAction
- Returns:
- quantity
-
getExternalPrice
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
getExternalPrice
in interfaceStagedOrderChangeLineItemQuantityAction
- Returns:
- externalPrice
-
getExternalTotalPrice
- Specified by:
getExternalTotalPrice
in interfaceStagedOrderChangeLineItemQuantityAction
- Returns:
- externalTotalPrice
-
setLineItemId
Description copied from interface:StagedOrderChangeLineItemQuantityAction
set lineItemId- Specified by:
setLineItemId
in interfaceStagedOrderChangeLineItemQuantityAction
- Parameters:
lineItemId
- value to be set
-
setQuantity
Description copied from interface:StagedOrderChangeLineItemQuantityAction
set quantity- Specified by:
setQuantity
in interfaceStagedOrderChangeLineItemQuantityAction
- Parameters:
quantity
- value to be set
-
setExternalPrice
Description copied from interface:StagedOrderChangeLineItemQuantityAction
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
setExternalPrice
in interfaceStagedOrderChangeLineItemQuantityAction
- Parameters:
externalPrice
- value to be set
-
setExternalTotalPrice
Description copied from interface:StagedOrderChangeLineItemQuantityAction
set externalTotalPrice- Specified by:
setExternalTotalPrice
in interfaceStagedOrderChangeLineItemQuantityAction
- Parameters:
externalTotalPrice
- value to be set
-
equals
-
hashCode
-