Class StagedOrderSetLineItemPriceActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetLineItemPriceActionImpl
- All Implemented Interfaces:
StagedOrderSetLineItemPriceAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetLineItemPriceActionImpl
extends Object
implements StagedOrderSetLineItemPriceAction, io.vrap.rmf.base.client.ModelBase
StagedOrderSetLineItemPriceAction
-
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.StagedOrderSetLineItemPriceAction
SET_LINE_ITEM_PRICE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Draft type that stores amounts only in cent precision for the specified currency.id
of the LineItem to update.key
of the LineItem to update.int
hashCode()
void
setExternalPrice
(Money externalPrice) Draft type that stores amounts only in cent precision for the specified currency.void
setLineItemId
(String lineItemId) id
of the LineItem to update.void
setLineItemKey
(String lineItemKey) key
of the LineItem 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.StagedOrderSetLineItemPriceAction
withStagedOrderSetLineItemPriceAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetLineItemPriceActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getLineItemId
id
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemId
in interfaceStagedOrderSetLineItemPriceAction
- Returns:
- lineItemId
-
getLineItemKey
key
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemKey
in interfaceStagedOrderSetLineItemPriceAction
- Returns:
- lineItemKey
-
getExternalPrice
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
getExternalPrice
in interfaceStagedOrderSetLineItemPriceAction
- Returns:
- externalPrice
-
setLineItemId
Description copied from interface:StagedOrderSetLineItemPriceAction
id
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemId
in interfaceStagedOrderSetLineItemPriceAction
- Parameters:
lineItemId
- value to be set
-
setLineItemKey
Description copied from interface:StagedOrderSetLineItemPriceAction
key
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemKey
in interfaceStagedOrderSetLineItemPriceAction
- Parameters:
lineItemKey
- value to be set
-
setExternalPrice
Description copied from interface:StagedOrderSetLineItemPriceAction
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
setExternalPrice
in interfaceStagedOrderSetLineItemPriceAction
- Parameters:
externalPrice
- value to be set
-
equals
-
hashCode
-