Alex Peters > Finance-Bank-Bankwest > Finance::Bank::Bankwest::Parser::TransactionSearch

Download:
Finance-Bank-Bankwest-1.2.6.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: v1.2.6   Source  

NAME ^

Finance::Bank::Bankwest::Parser::TransactionSearch - transaction search page parser

VERSION ^

This module is part of distribution Finance-Bank-Bankwest v1.2.6.

This distribution's version numbering follows the conventions defined at semver.org.

DESCRIPTION ^

This module holds the logic for identifying an HTTP::Response object as a Bankwest Online Banking transaction search page, and throwing appropriate exceptions when the page indicates that something has gone wrong (e.g. bad data entered into the form).

If the response holds a search form with no error messages or fields marked as having invalid input, a Finance::Bank::Bankwest::Error::ExportFailed::UnknownReason exception is thrown. This is because of the possibility that such a page could theoretically be returned for some reason after form submission, and in such a case it is important for an exception to be thrown. In cases where an empty form is expected (such as loading the form to populate and submit it), the exception can be discarded.

If error messages or fields marked as having invalid input appear in the response, a Finance::Bank::Bankwest::Error::ExportFailed exception is thrown.

SEE ALSO ^

AUTHOR ^

Alex Peters <lxp@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Alex Peters.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

The full text of the license can be found in the LICENSE file included with this distribution.

syntax highlighting: