Business::TW::TSIB::VirtualAccount - Module for Taishin Bank Virtual Account Management
Version 0.03
use Business::TW::TSIB::VirtualAccount; my $va = Business::TW::TSIB::VirtualAccount->new({ corp_code => '95678' }); my $acc = $va->generate( { due => DateTime->new( year => 2007, month => 4, day => 2 ) amount => 3900, ar_id => '2089' } ); # $acc should be '95286092208929' # total 14 columns my $entries = Business::TW::TSIB::VirtualAccount->parse_summary($fh); # entries is arrayref of Business::TW::TSIB::VirtualAccount::Entry objects, # which has the following accessors: * response_code * account * date * seqno * flag * time * txn_type * amount * postive * entry_type * virtual_account * id * from_bank * comment * preserved * status
This module provides utility functions for the virtual account service by TSIB (Taishin International Bank, Taiwan).
Initialize the virtual account context with corp_code provided by TSIB.
corp_code
Generate a virtual account with the given arguments. $args is a hash ref and must contain:
A DateTime object for due day of the payment
The expected amount of the transaction.
The arbitary account receivable identifier.
Chia-liang Kao, <clkao AT aiink.com> , You-An Lin, <c9s AT aiink.com>
<clkao AT aiink.com>
<c9s AT aiink.com>
Please report any bugs or feature requests to bug-business-tw-taishinbank-virtualaccount at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Business-TW-TSIB-VirtualAccount. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-business-tw-taishinbank-virtualaccount at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Business::TW::TSIB::VirtualAccount
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Business-TW-TSIB-VirtualAccount
CPAN Ratings
http://cpanratings.perl.org/d/Business-TW-TSIB-VirtualAccount
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-TW-TSIB-VirtualAccount
Search CPAN
http://search.cpan.org/dist/Business-TW-TSIB-VirtualAccount
Copyright 2007 AIINK co., ltd, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Business::TW::TSIB::VirtualAccount, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::TW::TSIB::VirtualAccount
CPAN shell
perl -MCPAN -e shell install Business::TW::TSIB::VirtualAccount
For more information on module installation, please visit the detailed CPAN module installation guide.