|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.wstore.WebBasket
public class WebBasket
Web Basket
| Field Summary | |
|---|---|
static String |
NAME
Attribute Name - also in JSPs |
| Constructor Summary | |
|---|---|
WebBasket()
Constructor |
|
| Method Summary | |
|---|---|
WebBasketLine |
add(int M_Product_ID,
String Name,
BigDecimal Qty,
BigDecimal Price)
Add Line. |
WebBasketLine |
add(WebBasketLine wbl)
Add Line |
void |
delete(int no)
Delete Line |
int |
getLineCount()
Get Line Count |
ArrayList |
getLines()
Get Lines |
int |
getM_PriceList_ID()
|
int |
getM_PriceList_Version_ID()
|
int |
getSalesRep_ID()
|
BigDecimal |
getTotal()
Get Total |
BigDecimal |
getTotal(boolean recalc)
Get (recalculated) Total |
void |
setM_PriceList_ID(int PriceList_ID)
|
void |
setM_PriceList_Version_ID(int PriceList_Version_ID)
|
void |
setSalesRep_ID(int salesRep_ID)
|
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
| Constructor Detail |
|---|
public WebBasket()
| Method Detail |
|---|
public String toString()
toString in class Objectpublic BigDecimal getTotal()
public BigDecimal getTotal(boolean recalc)
public int getLineCount()
public ArrayList getLines()
public WebBasketLine add(WebBasketLine wbl)
wbl - line
public WebBasketLine add(int M_Product_ID,
String Name,
BigDecimal Qty,
BigDecimal Price)
M_Product_ID - productName - NameQty - QtyPrice - Price
public void delete(int no)
no - line nopublic int getM_PriceList_Version_ID()
public void setM_PriceList_Version_ID(int PriceList_Version_ID)
public int getM_PriceList_ID()
public void setM_PriceList_ID(int PriceList_ID)
public int getSalesRep_ID()
public void setSalesRep_ID(int salesRep_ID)
salesRep_ID - The salesRep_ID to set.
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||