Class OrderSetShippingAddressCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetShippingAddressCustomFieldActionImpl
- All Implemented Interfaces:
OrderSetShippingAddressCustomFieldAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetShippingAddressCustomFieldActionImpl
extends Object
implements OrderSetShippingAddressCustomFieldAction, io.vrap.rmf.base.client.ModelBase
OrderSetShippingAddressCustomFieldAction
-
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.OrderSetShippingAddressCustomFieldAction
SET_SHIPPING_ADDRESS_CUSTOM_FIELD
-
Constructor Summary
-
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderSetShippingAddressCustomFieldAction
withOrderSetShippingAddressCustomFieldAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetShippingAddressCustomFieldActionImpl
public OrderSetShippingAddressCustomFieldActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceOrderSetShippingAddressCustomFieldAction
- 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 interfaceOrderSetShippingAddressCustomFieldAction
- Returns:
- value
-
setName
Description copied from interface:OrderSetShippingAddressCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceOrderSetShippingAddressCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:OrderSetShippingAddressCustomFieldAction
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 interfaceOrderSetShippingAddressCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-