Class CartSetDeliveryAddressCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartSetDeliveryAddressCustomFieldActionImpl
- All Implemented Interfaces:
CartSetDeliveryAddressCustomFieldAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartSetDeliveryAddressCustomFieldActionImpl
extends Object
implements CartSetDeliveryAddressCustomFieldAction, io.vrap.rmf.base.client.ModelBase
CartSetDeliveryAddressCustomFieldAction
-
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.cart.CartSetDeliveryAddressCustomFieldAction
SET_DELIVERY_ADDRESS_CUSTOM_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the Delivery.getName()
Name of the Custom Field.getValue()
Ifvalue
is absent ornull
, this field will be removed if it exists.int
hashCode()
void
setDeliveryId
(String deliveryId) id
of the Delivery.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 com.commercetools.api.models.cart.CartSetDeliveryAddressCustomFieldAction
withCartSetDeliveryAddressCustomFieldAction
Methods inherited from interface com.commercetools.api.models.cart.CartUpdateAction
withCartUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CartSetDeliveryAddressCustomFieldActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getDeliveryId
id
of the Delivery.- Specified by:
getDeliveryId
in interfaceCartSetDeliveryAddressCustomFieldAction
- Returns:
- deliveryId
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceCartSetDeliveryAddressCustomFieldAction
- 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 interfaceCartSetDeliveryAddressCustomFieldAction
- Returns:
- value
-
setDeliveryId
Description copied from interface:CartSetDeliveryAddressCustomFieldAction
id
of the Delivery.- Specified by:
setDeliveryId
in interfaceCartSetDeliveryAddressCustomFieldAction
- Parameters:
deliveryId
- value to be set
-
setName
Description copied from interface:CartSetDeliveryAddressCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceCartSetDeliveryAddressCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:CartSetDeliveryAddressCustomFieldAction
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 interfaceCartSetDeliveryAddressCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
-