Class StagedOrderSetLineItemShippingDetailsActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetLineItemShippingDetailsActionImpl
- All Implemented Interfaces:
StagedOrderSetLineItemShippingDetailsAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetLineItemShippingDetailsActionImpl
extends Object
implements StagedOrderSetLineItemShippingDetailsAction, io.vrap.rmf.base.client.ModelBase
StagedOrderSetLineItemShippingDetailsAction
-
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.StagedOrderSetLineItemShippingDetailsAction
SET_LINE_ITEM_SHIPPING_DETAILS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the LineItem to update.key
of the LineItem to update.Value to set.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) 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.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order_edit.StagedOrderSetLineItemShippingDetailsAction
withStagedOrderSetLineItemShippingDetailsAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetLineItemShippingDetailsActionImpl
public StagedOrderSetLineItemShippingDetailsActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getLineItemId
id
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemId
in interfaceStagedOrderSetLineItemShippingDetailsAction
- Returns:
- lineItemId
-
getLineItemKey
key
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemKey
in interfaceStagedOrderSetLineItemShippingDetailsAction
- Returns:
- lineItemKey
-
getShippingDetails
Value to set. If empty, the existing value is removed.
- Specified by:
getShippingDetails
in interfaceStagedOrderSetLineItemShippingDetailsAction
- Returns:
- shippingDetails
-
setLineItemId
Description copied from interface:StagedOrderSetLineItemShippingDetailsAction
id
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemId
in interfaceStagedOrderSetLineItemShippingDetailsAction
- Parameters:
lineItemId
- value to be set
-
setLineItemKey
Description copied from interface:StagedOrderSetLineItemShippingDetailsAction
key
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemKey
in interfaceStagedOrderSetLineItemShippingDetailsAction
- Parameters:
lineItemKey
- value to be set
-
setShippingDetails
Description copied from interface:StagedOrderSetLineItemShippingDetailsAction
Value to set. If empty, the existing value is removed.
- Specified by:
setShippingDetails
in interfaceStagedOrderSetLineItemShippingDetailsAction
- Parameters:
shippingDetails
- value to be set
-
equals
-
hashCode
public int hashCode()
-