• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Business/TW/TSIB/H30-Nov-2007-351154

t/H30-Nov-2007-10967

ChangesH A D08-Nov-2007152 95

MANIFESTH A D30-Nov-2007245 1211

META.ymlH A D30-Nov-2007570 1817

Makefile.PLH A D30-Nov-2007632 2018

READMEH A D08-Nov-20072.7 KiB9168

README

1NAME
2    Business::TW::TSIB::VirtualAccount - Module for Taishin Bank Virtual
3    Account Management
4
5VERSION
6    Version 0.03
7
8SYNOPSIS
9        use Business::TW::TSIB::VirtualAccount;
10        my $va  = Business::TW::TSIB::VirtualAccount->new({ corp_code => '9528' });
11        my $acc = $va->generate( { due    => DateTime->new( year => 2007, month => 4, day => 2 )
12                                   amount => 3900,
13                                   ar_id  => '20892' } );
14        # $acc should be '95286092208929'
15        # total 14 columns
16
17        my $entries = Business::TW::TSIB::VirtualAccount->parse_summary($fh);
18
19        # entries is arrayref of Business::TW::TSIB::VirtualAccount::Entry objects,
20        # which has the following accessors:
21        # seqno
22        # date
23        # amount
24        # virtualaccount
25        # ar_id
26        # code
27        # postive
28        # orig_bank
29
30DESCRIPTION
31    This module provides utility functions for the virtual account service
32    by TSIB (Taishin International Bank, Taiwan).
33
34METHODS
35  new( { corp_code => $corp_code} )
36    Initialize the virtual account context with "corp_code" provided by
37    TSIB.
38
39  $va->generate( $args )
40    Generate a virtual account with the given arguments. $args is a hash ref
41    and must contain:
42
43    due A DateTime object for due day of the payment
44
45    amount
46        The expected amount of the transaction.
47
48    ar_id
49        The arbitary account receivable identifier.
50
51  $self->parse_summary($fh)
52AUTHOR
53    Chia-liang Kao, "<clkao AT aiink.com>" , You-An Lin, "<c9s AT
54    aiink.com>"
55
56BUGS
57    Please report any bugs or feature requests to
58    "bug-business-tw-taishinbank-virtualaccount at rt.cpan.org", or through
59    the web interface at
60    <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Business-TW-TSIB-Virtual
61    Account>. I will be notified, and then you'll automatically be notified
62    of progress on your bug as I make changes.
63
64SUPPORT
65    You can find documentation for this module with the perldoc command.
66
67        perldoc Business::TW::TSIB::VirtualAccount
68
69    You can also look for information at:
70
71    * AnnoCPAN: Annotated CPAN documentation
72        <http://annocpan.org/dist/Business-TW-TSIB-VirtualAccount>
73
74    * CPAN Ratings
75        <http://cpanratings.perl.org/d/Business-TW-TSIB-VirtualAccount>
76
77    * RT: CPAN's request tracker
78        <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-TW-TSIB-VirtualAc
79        count>
80
81    * Search CPAN
82        <http://search.cpan.org/dist/Business-TW-TSIB-VirtualAccount>
83
84ACKNOWLEDGEMENTS
85COPYRIGHT & LICENSE
86    Copyright 2007 AIINK co., ltd, all rights reserved.
87
88    This program is free software; you can redistribute it and/or modify it
89    under the same terms as Perl itself.
90
91