Class OrderSetReturnItemCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetReturnItemCustomFieldActionImpl
- All Implemented Interfaces:
OrderSetReturnItemCustomFieldAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetReturnItemCustomFieldActionImpl
extends Object
implements OrderSetReturnItemCustomFieldAction, io.vrap.rmf.base.client.ModelBase
OrderSetReturnItemCustomFieldAction
-
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.OrderSetReturnItemCustomFieldAction
SET_RETURN_ITEM_CUSTOM_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name of the Custom Field.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) set returnItemIdvoid
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.order.OrderSetReturnItemCustomFieldAction
withOrderSetReturnItemCustomFieldAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetReturnItemCustomFieldActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getReturnItemId
- Specified by:
getReturnItemId
in interfaceOrderSetReturnItemCustomFieldAction
- Returns:
- returnItemId
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceOrderSetReturnItemCustomFieldAction
- 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 interfaceOrderSetReturnItemCustomFieldAction
- Returns:
- value
-
setReturnItemId
Description copied from interface:OrderSetReturnItemCustomFieldAction
set returnItemId- Specified by:
setReturnItemId
in interfaceOrderSetReturnItemCustomFieldAction
- Parameters:
returnItemId
- value to be set
-
setName
Description copied from interface:OrderSetReturnItemCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceOrderSetReturnItemCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:OrderSetReturnItemCustomFieldAction
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 interfaceOrderSetReturnItemCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
-