Class OrderImportCustomLineItemStateActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderImportCustomLineItemStateActionImpl
- All Implemented Interfaces:
OrderImportCustomLineItemStateAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderImportCustomLineItemStateActionImpl
extends Object
implements OrderImportCustomLineItemStateAction, 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
in 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.OrderImportCustomLineItemStateAction
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.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderImportCustomLineItemStateAction
withOrderImportCustomLineItemStateAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderImportCustomLineItemStateActionImpl
public OrderImportCustomLineItemStateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getCustomLineItemId
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemId
in interfaceOrderImportCustomLineItemStateAction
- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemKey
in interfaceOrderImportCustomLineItemStateAction
- Returns:
- customLineItemKey
-
getState
New status of the Custom Line Items.
- Specified by:
getState
in interfaceOrderImportCustomLineItemStateAction
- Returns:
- state
-
setCustomLineItemId
Description copied from interface:OrderImportCustomLineItemStateAction
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemId
in interfaceOrderImportCustomLineItemStateAction
- Parameters:
customLineItemId
- value to be set
-
setCustomLineItemKey
Description copied from interface:OrderImportCustomLineItemStateAction
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemKey
in interfaceOrderImportCustomLineItemStateAction
- Parameters:
customLineItemKey
- value to be set
-
setState
Description copied from interface:OrderImportCustomLineItemStateAction
New status of the Custom Line Items.
- Specified by:
setState
in interfaceOrderImportCustomLineItemStateAction
- Parameters:
state
- values to be set
-
setState
Description copied from interface:OrderImportCustomLineItemStateAction
New status of the Custom Line Items.
- Specified by:
setState
in interfaceOrderImportCustomLineItemStateAction
- Parameters:
state
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-