@Embeddable public class InventoryReservationTemplate extends Object implements FulfillmentGroupItemReservations
FulfillmentLocation they should be fulfilled out of. This is dynamically
weaved into a FulfillmentGroupItemInventoryReservation},
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.core.order.domain.FulfillmentGroupItem |
fulfillmentGroupItem |
protected List<InventoryReservation> |
reservations |
| Constructor and Description |
|---|
InventoryReservationTemplate() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.core.order.domain.FulfillmentGroupItem |
getFulfillmentGroupItem() |
List<InventoryReservation> |
getReservations()
All of the
InventoryReservations associated with this FulfillmentGroupItem. |
void |
setFulfillmentGroupItem(org.broadleafcommerce.core.order.domain.FulfillmentGroupItem fulfillmentGroupItem) |
void |
setReservations(List<InventoryReservation> reservations)
Sets where inventory comes from out of a
FulfillmentGroupItem. |
protected org.broadleafcommerce.core.order.domain.FulfillmentGroupItem fulfillmentGroupItem
protected List<InventoryReservation> reservations
public List<InventoryReservation> getReservations()
FulfillmentGroupItemReservationsInventoryReservations associated with this FulfillmentGroupItem. The sum of all of the
quantitities of the reservations should be equal to the quantity of the FulfillmentGroupItem.getReservations in interface FulfillmentGroupItemReservationspublic void setReservations(List<InventoryReservation> reservations)
FulfillmentGroupItemReservationsFulfillmentGroupItem. The sum of all of the quantities of the given
reservations should total up to the sum of the quantity of the FulfillmentGroupItem.setReservations in interface FulfillmentGroupItemReservationsreservations - the locations that inventory comes from for this FulfillmentGroupItempublic void setFulfillmentGroupItem(org.broadleafcommerce.core.order.domain.FulfillmentGroupItem fulfillmentGroupItem)
public org.broadleafcommerce.core.order.domain.FulfillmentGroupItem getFulfillmentGroupItem()
Copyright © 2020. All rights reserved.