Package com.jada.content

Examples of com.jada.content.Formatter.formatCurrency()


      form.setShippingCustZipCode(address.getCustZipCode());
      form.setShippingCustPhoneNum(address.getCustPhoneNum());
      form.setShippingCustFaxNum(address.getCustFaxNum());
    }
   
    form.setPriceTotal(numberFormatter.formatCurrency(orderEngine.getOrderSubTotal()));
    form.setShippingTotal(numberFormatter.formatCurrency(orderEngine.getOrderShippingTotal()));
    form.setTaxTotal(numberFormatter.formatCurrency(orderEngine.getOrderTaxTotal()));
    form.setOrderTotal(numberFormatter.formatCurrency(header.getOrderTotal()));
    if (header.getPaymentGatewayProvider() != null) {
      form.setPaymentGateway(header.getPaymentGatewayProvider());
View Full Code Here


      form.setShippingCustPhoneNum(address.getCustPhoneNum());
      form.setShippingCustFaxNum(address.getCustFaxNum());
    }
   
    form.setPriceTotal(numberFormatter.formatCurrency(orderEngine.getOrderSubTotal()));
    form.setShippingTotal(numberFormatter.formatCurrency(orderEngine.getOrderShippingTotal()));
    form.setTaxTotal(numberFormatter.formatCurrency(orderEngine.getOrderTaxTotal()));
    form.setOrderTotal(numberFormatter.formatCurrency(header.getOrderTotal()));
    if (header.getPaymentGatewayProvider() != null) {
      form.setPaymentGateway(header.getPaymentGatewayProvider());
      if (header.getPaymentGatewayProvider().equals(PayPalEngine.class.getSimpleName())) {
View Full Code Here

      form.setShippingCustFaxNum(address.getCustFaxNum());
    }
   
    form.setPriceTotal(numberFormatter.formatCurrency(orderEngine.getOrderSubTotal()));
    form.setShippingTotal(numberFormatter.formatCurrency(orderEngine.getOrderShippingTotal()));
    form.setTaxTotal(numberFormatter.formatCurrency(orderEngine.getOrderTaxTotal()));
    form.setOrderTotal(numberFormatter.formatCurrency(header.getOrderTotal()));
    if (header.getPaymentGatewayProvider() != null) {
      form.setPaymentGateway(header.getPaymentGatewayProvider());
      if (header.getPaymentGatewayProvider().equals(PayPalEngine.class.getSimpleName())) {
        form.setPayPal(true);
View Full Code Here

    }
   
    form.setPriceTotal(numberFormatter.formatCurrency(orderEngine.getOrderSubTotal()));
    form.setShippingTotal(numberFormatter.formatCurrency(orderEngine.getOrderShippingTotal()));
    form.setTaxTotal(numberFormatter.formatCurrency(orderEngine.getOrderTaxTotal()));
    form.setOrderTotal(numberFormatter.formatCurrency(header.getOrderTotal()));
    if (header.getPaymentGatewayProvider() != null) {
      form.setPaymentGateway(header.getPaymentGatewayProvider());
      if (header.getPaymentGatewayProvider().equals(PayPalEngine.class.getSimpleName())) {
        form.setPayPal(true);
      }
View Full Code Here

    Vector<OrderTaxForm> orderTaxes = new Vector<OrderTaxForm>();
    while (iterator.hasNext()) {
      OrderDetailTax orderDetailTax = (OrderDetailTax) iterator.next();
      OrderTaxForm orderTaxForm = new OrderTaxForm();
      orderTaxForm.setTaxName(orderDetailTax.getTaxName());
      orderTaxForm.setTaxAmount(numberFormatter.formatCurrency(orderDetailTax.getTaxAmount()));
      orderTaxes.add(orderTaxForm);
    }
    form.setOrderTaxes(orderTaxes);
   
   
View Full Code Here

      }
     
      dform.setItemNum(detail.getItemNum());
      dform.setItemUpcCd(detail.getItemUpcCd());
      dform.setItemTierQty(numberFormatter.formatNumber(detail.getItemTierQty()));
      dform.setItemTierPrice(numberFormatter.formatCurrency(detail.getItemTierPrice()));

      String priceDisplay = numberFormatter.formatCurrency(detail.getItemTierPrice());
      if (detail.getItemTierQty() > 1) {
        priceDisplay = numberFormatter.formatNumber(detail.getItemTierQty()) + " / " + numberFormatter.formatCurrency(detail.getItemTierPrice());
      }
View Full Code Here

      dform.setItemNum(detail.getItemNum());
      dform.setItemUpcCd(detail.getItemUpcCd());
      dform.setItemTierQty(numberFormatter.formatNumber(detail.getItemTierQty()));
      dform.setItemTierPrice(numberFormatter.formatCurrency(detail.getItemTierPrice()));

      String priceDisplay = numberFormatter.formatCurrency(detail.getItemTierPrice());
      if (detail.getItemTierQty() > 1) {
        priceDisplay = numberFormatter.formatNumber(detail.getItemTierQty()) + " / " + numberFormatter.formatCurrency(detail.getItemTierPrice());
      }
      dform.setPriceDisplay(priceDisplay);
     
View Full Code Here

      dform.setItemTierQty(numberFormatter.formatNumber(detail.getItemTierQty()));
      dform.setItemTierPrice(numberFormatter.formatCurrency(detail.getItemTierPrice()));

      String priceDisplay = numberFormatter.formatCurrency(detail.getItemTierPrice());
      if (detail.getItemTierQty() > 1) {
        priceDisplay = numberFormatter.formatNumber(detail.getItemTierQty()) + " / " + numberFormatter.formatCurrency(detail.getItemTierPrice());
      }
      dform.setPriceDisplay(priceDisplay);
     
      dform.setItemOrderQty(numberFormatter.formatNumber(detail.getItemOrderQty()));
      dform.setItemSubTotal(numberFormatter.formatCurrency(detail.getItemDetailAmount()));
View Full Code Here

        priceDisplay = numberFormatter.formatNumber(detail.getItemTierQty()) + " / " + numberFormatter.formatCurrency(detail.getItemTierPrice());
      }
      dform.setPriceDisplay(priceDisplay);
     
      dform.setItemOrderQty(numberFormatter.formatNumber(detail.getItemOrderQty()));
      dform.setItemSubTotal(numberFormatter.formatCurrency(detail.getItemDetailAmount()));
     
      int itemInvoiceQty = 0;
      for (InvoiceDetail invoiceDetail : detail.getInvoiceDetails()) {
        itemInvoiceQty += invoiceDetail.getItemInvoiceQty();
      }
View Full Code Here

    iterator = header.getCreditHeaders().iterator();
    while (iterator.hasNext()) {
      CreditHeader creditHeader = (CreditHeader) iterator.next();
      CreditDetailDisplayForm creditDisplayForm = new CreditDetailDisplayForm();
      creditDisplayForm.setCreditNum(creditHeader.getCreditNum());
      creditDisplayForm.setCreditTotal(numberFormatter.formatCurrency(creditHeader.getCreditTotal()));
      creditDisplayForm.setCreditStatusDesc(resources.getMessage("order.status." + creditHeader.getCreditStatus()));
      creditDisplayForm.setCreditDatetime(numberFormatter.formatDate(creditHeader.getCreditDate()));
      creditVector.add(creditDisplayForm);
    }
    form.setCreditDetails(creditVector);
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.