NAME

Finance::Bank::ID::Base - Base class for Finance::Bank::ID::BCA etc

VERSION

This document describes version 0.30 of Finance::Bank::ID::Base (from Perl distribution Finance-Bank-ID-BCA), released on 2014-08-26.

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/sharyanto/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

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Steven Haryanto.

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