Class TargoBankDetailsPage
java.lang.Object
de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
de.frankmuenster.mahoe.web.webpages.AbstractAccountPage<TargoBankWebAccountInformation>
de.frankmuenster.mahoe.banks.targobank.web.webpages.TargoBankAccountPage
de.frankmuenster.mahoe.banks.targobank.web.webpages.TargoBankDetailsPage
- All Implemented Interfaces:
DetailsPage
Instance of the TargoBank details page to retrieve account details
- Author:
- papa
-
Field Summary
Fields inherited from class de.frankmuenster.mahoe.web.webpages.AbstractAccountPage
accountInfo
Fields inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
driver
-
Constructor Summary
ConstructorsConstructorDescriptionTargoBankDetailsPage
(org.openqa.selenium.WebDriver driver, TargoBankWebAccountInformation accountInfo) Creates a new details page for a TargoBank credit card account. -
Method Summary
Modifier and TypeMethodDescriptionReturns the available amount.Return the limit of the credit card.Return the date of the last transaction.Return the date of the next credit card bill.Return the date of the next automatic subtraction.The description of the credit card.getSaldo()
The actual saldo.Methods inherited from class de.frankmuenster.mahoe.banks.targobank.web.webpages.TargoBankAccountPage
open
Methods inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
elementExist
-
Constructor Details
-
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 Details
-
getAvailableAmount
Description copied from interface:DetailsPage
Returns the available amount.- Specified by:
getAvailableAmount
in interfaceDetailsPage
- Returns:
- the available amount
- Throws:
WebSiteException
- in case the value could not be read from the details hover page
-
getCreditLimit
Description copied from interface:DetailsPage
Return the limit of the credit card.- Specified by:
getCreditLimit
in interfaceDetailsPage
- Returns:
- the credit card limit
- Throws:
WebSiteException
- in case the value could not be read from the details hover page
-
getLastTransaction
Description copied from interface:DetailsPage
Return the date of the last transaction.- Specified by:
getLastTransaction
in interfaceDetailsPage
- Returns:
- date of the last transaction
- Throws:
WebSiteException
- in case the value could not be read from the details hover page
-
getNextBill
Description copied from interface:DetailsPage
Return the date of the next credit card bill.- Specified by:
getNextBill
in interfaceDetailsPage
- Returns:
- date of the next credit card bill
- Throws:
WebSiteException
- in case the value could not be read from the details hover page
-
getNextSubtraction
Description copied from interface:DetailsPage
Return the date of the next automatic subtraction.- Specified by:
getNextSubtraction
in interfaceDetailsPage
- Returns:
- date of the next automatic subtraction
- Throws:
WebSiteException
- in case the value could not be read from the details hover page
-
getProductDescription
Description copied from interface:DetailsPage
The description of the credit card.- Specified by:
getProductDescription
in interfaceDetailsPage
- Returns:
- the credit card description
- Throws:
WebSiteException
- in case the value could not be read from the details hover page
-
getSaldo
Description copied from interface:DetailsPage
The actual saldo.- Specified by:
getSaldo
in interfaceDetailsPage
- Returns:
- the saldo
- Throws:
WebSiteException
- in case the value could not be read from the details hover page
-