Class ItemShippingDetailsDraftImpl
- All Implemented Interfaces:
ItemShippingDetailsDraft
,io.vrap.rmf.base.client.Draft<ItemShippingDetailsDraft>
,io.vrap.rmf.base.client.ModelBase
For order creation and updates, the sum of the targets
must match the quantity of the Line Items or Custom Line Items.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.int
hashCode()
void
setTargets
(ItemShippingTarget... targets) Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.void
setTargets
(List<ItemShippingTarget> targets) Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.ItemShippingDetailsDraft
withItemShippingDetailsDraft
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ItemShippingDetailsDraftImpl
public ItemShippingDetailsDraftImpl()create empty instance
-
-
Method Details
-
getTargets
Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.
If multiple shipping addresses are present for a Line Item or Custom Line Item, sub-quantities must be specified.
- Specified by:
getTargets
in interfaceItemShippingDetailsDraft
- Returns:
- targets
-
setTargets
Description copied from interface:ItemShippingDetailsDraft
Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.
If multiple shipping addresses are present for a Line Item or Custom Line Item, sub-quantities must be specified.
- Specified by:
setTargets
in interfaceItemShippingDetailsDraft
- Parameters:
targets
- values to be set
-
setTargets
Description copied from interface:ItemShippingDetailsDraft
Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.
If multiple shipping addresses are present for a Line Item or Custom Line Item, sub-quantities must be specified.
- Specified by:
setTargets
in interfaceItemShippingDetailsDraft
- Parameters:
targets
- values to be set
-
equals
-
hashCode
-