Skip to content

wreis/Business-CardInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Business::CardInfo - Get/Validate data from credit & debit cards

SYNOPSIS

use Business::CardInfo;

my $card_info = Business::CardInfo->new(number => '4917 3000 0000 0008');
print $card_info->type, "\n"; # prints Visa Electron

$card_info->number('5404 0000 0000 0001');
print $card_info->type, "\n"; # prints MasterCard

DESCRIPTION

ATTRIBUTES

country

number

type

Possible return values are:

Visa Electron
Visa Debit
Visa
MasterCard
MasterCard Debit
Diners Club
Maestro
International Maestro
AMEX
Discover
JCB
Unknown

METHODS

validate

BUGS

Please report any bugs or feature requests to bug-business-cardtype at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Business-CardInfo. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Business::CardInfo

You can also look for information at:

AUTHORS

purge: Simon Elliott <[email protected]>

wreis: Wallace Reis <[email protected]>

ACKNOWLEDGEMENTS

To Airspace Software Ltd <http://www.airspace.co.uk>, for the sponsorship.

LICENSE

This library is free software under the same license as perl itself.

About

Get/Validate data from credit & debit cards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages