Examples of PaymentDetailsDO


Examples of com.san.my.dataobj.PaymentDetailsDO

            payment.setTransFlow(Constants.DEBIT);
           
            if(purchaseSlip.getPaymentMode().equals(Constants.PAYMENT_MODE_CASH)){
                payment.setPaymentMode(Constants.PAYMENT_MODE_CASH);
            }else{
                PaymentDetailsDO paymentDetails = new PaymentDetailsDO();
                paymentDetails.setDatetime(currentTime);
                paymentDetails.setAmount(purchaseSlip.getPaymentAmount());
                paymentDetails.setCheckNumber(purchaseSlip.getCheckNumber());
                paymentDetails.setBankName(purchaseSlip.getBankName());
                paymentDetails.setBranchName(purchaseSlip.getBranchName());
                paymentDetails.setBusinessTransaction(payment);
                paymentDetails.setDescription("Firm has paid this amount towards this bill");
               
                payment.setPaymentMode(Constants.PAYMENT_MODE_CHECK);
                payment.setPaymentDetails(paymentDetails);
            }
           
View Full Code Here

Examples of com.san.my.dataobj.PaymentDetailsDO

            payment.setTransFlow(Constants.DEBIT);
           
            if(purchaseSlip.getPaymentMode().equals(Constants.PAYMENT_MODE_CASH)){
                payment.setPaymentMode(Constants.PAYMENT_MODE_CASH);
            }else{
                PaymentDetailsDO paymentDetails = new PaymentDetailsDO();
                paymentDetails.setDatetime(currentTime);
                paymentDetails.setAmount(purchaseSlip.getPaymentAmount());
                paymentDetails.setCheckNumber(purchaseSlip.getCheckNumber());
                paymentDetails.setBankName(purchaseSlip.getBankName());
                paymentDetails.setBranchName(purchaseSlip.getBranchName());
                paymentDetails.setBusinessTransaction(payment);
                paymentDetails.setDescription("Firm has paid this amount towards this bill");
               
                payment.setPaymentMode(Constants.PAYMENT_MODE_CHECK);
                payment.setPaymentDetails(paymentDetails);
            }
           
View Full Code Here

Examples of com.san.my.dataobj.PaymentDetailsDO

        }
       
        if(form.getPaymentMode().equals(Constants.PAYMENT_MODE_CASH)){
            transaction.setPaymentMode(Constants.PAYMENT_MODE_CASH);
        }else{
            PaymentDetailsDO paymentDetails = new PaymentDetailsDO();
            paymentDetails.setDatetime(currentTime);
            paymentDetails.setAmount(form.getAmount());
            paymentDetails.setCheckNumber(form.getCheckNumber());
            paymentDetails.setBankName(form.getBankName());
            paymentDetails.setBranchName(form.getBranchName());
            paymentDetails.setBusinessTransaction(transaction);
           
            if(action.equals(Constants.TRANSACTION_PAYMENT))
                paymentDetails.setDescription("Firm has Paid this amount to "+form.getAccount());
            else if(action.equals(Constants.TRANSACTION_RECEIPT))
                paymentDetails.setDescription("Firm has Recieved this amount from "+form.getAccount());
           
            transaction.setPaymentMode(Constants.PAYMENT_MODE_CHECK);
            transaction.setPaymentDetails(paymentDetails);
        }
       
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.