Examples of SalesTaxService


Examples of com.ateam.webstore.service.impl.SalesTaxService

    Orders order = (Orders) req.getSession().getAttribute(SESSION_ATTRIBUTE_ORDER);
   
    order.setCreditCard(opf.getCard());
   
    SalesTaxService sts = new SalesTaxService();
    SalesTax st = sts.getById(opf.getCard().getBillingAddress().getState());
    Double tax = 10.00;
    if (st != null) {
      tax = st.getPercent()/100 * order.getItemSubTotal();
    }
    order.setSalesTax(tax);
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.