Class StagedOrderImportCustomLineItemStateActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderImportCustomLineItemStateActionImpl
- All Implemented Interfaces:
StagedOrderImportCustomLineItemStateAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderImportCustomLineItemStateActionImpl
extends Object
implements StagedOrderImportCustomLineItemStateAction, io.vrap.rmf.base.client.ModelBase
The import of States does not follow any predefined rules and should be only used if no transitions are defined. The quantity
of the ItemStates must match the sum of all Custom Line Item states' quantities.
-
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.StagedOrderImportCustomLineItemStateAction
IMPORT_CUSTOM_LINE_ITEM_STATE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the CustomLineItem to update.key
of the CustomLineItem to update.getState()
New status of the Custom Line Items.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.void
setCustomLineItemKey
(String customLineItemKey) key
of the CustomLineItem to update.void
New status of the Custom Line Items.void
New status of the 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.StagedOrderImportCustomLineItemStateAction
withStagedOrderImportCustomLineItemStateAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderImportCustomLineItemStateActionImpl
public StagedOrderImportCustomLineItemStateActionImpl()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 interfaceStagedOrderImportCustomLineItemStateAction
- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemKey
in interfaceStagedOrderImportCustomLineItemStateAction
- Returns:
- customLineItemKey
-
getState
New status of the Custom Line Items.
- Specified by:
getState
in interfaceStagedOrderImportCustomLineItemStateAction
- Returns:
- state
-
setCustomLineItemId
Description copied from interface:StagedOrderImportCustomLineItemStateAction
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemId
in interfaceStagedOrderImportCustomLineItemStateAction
- Parameters:
customLineItemId
- value to be set
-
setCustomLineItemKey
Description copied from interface:StagedOrderImportCustomLineItemStateAction
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemKey
in interfaceStagedOrderImportCustomLineItemStateAction
- Parameters:
customLineItemKey
- value to be set
-
setState
Description copied from interface:StagedOrderImportCustomLineItemStateAction
New status of the Custom Line Items.
- Specified by:
setState
in interfaceStagedOrderImportCustomLineItemStateAction
- Parameters:
state
- values to be set
-
setState
Description copied from interface:StagedOrderImportCustomLineItemStateAction
New status of the Custom Line Items.
- Specified by:
setState
in interfaceStagedOrderImportCustomLineItemStateAction
- Parameters:
state
- values to be set
-
equals
-
hashCode
public int hashCode()
-