DetailsPagepublic class BosDetailsPage extends BosAccountPage implements DetailsPage
accountInfodriver| Constructor | Description |
|---|---|
BosDetailsPage(org.openqa.selenium.WebDriver driver,
BosWebAccountInformation accountInfo) |
Creates a new instance of the details page, opens it and extracts
mandatory values.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.math.BigDecimal |
getAvailableAmount() |
Returns the available amount.
|
java.lang.String |
getBIC() |
|
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.
|
open, openDetailsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitelementExistpublic BosDetailsPage(org.openqa.selenium.WebDriver driver,
BosWebAccountInformation accountInfo)
throws WebSiteException
driver - the Selenium WebDriver with the logged in accountaccountInfo - the account info objectWebSiteException - in case the details page could not be opened or mandatory
values could not by extracted.public java.math.BigDecimal getAvailableAmount()
throws WebSiteException
DetailsPagegetAvailableAmount in interface DetailsPageWebSiteException - in case the value could not be read from the details hover
pagepublic java.lang.String getBIC()
public java.math.BigDecimal getCreditLimit()
throws WebSiteException
DetailsPagegetCreditLimit in interface DetailsPageWebSiteException - in case the value could not be read from the details hover
pagepublic java.time.LocalDate getLastTransaction()
throws WebSiteException
DetailsPagegetLastTransaction in interface DetailsPageWebSiteException - in case the value could not be read from the details hover
pagepublic java.time.LocalDate getNextBill()
throws WebSiteException
DetailsPagegetNextBill in interface DetailsPageWebSiteException - in case the value could not be read from the details hover
pagepublic java.time.LocalDate getNextSubtraction()
throws WebSiteException
DetailsPagegetNextSubtraction in interface DetailsPageWebSiteException - in case the value could not be read from the details hover
pagepublic java.lang.String getProductDescription()
throws WebSiteException
DetailsPagegetProductDescription in interface DetailsPageWebSiteException - in case the value could not be read from the details hover
pagepublic java.math.BigDecimal getSaldo()
throws WebSiteException
DetailsPagegetSaldo in interface DetailsPageWebSiteException - in case the value could not be read from the details hover
page