Class StagedOrderSetItemShippingAddressCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetItemShippingAddressCustomFieldActionImpl
- All Implemented Interfaces:
StagedOrderSetItemShippingAddressCustomFieldAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetItemShippingAddressCustomFieldActionImpl
extends Object
implements StagedOrderSetItemShippingAddressCustomFieldAction, io.vrap.rmf.base.client.ModelBase
StagedOrderSetItemShippingAddressCustomFieldAction
-
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.StagedOrderSetItemShippingAddressCustomFieldAction
SET_ITEM_SHIPPING_ADDRESS_CUSTOM_FIELD
-
Constructor Summary
ConstructorsConstructorDescriptioncreate empty instance -
Method Summary
Modifier and TypeMethodDescriptionboolean
key
of the Address initemShippingAddresses
.getName()
Name of the Custom Field.getValue()
Ifvalue
is absent ornull
, this field will be removed if it exists.int
hashCode()
void
setAddressKey
(String addressKey) key
of the Address initemShippingAddresses
.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.StagedOrderSetItemShippingAddressCustomFieldAction
withStagedOrderSetItemShippingAddressCustomFieldAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetItemShippingAddressCustomFieldActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getAddressKey
key
of the Address initemShippingAddresses
.- Specified by:
getAddressKey
in interfaceStagedOrderSetItemShippingAddressCustomFieldAction
- Returns:
- addressKey
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceStagedOrderSetItemShippingAddressCustomFieldAction
- 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 interfaceStagedOrderSetItemShippingAddressCustomFieldAction
- Returns:
- value
-
setAddressKey
Description copied from interface:StagedOrderSetItemShippingAddressCustomFieldAction
key
of the Address initemShippingAddresses
.- Specified by:
setAddressKey
in interfaceStagedOrderSetItemShippingAddressCustomFieldAction
- Parameters:
addressKey
- value to be set
-
setName
Description copied from interface:StagedOrderSetItemShippingAddressCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceStagedOrderSetItemShippingAddressCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:StagedOrderSetItemShippingAddressCustomFieldAction
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 interfaceStagedOrderSetItemShippingAddressCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
-