|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
void |
delete(long promoId)
Deletes the calculator data from the H-Sphere database |
double |
getPromoDiscount(psoft.hsphere.Account a,
double sum)
Calculates discount on a given sum |
void |
updateData(long promoId,
java.util.Hashtable data)
Updates calculator object and saves the data needed by the calculator to the H-SPhere database |
| Method Detail |
public double getPromoDiscount(psoft.hsphere.Account a,
double sum)
a - Account for which discount is being calculatedsum - Full amount of charge
public void updateData(long promoId,
java.util.Hashtable data)
throws java.lang.Exception
promoId - id of the Promo objectdata - name/value pairs of data
java.lang.Exception
public void delete(long promoId)
throws java.lang.Exception
promoId - id of the Promo object
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||