Class OrderAddDeliveryActionImpl
- All Implemented Interfaces:
CustomizableDraft<OrderAddDeliveryAction>
,OrderAddDeliveryAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
-
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.OrderAddDeliveryAction
ADD_DELIVERY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Polymorphic base type that represents a postal address and contact details.Custom Fields for the Transaction.User-defined unique identifier of a Delivery.getItems()
User-defined unique identifier of the Shipping Method in a Cart withMulti
ShippingMode.int
hashCode()
void
setAddress
(BaseAddress address) Polymorphic base type that represents a postal address and contact details.void
setCustom
(CustomFieldsDraft custom) Custom Fields for the Transaction.void
setDeliveryKey
(String deliveryKey) User-defined unique identifier of a Delivery.void
setItems
(DeliveryItem... items) set itemsvoid
setItems
(List<DeliveryItem> items) set itemsvoid
setParcels
(ParcelDraft... parcels) set parcelsvoid
setParcels
(List<ParcelDraft> parcels) set parcelsvoid
setShippingKey
(String shippingKey) User-defined unique identifier of the Shipping Method in a Cart withMulti
ShippingMode.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.CustomizableDraft
unwrapCustomizableDraft
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderAddDeliveryAction
withOrderAddDeliveryAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderAddDeliveryActionImpl
public OrderAddDeliveryActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getDeliveryKey
User-defined unique identifier of a Delivery.
- Specified by:
getDeliveryKey
in interfaceOrderAddDeliveryAction
- Returns:
- deliveryKey
-
getItems
- Specified by:
getItems
in interfaceOrderAddDeliveryAction
- Returns:
- items
-
getShippingKey
User-defined unique identifier of the Shipping Method in a Cart with
Multi
ShippingMode.- Specified by:
getShippingKey
in interfaceOrderAddDeliveryAction
- Returns:
- shippingKey
-
getAddress
Polymorphic base type that represents a postal address and contact details. Depending on the read or write action, it can be either Address or AddressDraft that only differ in the data type for the optional
custom
field.- Specified by:
getAddress
in interfaceOrderAddDeliveryAction
- Returns:
- address
-
getParcels
- Specified by:
getParcels
in interfaceOrderAddDeliveryAction
- Returns:
- parcels
-
getCustom
Custom Fields for the Transaction.
- Specified by:
getCustom
in interfaceCustomizableDraft<OrderAddDeliveryAction>
- Specified by:
getCustom
in interfaceOrderAddDeliveryAction
- Returns:
- custom
-
setDeliveryKey
Description copied from interface:OrderAddDeliveryAction
User-defined unique identifier of a Delivery.
- Specified by:
setDeliveryKey
in interfaceOrderAddDeliveryAction
- Parameters:
deliveryKey
- value to be set
-
setItems
Description copied from interface:OrderAddDeliveryAction
set items- Specified by:
setItems
in interfaceOrderAddDeliveryAction
- Parameters:
items
- values to be set
-
setItems
Description copied from interface:OrderAddDeliveryAction
set items- Specified by:
setItems
in interfaceOrderAddDeliveryAction
- Parameters:
items
- values to be set
-
setShippingKey
Description copied from interface:OrderAddDeliveryAction
User-defined unique identifier of the Shipping Method in a Cart with
Multi
ShippingMode.- Specified by:
setShippingKey
in interfaceOrderAddDeliveryAction
- Parameters:
shippingKey
- value to be set
-
setAddress
Description copied from interface:OrderAddDeliveryAction
Polymorphic base type that represents a postal address and contact details. Depending on the read or write action, it can be either Address or AddressDraft that only differ in the data type for the optional
custom
field.- Specified by:
setAddress
in interfaceOrderAddDeliveryAction
- Parameters:
address
- value to be set
-
setParcels
Description copied from interface:OrderAddDeliveryAction
set parcels- Specified by:
setParcels
in interfaceOrderAddDeliveryAction
- Parameters:
parcels
- values to be set
-
setParcels
Description copied from interface:OrderAddDeliveryAction
set parcels- Specified by:
setParcels
in interfaceOrderAddDeliveryAction
- Parameters:
parcels
- values to be set
-
setCustom
Description copied from interface:OrderAddDeliveryAction
Custom Fields for the Transaction.
- Specified by:
setCustom
in interfaceCustomizableDraft<OrderAddDeliveryAction>
- Specified by:
setCustom
in interfaceOrderAddDeliveryAction
- Parameters:
custom
- value to be set
-
equals
-
hashCode
-