Package org.easetech.easytest._1

Examples of org.easetech.easytest._1.InputTestData


            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setBillerPayee(_1Factory.INSTANCE.createBillerPayee_Type());
            BillerPayee_Type BillerP = trnRec1.getBankAcctTrnRec().getCustPayeeInfo().getBillerPayee();

            BillerP.setBillerId(_1Factory.INSTANCE.createBillerId_Type());
            BillerId_Type BId = BillerP.getBillerId();

            BId.setBillerNum("123");
            BId.setSPName("SomeName");

            trnRec1.setAvailDt("sss");
            trnRec1.setPmtId("SomeID");
            trnRec1.setXferId("SomeOtherID");
View Full Code Here


            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setAcctPayAcctId("12");
            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setName("John Doe");
            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setNickname("Jody");

            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setBillerPayee(_1Factory.INSTANCE.createBillerPayee_Type());
            BillerPayee_Type BillerP = trnRec1.getBankAcctTrnRec().getCustPayeeInfo().getBillerPayee();

            BillerP.setBillerId(_1Factory.INSTANCE.createBillerId_Type());
            BillerId_Type BId = BillerP.getBillerId();

            BId.setBillerNum("123");
            BId.setSPName("SomeName");

            trnRec1.setAvailDt("sss");
View Full Code Here

            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setAcctPayAcctId("12");
            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setName("John Doe");
            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setNickname("Jody");

            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setBillerPayee(_1Factory.INSTANCE.createBillerPayee_Type());
            BillerPayee_Type BillerP = trnRec1.getBankAcctTrnRec().getCustPayeeInfo().getBillerPayee();

            BillerP.setBillerId(_1Factory.INSTANCE.createBillerId_Type());
            BillerId_Type BId = BillerP.getBillerId();

            BId.setBillerNum("123");
            BId.setSPName("SomeName");

            trnRec1.setAvailDt("sss");
