BankAccountStatementPage
public class TargoBankAccountStatementsPage extends java.lang.Object implements BankAccountStatementPage
Constructor | Description |
---|---|
TargoBankAccountStatementsPage(org.openqa.selenium.WebDriver driver,
java.lang.String cardAccount) |
Constructs a new statement page object with the first page loaded
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
accountLinksHasNextPage() |
Exists a NEXT button for the last getAccountLinks call.
|
java.util.Map<java.util.Date,org.openqa.selenium.WebElement> |
getAccountLinks(java.util.Date from) |
Read all links on the page till the given date and stores them as a
WebElement together with the date in a map. |
BankAccountStatementPage |
getNextPage() |
Open the next page if exists
|
java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> |
getTransactions(java.util.Date startDate) |
Read all the transactions from the PDF from the given start date
|
boolean |
hasNextPage() |
Exists a NEXT button, so a next page
|
public TargoBankAccountStatementsPage(org.openqa.selenium.WebDriver driver, java.lang.String cardAccount) throws WebSiteException
website
- cardAccount
- WebSiteException
public boolean accountLinksHasNextPage()
BankAccountStatementPage
accountLinksHasNextPage
in interface BankAccountStatementPage
public java.util.Map<java.util.Date,org.openqa.selenium.WebElement> getAccountLinks(java.util.Date from)
WebElement
together with the date in a map.from
- public BankAccountStatementPage getNextPage()
BankAccountStatementPage
getNextPage
in interface BankAccountStatementPage
public java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getTransactions(java.util.Date startDate)
BankAccountStatementPage
getTransactions
in interface BankAccountStatementPage
startDate
- the date to start reading the transactions frompublic boolean hasNextPage()
BankAccountStatementPage
hasNextPage
in interface BankAccountStatementPage