Class ClearingEntry


  • public class ClearingEntry
    extends java.lang.Object
    Bean mit Ausgleichbuchungsinformationen
    Author:
    Frank Münster
    • Constructor Summary

      Constructors 
      Constructor Description
      ClearingEntry​(java.lang.String kartenNumber, java.lang.String inhaber, java.lang.String iban, java.lang.String bic, java.util.Date datum, java.math.BigDecimal betrag)
      Erstellt eine neue Ausgleichsbuchung mit den angegebenen Daten.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean exists()
      Checks if an transaction exits in the last 40 days or if a booked transaction exists with the amount and description text in the last 35 days.
      boolean saveEntry()
      Erstellt die Überweisung in Hibiscus.
      void setKonto​(de.willuhn.jameica.hbci.rmi.Konto konto)
      Setzt das Abbuchungskonto
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClearingEntry

        public ClearingEntry​(java.lang.String kartenNumber,
                             java.lang.String inhaber,
                             java.lang.String iban,
                             java.lang.String bic,
                             java.util.Date datum,
                             java.math.BigDecimal betrag)
                      throws org.apache.commons.lang.NullArgumentException
        Erstellt eine neue Ausgleichsbuchung mit den angegebenen Daten.
        Parameters:
        kartenNumber -
        inhaber -
        iban -
        bic -
        datum -
        betrag -
        Throws:
        org.apache.commons.lang.NullArgumentException
    • Method Detail

      • exists

        public boolean exists()
        Checks if an transaction exits in the last 40 days or if a booked transaction exists with the amount and description text in the last 35 days. All Hibiscus-accounts are search.
        Returns:
        true, if a clearing transaction exists false in the other case.
      • saveEntry

        public boolean saveEntry()
                          throws org.apache.commons.lang.NullArgumentException
        Erstellt die Überweisung in Hibiscus. Passiert schon mal nur, wenn der angegeben Betrag kleiner 0 ist.
        Returns:
        true falls die Überweisung angelegt werden konnte, false sonst und wenn keine Expection ausgelöst wurde.
        Throws:
        org.apache.commons.lang.NullArgumentException
      • setKonto

        public void setKonto​(de.willuhn.jameica.hbci.rmi.Konto konto)
                      throws org.apache.commons.lang.NullArgumentException,
                             java.rmi.RemoteException
        Setzt das Abbuchungskonto
        Parameters:
        konto - das Abbuchungskonto
        Throws:
        org.apache.commons.lang.NullArgumentException
        java.rmi.RemoteException