Class StagedOrderSetCustomLineItemCustomFieldActionImpl
- All Implemented Interfaces:
StagedOrderSetCustomLineItemCustomFieldAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
-
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.StagedOrderSetCustomLineItemCustomFieldAction
SET_CUSTOM_LINE_ITEM_CUSTOM_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the CustomLineItem to update.key
of the CustomLineItem to update.getName()
Name of the Custom Field.getValue()
Ifvalue
is absent ornull
, this field will be removed if it exists.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.void
setCustomLineItemKey
(String customLineItemKey) key
of the CustomLineItem to update.void
Name of the Custom Field.void
Ifvalue
is absent ornull
, this field will be removed if it exists.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.StagedOrderSetCustomLineItemCustomFieldAction
withStagedOrderSetCustomLineItemCustomFieldAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetCustomLineItemCustomFieldActionImpl
public StagedOrderSetCustomLineItemCustomFieldActionImpl()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 interfaceStagedOrderSetCustomLineItemCustomFieldAction
- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemKey
in interfaceStagedOrderSetCustomLineItemCustomFieldAction
- Returns:
- customLineItemKey
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceStagedOrderSetCustomLineItemCustomFieldAction
- Returns:
- name
-
getValue
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Specified by:
getValue
in interfaceStagedOrderSetCustomLineItemCustomFieldAction
- Returns:
- value
-
setCustomLineItemId
Description copied from interface:StagedOrderSetCustomLineItemCustomFieldAction
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemId
in interfaceStagedOrderSetCustomLineItemCustomFieldAction
- Parameters:
customLineItemId
- value to be set
-
setCustomLineItemKey
Description copied from interface:StagedOrderSetCustomLineItemCustomFieldAction
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemKey
in interfaceStagedOrderSetCustomLineItemCustomFieldAction
- Parameters:
customLineItemKey
- value to be set
-
setName
Description copied from interface:StagedOrderSetCustomLineItemCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceStagedOrderSetCustomLineItemCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:StagedOrderSetCustomLineItemCustomFieldAction
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Specified by:
setValue
in interfaceStagedOrderSetCustomLineItemCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode()
-