Examples of voidCredit()


Examples of com.jada.order.document.CreditEngine.voidCredit()

    CreditHeader creditHeader = (CreditHeader) em.find(CreditHeader.class, Format.getLong(form.getCreditHeaderId()));
    getMissingFormInformation(form, adminBean.getSiteId());

      CreditEngine creditEngine = new CreditEngine(creditHeader, user);
      try {
        creditEngine.voidCredit();
        creditEngine.saveOrder();
      }
      catch (OrderStateException e) {
          initOrder(form, orderHeader, null, creditHeader, null, request);
          calcTotal(form, creditHeader.getCreditHeaderId(), creditEngine);
View Full Code Here

Examples of com.jada.order.payment.PaymentEngine.voidCredit()

    }
   
    String paymentGatewayProvider = orderHeader.getPaymentGatewayProvider();
    if (paymentGatewayProvider != null) {
      PaymentEngine paymentEngine = PaymentManager.getPaymentEngine(paymentGatewayProvider, orderHeader.getSiteCurrency());
      paymentEngine.voidCredit(creditHeader);
      PaymentTran paymentTran = new PaymentTran();
      paymentTran.setAuthCode(paymentEngine.getAuthCode());
      paymentTran.setPaymentReference1(paymentEngine.getPaymentReference1());
      paymentTran.setPaymentReference2(paymentEngine.getPaymentReference2());
      paymentTran.setPaymentReference3(paymentEngine.getPaymentReference3());
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.