Class StagedOrderSetReturnItemCustomFieldActionImpl
- All Implemented Interfaces:
StagedOrderSetReturnItemCustomFieldAction
,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.StagedOrderSetReturnItemCustomFieldAction
SET_RETURN_ITEM_CUSTOM_FIELD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name of the Custom Field.id
of the ReturnItem to update.key
of the ReturnItem to update.getValue()
Ifvalue
is absent ornull
, this field will be removed if it exists.int
hashCode()
void
Name of the Custom Field.void
setReturnItemId
(String returnItemId) id
of the ReturnItem to update.void
setReturnItemKey
(String returnItemKey) key
of the ReturnItem to update.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.StagedOrderSetReturnItemCustomFieldAction
withStagedOrderSetReturnItemCustomFieldAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetReturnItemCustomFieldActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getReturnItemId
id
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
getReturnItemId
in interfaceStagedOrderSetReturnItemCustomFieldAction
- Returns:
- returnItemId
-
getReturnItemKey
key
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
getReturnItemKey
in interfaceStagedOrderSetReturnItemCustomFieldAction
- Returns:
- returnItemKey
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceStagedOrderSetReturnItemCustomFieldAction
- 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 interfaceStagedOrderSetReturnItemCustomFieldAction
- Returns:
- value
-
setReturnItemId
Description copied from interface:StagedOrderSetReturnItemCustomFieldAction
id
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
setReturnItemId
in interfaceStagedOrderSetReturnItemCustomFieldAction
- Parameters:
returnItemId
- value to be set
-
setReturnItemKey
Description copied from interface:StagedOrderSetReturnItemCustomFieldAction
key
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
setReturnItemKey
in interfaceStagedOrderSetReturnItemCustomFieldAction
- Parameters:
returnItemKey
- value to be set
-
setName
Description copied from interface:StagedOrderSetReturnItemCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceStagedOrderSetReturnItemCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:StagedOrderSetReturnItemCustomFieldAction
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 interfaceStagedOrderSetReturnItemCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
-