public class SimpleInventoryInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
SimpleInventoryInfo() |
Modifier and Type | Method and Description |
---|---|
java.util.Calendar |
getAvailabilityDate()
Returns date of availability for this inventory item
|
int |
getAvailabilityStatus()
Returns availabity status of the inventory item
|
java.lang.String |
getAvailabilityStatusMsg()
Returns availabity status of the inventory item in readable form
|
AvailableToPromise |
getAvailableToPromise()
Gets the availability dates information for this inventory item
|
long |
getBackorderLevel()
Returns back order level of inventory item
|
double |
getBackorderLevelWithFraction()
Returns back order level of inventory item
|
java.lang.String |
getInventoryId()
Returns Id of this inventory item
|
java.lang.String |
getLocationId()
The id of the inventory item's location.
|
long |
getPreorderLevel()
Returns pre order level of inventory item
|
double |
getPreorderLevelWithFraction()
Returns pre order level of inventory item
|
long |
getStockLevel()
Returns stock level of the inventory item
|
double |
getStockLevelWithFraction()
Returns stock level of the inventory item
|
void |
setAvailabilityDate(java.util.Calendar pAvailabilityDate)
Sets date of availability for this inventory item
|
void |
setAvailabilityDate(java.util.Date pAvailabilityDate) |
void |
setAvailabilityStatus(int pAvailabilityStatus)
Sets availabity status of the inventory item
|
void |
setAvailabilityStatusMsg(java.lang.String pAvailabilityStatusMsg)
Sets availabity status of the inventory item in readable form
|
void |
setAvailableToPromise(AvailableToPromise pAvailableToPromise)
Sets the availability dates information for this inventory item
|
void |
setBackorderLevel(long pBackorderLevel)
Sets back order level of inventory item
|
void |
setBackorderLevelWithFraction(double pBackorderLevelWithFraction)
Sets back order level of inventory item
|
void |
setInventoryId(java.lang.String pInventoryId)
Sets Id of this inventory item
|
void |
setLocationId(java.lang.String pLocationId) |
void |
setPreorderLevel(long pPreorderLevel)
Sets pre order level of inventory item
|
void |
setPreorderLevelWithFraction(double pPreorderLevelWithFraction)
Sets pre order level of inventory item
|
void |
setStockLevel(long pStockLevel)
Sets stock level of the inventory item
|
void |
setStockLevelWithFraction(double pStockLevelWithFraction)
Sets stock level of the inventory item
|
java.lang.String |
toString() |
public long getStockLevel()
public void setStockLevel(long pStockLevel)
StockLevel
- public double getStockLevelWithFraction()
public void setStockLevelWithFraction(double pStockLevelWithFraction)
StockLevelWithFraction
- public long getBackorderLevel()
public void setBackorderLevel(long pBackorderLevel)
BackorderLevel
- public double getBackorderLevelWithFraction()
public void setBackorderLevelWithFraction(double pBackorderLevelWithFraction)
BackorderLevelWithFraction
- public long getPreorderLevel()
public void setPreorderLevel(long pPreorderLevel)
PreorderLevel
- public double getPreorderLevelWithFraction()
public void setPreorderLevelWithFraction(double pPreorderLevelWithFraction)
PreorderLevelWithFraction
- public int getAvailabilityStatus()
public void setAvailabilityStatus(int pAvailabilityStatus)
AvailabilityStatus
- public java.lang.String getAvailabilityStatusMsg()
public void setAvailabilityStatusMsg(java.lang.String pAvailabilityStatusMsg)
AvailabilityStatusMsg
- public java.util.Calendar getAvailabilityDate()
public void setAvailabilityDate(java.util.Calendar pAvailabilityDate)
AvailabilityDate
- public void setAvailabilityDate(java.util.Date pAvailabilityDate)
public AvailableToPromise getAvailableToPromise()
public void setAvailableToPromise(AvailableToPromise pAvailableToPromise)
pAvailableToPromise
- The AvailableToPromise to setpublic java.lang.String getInventoryId()
public void setInventoryId(java.lang.String pInventoryId)
InventoryId
- public void setLocationId(java.lang.String pLocationId)
public java.lang.String getLocationId()
public java.lang.String toString()
toString
in class java.lang.Object