public class XPFInventory extends XPFEntity
Constructor and Description |
---|
XPFInventory(int onHandQuantity,
int reservedQuantity,
int allocatedQuantity,
int availableQuantity,
LocalDate expectedRestockDate,
int expectedRestockQuantity) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getAllocatedQuantity()
The allocated quantity; number of items in the warehouse that have been purchased and are awaiting shipment.
|
int |
getAvailableQuantity()
The available quantity; number of items available for purchase.
|
LocalDate |
getExpectedRestockDate()
The expected re-stock date.
|
int |
getExpectedRestockQuantity()
The expected re-stock quantity.
|
int |
getOnHandQuantity()
The on-hand quantity; number of items currently in the warehouse.
|
int |
getReservedQuantity()
The reserved quantity; number of items being held back for sale in other channels or to prevent overselling.
|
int |
hashCode() |
String |
toString() |
getCustomData
public XPFInventory(int onHandQuantity, int reservedQuantity, int allocatedQuantity, int availableQuantity, LocalDate expectedRestockDate, int expectedRestockQuantity)
public int getOnHandQuantity()
public int getReservedQuantity()
public int getAllocatedQuantity()
public int getAvailableQuantity()
public LocalDate getExpectedRestockDate()
public int getExpectedRestockQuantity()
Copyright © 2024. All rights reserved.