Class TargoBankDetailsPage

    • Constructor Detail

      • TargoBankDetailsPage

        public TargoBankDetailsPage​(org.openqa.selenium.WebDriver driver,
                                    TargoBankWebAccountInformation accountInfo)
                             throws WebSiteException
        Creates a new details page for a TargoBank credit card account. Available fields are pre-filled.
        Parameters:
        driver -
        accountInfo -
        Throws:
        WebSiteException
    • Method Detail

      • getCreditLimit

        public java.math.BigDecimal getCreditLimit()
                                            throws WebSiteException
        Description copied from interface: DetailsPage
        Return the limit of the credit card.
        Specified by:
        getCreditLimit in interface DetailsPage
        Returns:
        the credit card limit
        Throws:
        WebSiteException - in case the value could not be read from the details hover page
      • getLastTransaction

        public java.time.LocalDate getLastTransaction()
                                               throws WebSiteException
        Description copied from interface: DetailsPage
        Return the date of the last transaction.
        Specified by:
        getLastTransaction in interface DetailsPage
        Returns:
        date of the last transaction
        Throws:
        WebSiteException - in case the value could not be read from the details hover page
      • getNextBill

        public java.time.LocalDate getNextBill()
                                        throws WebSiteException
        Description copied from interface: DetailsPage
        Return the date of the next credit card bill.
        Specified by:
        getNextBill in interface DetailsPage
        Returns:
        date of the next credit card bill
        Throws:
        WebSiteException - in case the value could not be read from the details hover page
      • getNextSubtraction

        public java.time.LocalDate getNextSubtraction()
                                               throws WebSiteException
        Description copied from interface: DetailsPage
        Return the date of the next automatic subtraction.
        Specified by:
        getNextSubtraction in interface DetailsPage
        Returns:
        date of the next automatic subtraction
        Throws:
        WebSiteException - in case the value could not be read from the details hover page