Class OrderSetCustomLineItemShippingDetailsActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetCustomLineItemShippingDetailsActionImpl
- All Implemented Interfaces:
OrderSetCustomLineItemShippingDetailsAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetCustomLineItemShippingDetailsActionImpl
extends Object
implements OrderSetCustomLineItemShippingDetailsAction, io.vrap.rmf.base.client.ModelBase
OrderSetCustomLineItemShippingDetailsAction
-
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.OrderSetCustomLineItemShippingDetailsAction
SET_CUSTOM_LINE_ITEM_SHIPPING_DETAILS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the CustomLineItem to update.key
of the CustomLineItem to update.Value to set.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.void
setCustomLineItemKey
(String customLineItemKey) key
of the CustomLineItem to update.void
setShippingDetails
(ItemShippingDetailsDraft shippingDetails) Value to set.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.OrderSetCustomLineItemShippingDetailsAction
withOrderSetCustomLineItemShippingDetailsAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetCustomLineItemShippingDetailsActionImpl
public OrderSetCustomLineItemShippingDetailsActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getCustomLineItemId
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemId
in interfaceOrderSetCustomLineItemShippingDetailsAction
- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemKey
in interfaceOrderSetCustomLineItemShippingDetailsAction
- Returns:
- customLineItemKey
-
getShippingDetails
Value to set. If empty, any existing value is removed.
- Specified by:
getShippingDetails
in interfaceOrderSetCustomLineItemShippingDetailsAction
- Returns:
- shippingDetails
-
setCustomLineItemId
Description copied from interface:OrderSetCustomLineItemShippingDetailsAction
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemId
in interfaceOrderSetCustomLineItemShippingDetailsAction
- Parameters:
customLineItemId
- value to be set
-
setCustomLineItemKey
Description copied from interface:OrderSetCustomLineItemShippingDetailsAction
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemKey
in interfaceOrderSetCustomLineItemShippingDetailsAction
- Parameters:
customLineItemKey
- value to be set
-
setShippingDetails
Description copied from interface:OrderSetCustomLineItemShippingDetailsAction
Value to set. If empty, any existing value is removed.
- Specified by:
setShippingDetails
in interfaceOrderSetCustomLineItemShippingDetailsAction
- Parameters:
shippingDetails
- value to be set
-
equals
-
hashCode
public int hashCode()
-