|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.component.shop.model.ShoppingCart.Total
public static final class ShoppingCart.Total
the Total of the ShoppingCart.
| Constructor Summary | |
|---|---|
protected |
ShoppingCart.Total(ShoppingCart cart, User u, ShopSettings settings)
builds a new Total of the ShoppingCart. |
| Method Summary | |
|---|---|
org.jdom.Element |
deserializeToJDOM()
returns a JDOM representation of the Total. |
org.jdom.Element |
deserializeToJDOM(ServiceRequest r)
returns a JDOM representation of the Total. |
long |
getGrossSum()
returns the gross sum. |
long |
getNetSum()
returns the net sum. |
java.util.Map<TaxGroup,java.lang.Long> |
getTaxTotals()
returns the tax totals. |
net.sf.json.JSONObject |
toJSON()
returns a JSON representation of the Total. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ShoppingCart.Total(ShoppingCart cart, User u, ShopSettings settings)
Total of the ShoppingCart.
cart - the cartu - the usersettings - the shop settings| Method Detail |
|---|
public java.util.Map<TaxGroup,java.lang.Long> getTaxTotals()
public long getNetSum()
public long getGrossSum()
public org.jdom.Element deserializeToJDOM()
Total.
deserializeToJDOM in interface JDOMableTotalJDOMable.deserializeToJDOM()public org.jdom.Element deserializeToJDOM(ServiceRequest r)
Total.
deserializeToJDOM in interface ExtendedJDOMabler - the request for adding further information
TotalJDOMable.deserializeToJDOM()public net.sf.json.JSONObject toJSON()
Total.
Total
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||