NAME

MooseX::Types::CyberSource - Moose Types specific to CyberSource

VERSION

version v0.3.7

SYNOPSIS

        {
                package My::CyberSource::Response;
                use Moose;
                use MooseX::Types::CyberSource qw( Decision );

                has decision => (
                        is => 'ro',
                        isa => Decision,
                );
                __PACKAGE__->meta->make_immutable;
        }

        my $response = My::CyberSource::Response->new({
                decison => 'ACCEPT'
        });

DESCRIPTION

This module provides CyberSource specific Moose Types.

TYPES

  • Decision

    Base Type: enum

    CyberSource Response Decision

  • CardTypeCode

    Base Type: enum

    Numeric codes that specify Card types. Codes denoted with an asterisk* are automatically detected when using Business::CyberSource::Request::Role::CreditCardInfo

    • 001: Visa*

    • 002: MasterCard, Eurocard*

    • 003: American Express*

    • 004: Discover*

    • 005: Diners Club

    • 006: Carte Blanche

    • 007: JCB*

    • 014: EnRoute*

    • 021: JAL

    • 024: Maestro (UK Domestic)

    • 031: Delta

    • 033: Visa Electron

    • 034: Dankort

    • 035: Laser*

    • 036: Carte Bleue

    • 037: Carta Si

    • 039: Encoded account number

    • 040: UATP

    • 042: Maestro (International)

    • 043: Santander card

  • CvResults

    Base Type: enum

    Single character code that defines the result of having sent a CVN. See CyberSource's Documentation on Card Verification Results for more information.

  • AVSResults

    Base Type: enum

    Single character code that defines the result of having sent a CVN. See CyberSource's Documentation on AVS Results for more information.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/xenoterracide/Business-CyberSource/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Caleb Cushing <xenoterracide@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Caleb Cushing.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)