DetailsPage
public class TargoBankDetailsPage extends TargoBankAccountPage implements DetailsPage
accountInfo
driver
Constructor | Description |
---|---|
TargoBankDetailsPage(org.openqa.selenium.WebDriver driver,
TargoBankWebAccountInformation accountInfo) |
Creates a new details page for a TargoBank credit card 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.
|
elementExist
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
open
public TargoBankDetailsPage(org.openqa.selenium.WebDriver driver, TargoBankWebAccountInformation accountInfo) throws WebSiteException
driver
- accountInfo
- WebSiteException
public java.math.BigDecimal getAvailableAmount() throws WebSiteException
DetailsPage
getAvailableAmount
in interface DetailsPage
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.math.BigDecimal getCreditLimit() throws WebSiteException
DetailsPage
getCreditLimit
in interface DetailsPage
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.time.LocalDate getLastTransaction() throws WebSiteException
DetailsPage
getLastTransaction
in interface DetailsPage
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.time.LocalDate getNextBill() throws WebSiteException
DetailsPage
getNextBill
in interface DetailsPage
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.time.LocalDate getNextSubtraction() throws WebSiteException
DetailsPage
getNextSubtraction
in interface DetailsPage
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.lang.String getProductDescription() throws WebSiteException
DetailsPage
getProductDescription
in interface DetailsPage
WebSiteException
- in case the value could not be read from the details hover
pagepublic java.math.BigDecimal getSaldo() throws WebSiteException
DetailsPage
getSaldo
in interface DetailsPage
WebSiteException
- in case the value could not be read from the details hover
page