public interface OrderTotalInterface
| Modifier and Type | Method and Description |
|---|---|
void |
commitOrder(OrderIf order)
Commit the Order transaction.
|
java.lang.String |
getCode() |
java.lang.String |
getModuleClassName()
Gets the name of the module class.
|
OrderTotal |
getOrderTotal(Order order,
boolean dispPriceWithTax,
java.util.Locale locale) |
java.util.List<OrderTotal> |
getOrderTotalList()
A list of the current order totals so that an order total module can modify an order total
that was previously called.
|
PromotionResult |
getPromotionResult(Product product,
Promotion promotion)
Returns an object containing the promotion discount.
|
int |
getSortOrder() |
boolean |
isAvailable() |
void |
setOrderTotalList(java.util.List<OrderTotal> orderTotalList)
A list of the current order totals so that an order total module can modify an order total
that was previously called.
|
void |
setStaticVariables()
Refreshes the static variables from the copy in the database
|
OrderTotal getOrderTotal(Order order, boolean dispPriceWithTax, java.util.Locale locale) throws java.lang.Exception
order - the orderdispPriceWithTax - the dispPriceWithTaxlocale - the localejava.lang.Exception - an unexpected exceptionboolean isAvailable()
throws com.konakart.app.KKException
com.konakart.app.KKException - an unexpected exception from the KonaKart engineint getSortOrder()
java.lang.String getCode()
void setStaticVariables()
throws com.konakart.app.KKException
com.konakart.app.KKException - an unexpected exception from the KonaKart enginejava.util.List<OrderTotal> getOrderTotalList()
void setOrderTotalList(java.util.List<OrderTotal> orderTotalList)
orderTotalList - the orderTotalList to setPromotionResult getPromotionResult(Product product, Promotion promotion) throws java.lang.Exception
product - the productpromotion - the promotionjava.lang.Exception - an unexpected exceptionvoid commitOrder(OrderIf order) throws java.lang.Exception
order - the orderjava.lang.Exception - an unexpected exception
if something unexpected happensjava.lang.String getModuleClassName()
Copyright © 2018 DS Data Systems UK Ltd.