Class SantanderWebSite

    • Field Detail

      • CLASS_NAME_FOR_LOADING_OVERLAY

        protected static final java.lang.String CLASS_NAME_FOR_LOADING_OVERLAY
        Class name of the loading overlay div
        See Also:
        Constant Field Values
    • Constructor Detail

      • SantanderWebSite

        protected SantanderWebSite​(de.willuhn.jameica.hbci.rmi.Konto konto,
                                   de.willuhn.jameica.hbci.rmi.KontoType type,
                                   java.lang.String userName)
                            throws WebSiteException
        Erstellt ein neues Webseiten-Objekt zur Kontaktaufnahme mit der BCEE.
        Parameters:
        konto - the konto
        type -
        userName - the user name
        Throws:
        WebSiteException - the web site exception
    • Method Detail

      • getAccountSheetAsByteArray

        public static byte[] getAccountSheetAsByteArray​(org.apache.commons.lang3.tuple.Pair<java.util.Date,​org.openqa.selenium.WebElement> document,
                                                        org.openqa.selenium.WebDriver webClient)
                                                 throws WebSiteException
        Returns the account sheet as byte array
        Parameters:
        document - the message from the postbox with download link inside
        webClient -
        Returns:
        the account sheet as byte array
        Throws:
        WebSiteException - if the download of the account sheet failed
      • getInstance

        public static SantanderWebSite getInstance​(de.willuhn.jameica.hbci.rmi.Konto konto)
                                            throws WebSiteException,
                                                   de.willuhn.util.ApplicationException
        Liefert die Instance der WebSeite.
        Parameters:
        konto - the konto
        Returns:
        die WebSeite
        Throws:
        WebSiteException - the web site exception
        de.willuhn.util.ApplicationException - the application exception
      • waitForLoadingOverlay

        public static void waitForLoadingOverlay​(org.openqa.selenium.WebDriver driver)
        Waits until the loading overlay LoadingOverlay__overlay___GvaFv is invisible.
        Parameters:
        driver - with the current page
      • getBookedTransactions

        public java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getBookedTransactions()
                                                                                 throws WebSiteException,
                                                                                        de.willuhn.util.ApplicationException
        Gets the booked transactions.
        Returns:
        the booked transactions
        Throws:
        WebSiteException - the web site exception
        de.willuhn.util.ApplicationException - the application exception
        See Also:
        WebSite.getBookedTransactions()
      • getClearingEntry

        public ClearingEntry getClearingEntry()
        Returns the clearing transaction
        Returns:
        the clearing transaction
      • getPreBookedTransactions

        public java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getPreBookedTransactions()
                                                                                    throws WebSiteException,
                                                                                           de.willuhn.util.ApplicationException
        Gets the pre booked transactions.
        Returns:
        the pre booked transactions
        Throws:
        WebSiteException - the web site exception
        de.willuhn.util.ApplicationException - the application exception
        See Also:
        WebSite.getPreBookedTransactions()
      • isSupporting

        protected boolean isSupporting​(de.willuhn.jameica.hbci.rmi.KontoType type)
        Üperfüpt, ob die WebSeiteninstance den Kontotypen unterstützt.
        Parameters:
        type - der Kontoyp
        Returns:
        true, wenn der Kontotyp unterstützt wird, false sonst.