Class OrderSetDeliveryAddressCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetDeliveryAddressCustomTypeActionImpl
- All Implemented Interfaces:
OrderSetDeliveryAddressCustomTypeAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetDeliveryAddressCustomTypeActionImpl
extends Object
implements OrderSetDeliveryAddressCustomTypeAction, io.vrap.rmf.base.client.ModelBase
OrderSetDeliveryAddressCustomTypeAction
-
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.OrderSetDeliveryAddressCustomTypeAction
SET_DELIVERY_ADDRESS_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 Deliveryaddress
.getType()
Defines the Type that extends the Deliveryaddress
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 Deliveryaddress
.void
Defines the Type that extends the Deliveryaddress
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.OrderSetDeliveryAddressCustomTypeAction
withOrderSetDeliveryAddressCustomTypeAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetDeliveryAddressCustomTypeActionImpl
public OrderSetDeliveryAddressCustomTypeActionImpl()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 interfaceOrderSetDeliveryAddressCustomTypeAction
- Returns:
- deliveryId
-
getDeliveryKey
key
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Specified by:
getDeliveryKey
in interfaceOrderSetDeliveryAddressCustomTypeAction
- Returns:
- deliveryKey
-
getType
Defines the Type that extends the Delivery
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Deliveryaddress
.- Specified by:
getType
in interfaceOrderSetDeliveryAddressCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Delivery
address
.- Specified by:
getFields
in interfaceOrderSetDeliveryAddressCustomTypeAction
- Returns:
- fields
-
setDeliveryId
Description copied from interface:OrderSetDeliveryAddressCustomTypeAction
id
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Specified by:
setDeliveryId
in interfaceOrderSetDeliveryAddressCustomTypeAction
- Parameters:
deliveryId
- value to be set
-
setDeliveryKey
Description copied from interface:OrderSetDeliveryAddressCustomTypeAction
key
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Specified by:
setDeliveryKey
in interfaceOrderSetDeliveryAddressCustomTypeAction
- Parameters:
deliveryKey
- value to be set
-
setType
Description copied from interface:OrderSetDeliveryAddressCustomTypeAction
Defines the Type that extends the Delivery
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Deliveryaddress
.- Specified by:
setType
in interfaceOrderSetDeliveryAddressCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:OrderSetDeliveryAddressCustomTypeAction
Sets the Custom Fields fields for the Delivery
address
.- Specified by:
setFields
in interfaceOrderSetDeliveryAddressCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-