Class OrderSetLineItemShippingDetailsActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetLineItemShippingDetailsActionImpl
- All Implemented Interfaces:
OrderSetLineItemShippingDetailsAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetLineItemShippingDetailsActionImpl
extends Object
implements OrderSetLineItemShippingDetailsAction, io.vrap.rmf.base.client.ModelBase
OrderSetLineItemShippingDetailsAction
-
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.OrderSetLineItemShippingDetailsAction
SET_LINE_ITEM_SHIPPING_DETAILS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the LineItem to update.key
of the LineItem to update.For order creation and updates, the sum of thetargets
must match the quantity of the Line Items or Custom Line Items.int
hashCode()
void
setLineItemId
(String lineItemId) id
of the LineItem to update.void
setLineItemKey
(String lineItemKey) key
of the LineItem to update.void
setShippingDetails
(ItemShippingDetailsDraft shippingDetails) For order creation and updates, the sum of thetargets
must match the quantity of the Line Items or Custom Line Items.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.OrderSetLineItemShippingDetailsAction
withOrderSetLineItemShippingDetailsAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetLineItemShippingDetailsActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getLineItemId
id
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemId
in interfaceOrderSetLineItemShippingDetailsAction
- Returns:
- lineItemId
-
getLineItemKey
key
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemKey
in interfaceOrderSetLineItemShippingDetailsAction
- Returns:
- lineItemKey
-
getShippingDetails
For order creation and updates, the sum of the
targets
must match the quantity of the Line Items or Custom Line Items.- Specified by:
getShippingDetails
in interfaceOrderSetLineItemShippingDetailsAction
- Returns:
- shippingDetails
-
setLineItemId
Description copied from interface:OrderSetLineItemShippingDetailsAction
id
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemId
in interfaceOrderSetLineItemShippingDetailsAction
- Parameters:
lineItemId
- value to be set
-
setLineItemKey
Description copied from interface:OrderSetLineItemShippingDetailsAction
key
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemKey
in interfaceOrderSetLineItemShippingDetailsAction
- Parameters:
lineItemKey
- value to be set
-
setShippingDetails
Description copied from interface:OrderSetLineItemShippingDetailsAction
For order creation and updates, the sum of the
targets
must match the quantity of the Line Items or Custom Line Items.- Specified by:
setShippingDetails
in interfaceOrderSetLineItemShippingDetailsAction
- Parameters:
shippingDetails
- value to be set
-
equals
-
hashCode
-