Class ClearingEntry
java.lang.Object
de.frankmuenster.mahoe.banks.santander.clearing.ClearingEntry
Bean mit Ausgleichbuchungsinformationen
- Author:
- Frank Münster
-
Constructor Summary
ConstructorsConstructorDescriptionClearingEntry
(String kartenNumber, String inhaber, String iban, String bic, Date datum, BigDecimal betrag) Erstellt eine neue Ausgleichsbuchung mit den angegebenen Daten. -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
Erstellt die Überweisung in Hibiscus.void
setKonto
(de.willuhn.jameica.hbci.rmi.Konto konto) Setzt das Abbuchungskonto
-
Constructor Details
-
ClearingEntry
public ClearingEntry(String kartenNumber, String inhaber, String iban, String bic, Date datum, 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 Details
-
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.NullArgumentExceptionErstellt 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, RemoteException Setzt das Abbuchungskonto- Parameters:
konto
- das Abbuchungskonto- Throws:
org.apache.commons.lang.NullArgumentException
RemoteException
-