NAME
Finance::Bank::ID::Base - Base class for Finance::Bank::ID::BCA etc
VERSION
This document describes version 0.500 of Finance::Bank::ID::Base (from Perl distribution Finance-Bank-ID-BCA), released on 2019-05-10.
SYNOPSIS
# Don't use this module directly, use one of its subclasses instead.
DESCRIPTION
This module provides a base implementation for Finance::Bank::ID::BCA and Finance::Bank::ID::Mandiri.
ATTRIBUTES
accounts
https_ca_dir
https_host
logged_in
logger
logger_dump
mech
password
site
username
verify_https
save_dir => STR
If set, each HTP response will be saved as YAML files in this dir. Existing files will be overwritten.
mode => STR
Can be set to simulation
for simulation mode. In this mode, instead of actually sending requests to network, each request will use responses saved previously in save_dir
.
METHODS
new(%args) => OBJ
Create a new instance.
$obj->login()
Login to netbanking site.
$obj->logout()
Logout from netbanking site.
$obj->list_accounts()
List accounts.
$obj->check_balance([$acct])
$obj->get_balance()
Synonym for check_balance.
$obj->get_statement(%args)
Get account statement.
$obj->check_statement()
Alias for get_statement
$obj->account_statement()
Alias for get_statement
$obj->parse_statement($html_or_text, %opts)
Parse HTML/text into statement data.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Finance-Bank-ID-BCA.
SOURCE
Source repository is at https://github.com/perlancar/perl-Finance-Bank-ID-BCA.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Finance-Bank-ID-BCA
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2019, 2017, 2015, 2014, 2013, 2012, 2011, 2010 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.