public class FProduct extends APIParam<FProduct>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
ivHashCode, ivHashFlds, ivObjFlds
Constructor and Description |
---|
FProduct()
Constructs a
FProduct object with all field values set to
null . |
FProduct(java.util.HashMap<java.lang.String,java.lang.Object> source)
Constructs a
FProduct object with field values based on the
supplied hash map. |
FProduct(java.lang.String source)
Constructs a
FProduct object with field values based on the
supplied JSON text string. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAvailableQty()
Returns the quantity available.
|
java.lang.String |
getAvailableQty2()
Returns the quantity available.
|
java.lang.String |
getCategoryCode()
Returns the default category code.
|
java.lang.String |
getCategoryName()
Returns the default category name.
|
java.lang.String |
getClassCode()
Returns the classification code.
|
java.lang.String |
getCode()
Returns the product code.
|
java.lang.String |
getCustomerPartNumber()
Returns the customer part number.
|
java.lang.String |
getDescription()
Returns the description.
|
java.lang.String |
getLeadtimeCode()
Returns the lead time code.
|
java.lang.String |
getLeadtimeName()
Returns the lead time name.
|
java.lang.String |
getListPrice()
Returns the list price (price that comes from product table before any
realtime information from ERP).
|
java.lang.String |
getMfrCode()
Returns the manufacturer code.
|
java.lang.String |
getMfrPartCode()
Returns the manufacturer part number.
|
java.lang.String |
getRetailPrice()
Returns the unit price amount.
|
java.lang.String |
getStockLowQty()
Returns the low stock quantity.
|
java.lang.String |
getStockLowQtyStr()
Returns the low stock quantity.
|
java.lang.String |
getStockOutQty()
Returns the out of stock quantity.
|
java.lang.String |
getStockOutQtyStr()
Returns the out of stock quantity.
|
java.lang.String |
getStockStatus()
Returns the stock status code.
|
java.lang.String |
getStockStatus2()
Returns the secondary stock status code.
|
java.lang.String |
getStockStatus2Description()
Returns the secondary stock status description.
|
java.lang.String |
getStockStatus2ImageURL()
Returns the secondary stock status image URL.
|
java.lang.String |
getStockStatusDescription()
Returns the stock status description.
|
java.lang.String |
getStockStatusImageURL()
Returns the stock status image URL.
|
java.lang.String |
getUomCode()
Returns the unit of measure code.
|
java.lang.String |
getUomName()
Returns the unit of measure name.
|
protected void |
removeUnwantedFields()
Removes unwanted fields from a JSON object or from an array of JSON objects.
|
void |
setAvailableQty(java.lang.String value)
Sets the quantity available.
|
void |
setAvailableQty2(java.lang.String value)
Sets the quantity available.
|
void |
setCategoryCode(java.lang.String value)
Sets the default category code.
|
void |
setCategoryName(java.lang.String value)
Sets the default category name.
|
void |
setClassCode(java.lang.String value)
Sets the classification code.
|
void |
setCode(java.lang.String value)
Sets the product code.
|
void |
setCustomerPartNumber(java.lang.String value)
Sets the customer part number.
|
void |
setDescription(java.lang.String value)
Sets the description.
|
void |
setLeadtimeCode(java.lang.String value)
Sets the lead time code.
|
void |
setLeadtimeName(java.lang.String value)
Sets the lead time name.
|
void |
setListPrice(java.lang.String value)
Sets the product's list price (price that comes from product table before
any realtime information from ERP).
|
void |
setMfrCode(java.lang.String value)
Sets the manufacturer code.
|
void |
setMfrPartCode(java.lang.String value)
Sets the manufacturer part number.
|
void |
setRetailPrice(java.lang.String value)
Sets the unit price amount.
|
void |
setStockLowQty(java.lang.String value)
Sets the low stock quantity.
|
void |
setStockOutQty(java.lang.String value)
Sets the out of stock quantity.
|
void |
setStockStatus(java.lang.String value)
Sets the stock status code.
|
void |
setStockStatus2(java.lang.String value)
Sets the secondary stock status code.
|
void |
setStockStatus2Description(java.lang.String value)
Sets the secondary stock status description.
|
void |
setStockStatus2ImageURL(java.lang.String value)
Sets the secondary stock status image URL.
|
void |
setStockStatusDescription(java.lang.String value)
Sets the stock status description.
|
void |
setStockStatusImageURL(java.lang.String value)
Sets the stock status image URL.
|
void |
setUomCode(java.lang.String value)
Sets the unit of measure code.
|
void |
setUomName(java.lang.String value)
Sets the unit of measure name.
|
after, before, compareTo, equals, getHashFields, getObjectFields, hashCode, removeStringWhitespace, removeUnwantedFields, setHashFields, setObjectFields, toJSONString, toString
private static final long serialVersionUID
public FProduct()
FProduct
object with all field values set to
null
.public FProduct(java.util.HashMap<java.lang.String,java.lang.Object> source)
FProduct
object with field values based on the
supplied hash map.source
- (HashMap) A hash map of field names and values.public FProduct(java.lang.String source)
FProduct
object with field values based on the
supplied JSON text string.source
- (String) A string beginning with {
(left brace) and ending with }
(right brace).protected void removeUnwantedFields()
removeUnwantedFields
in class APIParam<FProduct>
public java.lang.String getCode()
public void setCode(java.lang.String value)
value
- (String) The product code.public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
- (String) The description.public java.lang.String getCategoryCode()
public void setCategoryCode(java.lang.String value)
value
- (String) The default category code.public java.lang.String getCategoryName()
public void setCategoryName(java.lang.String value)
value
- (String) The default category name.public java.lang.String getRetailPrice()
public void setRetailPrice(java.lang.String value)
value
- (String) The unit price amount.public java.lang.String getListPrice()
public void setListPrice(java.lang.String value)
value
- (String) The list price amount.public java.lang.String getUomCode()
public void setUomCode(java.lang.String value)
value
- (String) The unit of measure code.public java.lang.String getUomName()
public void setUomName(java.lang.String value)
value
- (String) The unit of measure name.public java.lang.String getAvailableQty()
public void setAvailableQty(java.lang.String value)
value
- (String) The quantity available.public java.lang.String getAvailableQty2()
public void setAvailableQty2(java.lang.String value)
value
- (String) The quantity available.public java.lang.String getStockLowQty()
public java.lang.String getStockLowQtyStr()
public void setStockLowQty(java.lang.String value)
value
- (String) The low stock quantity or null
if a
quantity is not defined.public java.lang.String getStockOutQty()
public java.lang.String getStockOutQtyStr()
public void setStockOutQty(java.lang.String value)
value
- (String) The out of stock quantity or null
if a
quantity is not defined.public java.lang.String getLeadtimeCode()
public void setLeadtimeCode(java.lang.String value)
value
- (String) The lead time code.public java.lang.String getLeadtimeName()
public void setLeadtimeName(java.lang.String value)
value
- (String) The lead time name.public java.lang.String getMfrPartCode()
public void setMfrPartCode(java.lang.String value)
value
- (String) The manufacturer part number.public java.lang.String getMfrCode()
public void setMfrCode(java.lang.String value)
value
- (String) The manufacturer code.public java.lang.String getClassCode()
public void setClassCode(java.lang.String value)
value
- (String) The classification code.public java.lang.String getCustomerPartNumber()
public void setCustomerPartNumber(java.lang.String value)
value
- (String) The customer part number.public java.lang.String getStockStatus()
public void setStockStatus(java.lang.String value)
value
- (String) The stock status code.public java.lang.String getStockStatusDescription()
public void setStockStatusDescription(java.lang.String value)
value
- (String) The stock status description.public java.lang.String getStockStatusImageURL()
public void setStockStatusImageURL(java.lang.String value)
value
- (String) The stock status image URL.public java.lang.String getStockStatus2()
public void setStockStatus2(java.lang.String value)
value
- (String) The secondary stock status code.public java.lang.String getStockStatus2Description()
public void setStockStatus2Description(java.lang.String value)
value
- (String) The stock secondary status description.public java.lang.String getStockStatus2ImageURL()
public void setStockStatus2ImageURL(java.lang.String value)
value
- (String) The secondary stock status image URL.