Package org.kapott.hbci.GV_Result

Examples of org.kapott.hbci.GV_Result.GVRKontoauszug


        return "Kontoauszug";
    }
   
    public GVKontoauszug(HBCIHandler handler,String name)
    {
        super(handler, name, new GVRKontoauszug());
    }
View Full Code Here


    }

    protected void extractResults(HBCIMsgStatus msgstatus,String header,int idx)
    {
        Properties     result=msgstatus.getData();
        GVRKontoauszug umsResult=(GVRKontoauszug)jobResult;
       
        String format = result.getProperty(header+".format");
        String rawData = result.getProperty(header+".booked");
       
        if (rawData!=null) {
            if (format.equals("1")) {
                umsResult.appendMT940Data(Swift.decodeUmlauts(rawData));
            } else if (format.equals("2")) {
                umsResult.appendISOData(rawData);
            } else if (format.equals("3")) {
                umsResult.appendPDFData(rawData);
            } else {
                HBCIUtils.log(
                    "unknown format in result for GV Kontoauszug: "+format,
                    HBCIUtils.LOG_ERR);
            }
        }
       
        umsResult.setFormat(format);
        umsResult.setStartDate(HBCIUtils.string2DateISO(result.getProperty(header+".TimeRange.startdate")));
        umsResult.setEndDate(HBCIUtils.string2DateISO(result.getProperty(header+".TimeRange.enddate")));
        umsResult.setAbschlussInfo(result.getProperty(header+".abschlussinfo"));
        umsResult.setKundenInfo(result.getProperty(header+".kondinfo"));
        umsResult.setWerbetext(result.getProperty(header+".ads"));
        umsResult.setIBAN(result.getProperty(header+".iban"));
        umsResult.setBIC(result.getProperty(header+".bic"));
        umsResult.setName(result.getProperty(header+".name"));
        umsResult.setName2(result.getProperty(header+".name2"));
        umsResult.setName3(result.getProperty(header+".name3"));
        umsResult.setReceipt(result.getProperty(header+".receipt"));
    }
View Full Code Here

TOP

Related Classes of org.kapott.hbci.GV_Result.GVRKontoauszug

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.