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
id
of an existing Delivery.key
of an existing Delivery.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) id
of an existing Delivery.void
setDeliveryKey
(String deliveryKey) key
of an existing Delivery.void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the Delivery.void
Defines the Type that extends the Delivery with Custom Fields.toString()
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
id
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Specified by:
getDeliveryId
in interfaceOrderSetDeliveryCustomTypeAction
- Returns:
- deliveryId
-
getDeliveryKey
key
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- 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
id
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Specified by:
setDeliveryId
in interfaceOrderSetDeliveryCustomTypeAction
- Parameters:
deliveryId
- value to be set
-
setDeliveryKey
Description copied from interface:OrderSetDeliveryCustomTypeAction
key
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- 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
public int hashCode() -
toString
-