public class DetailsPage extends TransactionsPage
accountInfo, driver, isCreditCard
Constructor | Description |
---|---|
DetailsPage(org.openqa.selenium.WebDriver driver,
java.lang.String baseUrl,
SantanderWebAccountInformation accountInfo) |
Create a new instance of the details page for the given account
|
Modifier and Type | Method | Description |
---|---|---|
java.math.BigDecimal |
getAvailableAmount() |
Returns the available amount.
|
java.math.BigDecimal |
getCreditLimit() |
Return the limit of the credit card.
|
java.time.LocalDate |
getLastTransaction() |
Return the date of the last transaction.
|
java.time.LocalDate |
getNextBill() |
Return the date of the next credit card bill.
|
java.time.LocalDate |
getNextSubtraction() |
Return the date of the next automatic subtraction.
|
java.lang.String |
getProductDescription() |
The description of the credit card.
|
java.math.BigDecimal |
getSaldo() |
The actual saldo.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransactions
public DetailsPage(org.openqa.selenium.WebDriver driver, java.lang.String baseUrl, SantanderWebAccountInformation accountInfo) throws WebSiteException, java.rmi.RemoteException
driver
- accountInfo
- WebSiteException
java.rmi.RemoteException
public java.math.BigDecimal getAvailableAmount() throws WebSiteException
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.math.BigDecimal getCreditLimit() throws WebSiteException
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.time.LocalDate getLastTransaction() throws WebSiteException
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.time.LocalDate getNextBill() throws WebSiteException
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.time.LocalDate getNextSubtraction() throws WebSiteException
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.lang.String getProductDescription() throws WebSiteException
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.math.BigDecimal getSaldo() throws WebSiteException
WebSiteException
- in case the value could not be read from the details hover
page