Class StagedOrderSetDeliveryAddressCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetDeliveryAddressCustomTypeActionImpl
- All Implemented Interfaces:
StagedOrderSetDeliveryAddressCustomTypeAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetDeliveryAddressCustomTypeActionImpl
extends Object
implements StagedOrderSetDeliveryAddressCustomTypeAction, io.vrap.rmf.base.client.ModelBase
StagedOrderSetDeliveryAddressCustomTypeAction
-
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.StagedOrderSetDeliveryAddressCustomTypeAction
SET_DELIVERY_ADDRESS_CUSTOM_TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
EitherdeliveryId
ordeliveryKey
is required for this update action.EitherdeliveryId
ordeliveryKey
is required for this update action.Sets the Custom Fields fields for theaddress
in a Delivery.getType()
Defines the Type that extends theaddress
in a Delivery with Custom Fields.int
hashCode()
void
setDeliveryId
(String deliveryId) EitherdeliveryId
ordeliveryKey
is required for this update action.void
setDeliveryKey
(String deliveryKey) EitherdeliveryId
ordeliveryKey
is required for this update action.void
setFields
(FieldContainer fields) Sets the Custom Fields fields for theaddress
in a Delivery.void
Defines the Type that extends theaddress
in a Delivery with Custom Fields.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.StagedOrderSetDeliveryAddressCustomTypeAction
withStagedOrderSetDeliveryAddressCustomTypeAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetDeliveryAddressCustomTypeActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getDeliveryId
Either
deliveryId
ordeliveryKey
is required for this update action.- Specified by:
getDeliveryId
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Returns:
- deliveryId
-
getDeliveryKey
Either
deliveryId
ordeliveryKey
is required for this update action.- Specified by:
getDeliveryKey
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Returns:
- deliveryKey
-
getType
Defines the Type that extends the
address
in a Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
in a Delivery.- Specified by:
getType
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
address
in a Delivery.- Specified by:
getFields
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Returns:
- fields
-
setDeliveryId
Description copied from interface:StagedOrderSetDeliveryAddressCustomTypeAction
Either
deliveryId
ordeliveryKey
is required for this update action.- Specified by:
setDeliveryId
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Parameters:
deliveryId
- value to be set
-
setDeliveryKey
Description copied from interface:StagedOrderSetDeliveryAddressCustomTypeAction
Either
deliveryId
ordeliveryKey
is required for this update action.- Specified by:
setDeliveryKey
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Parameters:
deliveryKey
- value to be set
-
setType
Description copied from interface:StagedOrderSetDeliveryAddressCustomTypeAction
Defines the Type that extends the
address
in a Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
in a Delivery.- Specified by:
setType
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:StagedOrderSetDeliveryAddressCustomTypeAction
Sets the Custom Fields fields for the
address
in a Delivery.- Specified by:
setFields
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
-