Class OrderSetDeliveryCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetDeliveryCustomTypeActionImpl
- All Implemented Interfaces:
OrderSetDeliveryCustomTypeAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetDeliveryCustomTypeActionImpl
extends Object
implements OrderSetDeliveryCustomTypeAction, io.vrap.rmf.base.client.ModelBase
OrderSetDeliveryCustomTypeAction
-
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.OrderSetDeliveryCustomTypeAction
SET_DELIVERY_CUSTOM_TYPE
-
Constructor Summary
-
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 the Delivery.getType()
Defines the Type that extends the 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 the Delivery.void
Defines the Type that extends the 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.order.OrderSetDeliveryCustomTypeAction
withOrderSetDeliveryCustomTypeAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetDeliveryCustomTypeActionImpl
public OrderSetDeliveryCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getDeliveryId
Either
deliveryId
ordeliveryKey
is required for this update action.- Specified by:
getDeliveryId
in interfaceOrderSetDeliveryCustomTypeAction
- Returns:
- deliveryId
-
getDeliveryKey
Either
deliveryId
ordeliveryKey
is required for this update action.- Specified by:
getDeliveryKey
in interfaceOrderSetDeliveryCustomTypeAction
- Returns:
- deliveryKey
-
getType
Defines the Type that extends the Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Delivery.
- Specified by:
getType
in interfaceOrderSetDeliveryCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Delivery.
- Specified by:
getFields
in interfaceOrderSetDeliveryCustomTypeAction
- Returns:
- fields
-
setDeliveryId
Description copied from interface:OrderSetDeliveryCustomTypeAction
Either
deliveryId
ordeliveryKey
is required for this update action.- Specified by:
setDeliveryId
in interfaceOrderSetDeliveryCustomTypeAction
- Parameters:
deliveryId
- value to be set
-
setDeliveryKey
Description copied from interface:OrderSetDeliveryCustomTypeAction
Either
deliveryId
ordeliveryKey
is required for this update action.- Specified by:
setDeliveryKey
in interfaceOrderSetDeliveryCustomTypeAction
- Parameters:
deliveryKey
- value to be set
-
setType
Description copied from interface:OrderSetDeliveryCustomTypeAction
Defines the Type that extends the Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Delivery.
- Specified by:
setType
in interfaceOrderSetDeliveryCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:OrderSetDeliveryCustomTypeAction
Sets the Custom Fields fields for the Delivery.
- Specified by:
setFields
in interfaceOrderSetDeliveryCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
-