Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
Business::TW::TSIB::CStorePayment(3) User Contributed Perl Documentation Business::TW::TSIB::CStorePayment(3)

Business::TW::TSIB::CStorePayment - Module for Taishin Bank Convenient Store Payment Management

    use Business::TW::TSIB::CStorePayment;
    my $csp = Business::TW::TSIB::CStorePayment->new({ corp_code => 'CPCU' });
    my @bar = $csp->generate( { due    => DateTime->new( year => 2007, month => 4, day => 2 ),
                                collect_until => DateTime->new( year => 2007, month => 4, day => 2 ),
                                amount => 3900,
                                ar_id  => '20892' } );
    # render the code39 barcode with GD::Barcode
    my @png = map { GD::Barcode::Code39->new("*$_*")->plot->png } @bar;
    # parse summary from file handler
    my $entries = Business::TW::TSIB::CStorePayment->parse_summary($fh);
    # entries is arrayref of Business::TW::TSIB::CStorePayment::Entry objects,

This module provides utility functions for the convenient store payment collection service by TSIB (Taishin International Bank, Taiwan).

Initialize the payment collection context with "corp_code" provided by TSIB.

Generate bar codes for the given arguments. Returns a list of 3 strings that are to be printed as barcode. $args is a hash ref and must contain:
A DateTime object for due day of the payment.
A DateTime object for last collection date, default to "due".
The expected amount of the transaction.
The arbitary account receivable identifier.

Parse CStore Payment file

Chia-liang Kao, "<clkao AT>" ,

Please report any bugs or feature requests to "bug-business-tw-taishinbank-cstorepayment at", or through the web interface at <>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.
    perldoc Business::TW::TSIB::CStorePayment
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
Search CPAN

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.
2008-01-05 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.