Cory G Watson > Business-Payment-0.02 > Business::Payment::CreditCard

Download:
Business-Payment-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Business::Payment::CreditCard - Credit Card object

SYNOPSIS ^

    use Business::Payment::CreditCard;

    my $bp = Business::Payment::CreditCard->new(
        number => '4111111111111111'
    );

DESCRIPTION ^

Business::Payment::CreditCard provides a model for passing Credit Card information to a Charge.

ATTRIBUTES ^

csc

Set/Get the Card Security Code for this Credit Card. This is also referred to as the CVV, CVV2, CVVC, CVC, V-Code or CCV.

http://en.wikipedia.org/wiki/Card_Verification_Value

expiration

Set/Get the expiration for this Credit Card. Expects a DateTime object, but can coerce a String.

number

Set/Get the credit card number.

METHODS ^

expiration_formatted ($format)

Returns a stringified version of the expiration date using the supplied format. (See DateTime's strftime)

AUTHOR ^

Jay Shirley, <jshirley@cpan.org>

COPYRIGHT & LICENSE ^

Copyright 2009 Cold Hard Code, LLC, all rights reserved.

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

syntax highlighting: