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
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.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
public StagedOrderSetDeliveryAddressCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getDeliveryId
id
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Specified by:
getDeliveryId
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Returns:
- deliveryId
-
getDeliveryKey
key
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Specified by:
getDeliveryKey
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- 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 interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Delivery
address
.- Specified by:
getFields
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Returns:
- fields
-
setDeliveryId
Description copied from interface:StagedOrderSetDeliveryAddressCustomTypeAction
id
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Specified by:
setDeliveryId
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Parameters:
deliveryId
- value to be set
-
setDeliveryKey
Description copied from interface:StagedOrderSetDeliveryAddressCustomTypeAction
key
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Specified by:
setDeliveryKey
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Parameters:
deliveryKey
- value to be set
-
setType
Description copied from interface:StagedOrderSetDeliveryAddressCustomTypeAction
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 interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:StagedOrderSetDeliveryAddressCustomTypeAction
Sets the Custom Fields fields for the Delivery
address
.- Specified by:
setFields
in interfaceStagedOrderSetDeliveryAddressCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-