View Full Code Here

    protected void tearDown() throws Exception {
        scaDomain.close();
    }

    public void testDepAcctTrnInq() throws IOException {
        DepAcctTrnInqRq_Type depAcctTrnInqRequest = _1Factory.INSTANCE.createDepAcctTrnInqRq_Type();
        TrnCountLimit_Type trnCountLimit = _1Factory.INSTANCE.createTrnCountLimit_Type();
        depAcctTrnInqRequest.setTrnCountLimit(trnCountLimit);
        depAcctTrnInqRequest.getTrnCountLimit().setCount(2);

        try {
            DepAcctTrnInqRs_Type depAcctTrnInqResponse = trnInq.DepAcctTrnInq(depAcctTrnInqRequest);
        } catch (Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
            e.printStackTrace(pw);
            Assert.fail("Should pass with MaxRec 2! \n" + sw);
            sw.close();
            pw.close();
        }

        depAcctTrnInqRequest.getTrnCountLimit().setCount(10);
        try {
            DepAcctTrnInqRs_Type depAcctTrnInqResponse = trnInq.DepAcctTrnInq(depAcctTrnInqRequest);
        } catch (Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
View Full Code Here

    protected void tearDown() throws Exception {
        scaDomain.close();
    }

    public void testDepAcctTrnInq() throws IOException {
        DepAcctTrnInqRq_Type depAcctTrnInqRequest = _1Factory.INSTANCE.createDepAcctTrnInqRq_Type();
        TrnCountLimit_Type trnCountLimit = _1Factory.INSTANCE.createTrnCountLimit_Type();
        depAcctTrnInqRequest.setTrnCountLimit(trnCountLimit);
        depAcctTrnInqRequest.getTrnCountLimit().setCount(2);

        try {
            DepAcctTrnInqRs_Type depAcctTrnInqResponse = trnInq.DepAcctTrnInq(depAcctTrnInqRequest);
        } catch (Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
            e.printStackTrace(pw);
            Assert.fail("Should pass with MaxRec 2! \n" + sw);
            sw.close();
            pw.close();
        }

        depAcctTrnInqRequest.getTrnCountLimit().setCount(10);
        try {
            DepAcctTrnInqRs_Type depAcctTrnInqResponse = trnInq.DepAcctTrnInq(depAcctTrnInqRequest);
        } catch (Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
View Full Code Here

*/
public class TrnInqService implements TrninqInterface {

    public DepAcctTrnInqRs_Type DepAcctTrnInq(DepAcctTrnInqRq_Type req) throws RemoteException {

        DepAcctTrnInqRs_Type response = _1Factory.INSTANCE.createDepAcctTrnInqRs_Type();

        response.setStatus(_1Factory.INSTANCE.createStatus_Type());
        response.getStatus().setStatusCode(1);
        response.getStatus().setStatusDesc("the description associated with the code 1");
        AdditionalStatus_Type addStatus = _1Factory.INSTANCE.createAdditionalStatus_Type();
        addStatus.setServerStatusCode("STATUS_OK");
        addStatus.setSeverity("SEVERITY_WARNING");
        response.getStatus().getAdditionalStatus().add(addStatus);

        response.setDepAcctId(_1Factory.INSTANCE.createDepAcctId_Type());
        response.getDepAcctId().setBankInfo(_1Factory.INSTANCE.createBankInfo_Type());
        response.getDepAcctId().getBankInfo().setBranchId("Concord_1");
        response.getDepAcctId().getBankInfo().setBankId("Dufferin hill");
        response.getDepAcctId().getBankInfo().setBankIdType("Concord branch");
        response.getDepAcctId().getBankInfo().setBranchName("A Happy branch");
        response.getDepAcctId().getBankInfo().setCity("Toronto");

        response.getDepAcctId().getBankInfo().setCountry("Canada");
        response.getDepAcctId().getBankInfo().setName("Info for A Happy branch");
        response.getDepAcctId().getBankInfo().setPostalCode("L1LL1L");
        response.getDepAcctId().getBankInfo().setStateProv("ON");

        List records = response.getDepAcctTrnRec();
        // Record1
        DepAcctTrnRec_Type trnRec1 = null;
        BankAcctTrnRec_Type baTrnRec1 = null;
        long maxRec = req.getTrnCountLimit().getCount();
        for (int i = 0; i < maxRec; i++) {
View Full Code Here

        TrnCountLimit_Type trnCountLimit = _1Factory.INSTANCE.createTrnCountLimit_Type();
        depAcctTrnInqRequest.setTrnCountLimit(trnCountLimit);
        depAcctTrnInqRequest.getTrnCountLimit().setCount(2);

        try {
            DepAcctTrnInqRs_Type depAcctTrnInqResponse = trnInq.DepAcctTrnInq(depAcctTrnInqRequest);
        } catch (Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
            e.printStackTrace(pw);
            Assert.fail("Should pass with MaxRec 2! \n" + sw);
            sw.close();
            pw.close();
        }

        depAcctTrnInqRequest.getTrnCountLimit().setCount(10);
        try {
            DepAcctTrnInqRs_Type depAcctTrnInqResponse = trnInq.DepAcctTrnInq(depAcctTrnInqRequest);
        } catch (Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
            e.printStackTrace(pw);
            Assert.fail("Should pass with MaxRec 10! \n" + sw);
View Full Code Here

*/
public class TrnInqService implements TrninqInterface {

    public DepAcctTrnInqRs_Type DepAcctTrnInq(DepAcctTrnInqRq_Type req) throws RemoteException {

        DepAcctTrnInqRs_Type response = _1Factory.INSTANCE.createDepAcctTrnInqRs_Type();

        response.setStatus(_1Factory.INSTANCE.createStatus_Type());
        response.getStatus().setStatusCode(1);
        response.getStatus().setStatusDesc("the description associated with the code 1");
        AdditionalStatus_Type addStatus = _1Factory.INSTANCE.createAdditionalStatus_Type();
        addStatus.setServerStatusCode("STATUS_OK");
        addStatus.setSeverity("SEVERITY_WARNING");
        response.getStatus().getAdditionalStatus().add(addStatus);

        response.setDepAcctId(_1Factory.INSTANCE.createDepAcctId_Type());
        response.getDepAcctId().setBankInfo(_1Factory.INSTANCE.createBankInfo_Type());
        response.getDepAcctId().getBankInfo().setBranchId("Concord_1");
        response.getDepAcctId().getBankInfo().setBankId("Dufferin hill");
        response.getDepAcctId().getBankInfo().setBankIdType("Concord branch");
        response.getDepAcctId().getBankInfo().setBranchName("A Happy branch");
        response.getDepAcctId().getBankInfo().setCity("Toronto");

        response.getDepAcctId().getBankInfo().setCountry("Canada");
        response.getDepAcctId().getBankInfo().setName("Info for A Happy branch");
        response.getDepAcctId().getBankInfo().setPostalCode("L1LL1L");
        response.getDepAcctId().getBankInfo().setStateProv("ON");

        List records = response.getDepAcctTrnRec();
        // Record1
        DepAcctTrnRec_Type trnRec1 = null;
        BankAcctTrnRec_Type baTrnRec1 = null;
        long maxRec = req.getTrnCountLimit().getCount();
        for (int i = 0; i < maxRec; i++) {
View Full Code Here

        TrnCountLimit_Type trnCountLimit = _1Factory.INSTANCE.createTrnCountLimit_Type();
        depAcctTrnInqRequest.setTrnCountLimit(trnCountLimit);
        depAcctTrnInqRequest.getTrnCountLimit().setCount(2);

        try {
            DepAcctTrnInqRs_Type depAcctTrnInqResponse = trnInq.DepAcctTrnInq(depAcctTrnInqRequest);
        } catch (Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
            e.printStackTrace(pw);
            Assert.fail("Should pass with MaxRec 2! \n" + sw);
            sw.close();
            pw.close();
        }

        depAcctTrnInqRequest.getTrnCountLimit().setCount(10);
        try {
            DepAcctTrnInqRs_Type depAcctTrnInqResponse = trnInq.DepAcctTrnInq(depAcctTrnInqRequest);
        } catch (Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
            e.printStackTrace(pw);
            Assert.fail("Should pass with MaxRec 10! \n" + sw);
View Full Code Here

        response.getDepAcctId().getBankInfo().setPostalCode("L1LL1L");
        response.getDepAcctId().getBankInfo().setStateProv("ON");

        List records = response.getDepAcctTrnRec();
        // Record1
        DepAcctTrnRec_Type trnRec1 = null;
        BankAcctTrnRec_Type baTrnRec1 = null;
        long maxRec = req.getTrnCountLimit().getCount();
        for (int i = 0; i < maxRec; i++) {
            trnRec1 = _1Factory.INSTANCE.createDepAcctTrnRec_Type();
            baTrnRec1 = _1Factory.INSTANCE.createBankAcctTrnRec_Type();

            trnRec1.setBankAcctTrnRec(baTrnRec1);
            trnRec1.getBankAcctTrnRec().setCSPRefId("CSPRefId1");
            trnRec1.getBankAcctTrnRec().setPostedDt("1");
            trnRec1.getBankAcctTrnRec().setOrigDt("1");
            trnRec1.getBankAcctTrnRec().setBillRefInfo("aaaa");

            trnRec1.getBankAcctTrnRec().setTrnType("1");

            trnRec1.getBankAcctTrnRec().setCurAmt(_1Factory.INSTANCE.createCurrencyAmount());
            trnRec1.getBankAcctTrnRec().getCurAmt().setAmt(new java.math.BigDecimal(2000.35));
            trnRec1.getBankAcctTrnRec().getCurAmt().setCurCode("100");

            trnRec1.setStmtRunningBal(_1Factory.INSTANCE.createCurrencyAmount());
            trnRec1.getStmtRunningBal().setAmt(new java.math.BigDecimal("1345.55"));

            trnRec1.getBankAcctTrnRec().setCustPayeeInfo(_1Factory.INSTANCE.createCustPayeeInfo_Type());
            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setBillingAcct("000601832");
            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setAcctPayAcctId("12");
            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setName("John Doe");
            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setNickname("Jody");

            trnRec1.getBankAcctTrnRec().getCustPayeeInfo().setBillerPayee(_1Factory.INSTANCE.createBillerPayee_Type());
            BillerPayee_Type BillerP = trnRec1.getBankAcctTrnRec().getCustPayeeInfo().getBillerPayee();

            BillerP.setBillerId(_1Factory.INSTANCE.createBillerId_Type());
            BillerId_Type BId = BillerP.getBillerId();

            BId.setBillerNum("123");
            BId.setSPName("SomeName");

            trnRec1.setAvailDt("sss");
            trnRec1.setPmtId("SomeID");
            trnRec1.setXferId("SomeOtherID");

            records.add(trnRec1);
        }

        return response;
View Full Code Here

TOP

Related Classes of org.easetech.easytest._1.InputTestData

Copyright © 2018 www.massapicom. 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.