Class BosDetailsPage
java.lang.Object
de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
de.frankmuenster.mahoe.web.webpages.AbstractAccountPage<BosWebAccountInformation>
de.frankmuenster.mahoe.banks.bos.webpages.BosAccountPage
de.frankmuenster.mahoe.banks.bos.webpages.BosDetailsPage
- All Implemented Interfaces:
DetailsPage
The Bank of Scotland details page to retrieve account details
- Since:
- 2.6.0
- Author:
- Frank MÜnster
-
Field Summary
Fields inherited from class de.frankmuenster.mahoe.web.webpages.AbstractAccountPage
accountInfoFields inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
driver -
Constructor Summary
ConstructorsConstructorDescriptionBosDetailsPage(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo) Creates a new instance of the details page, opens it and extracts mandatory values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the available amount.getBIC()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.bos.webpages.BosAccountPage
open, openDetailsMethods inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
elementExist
-
Constructor Details
-
BosDetailsPage
public BosDetailsPage(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo) throws WebSiteException Creates a new instance of the details page, opens it and extracts mandatory values.- Parameters:
driver- the Selenium WebDriver with the logged in accountaccountInfo- the account info object- Throws:
WebSiteException- in case the details page could not be opened or mandatory values could not by extracted.
-
-
Method Details
-
getAvailableAmount
Description copied from interface:DetailsPageReturns the available amount.- Specified by:
getAvailableAmountin interfaceDetailsPage- Returns:
- the available amount
- Throws:
WebSiteException- in case the value could not be read from the details hover page
-
getBIC
-
getCreditLimit
Description copied from interface:DetailsPageReturn the limit of the credit card.- Specified by:
getCreditLimitin 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:DetailsPageReturn the date of the last transaction.- Specified by:
getLastTransactionin 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:DetailsPageReturn the date of the next credit card bill.- Specified by:
getNextBillin 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:DetailsPageReturn the date of the next automatic subtraction.- Specified by:
getNextSubtractionin 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:DetailsPageThe description of the credit card.- Specified by:
getProductDescriptionin 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:DetailsPageThe actual saldo.- Specified by:
getSaldoin interfaceDetailsPage- Returns:
- the saldo
- Throws:
WebSiteException- in case the value could not be read from the details hover page
-