NAME

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

VERSION

version 0.006003

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

  • 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.

  • DCCIndicator

    Base Type: enum

    Single character code that defines the DCC status

    • 1

      Converted - DCC is being used.

    • 2

      Non-convertible - DCC cannot be used.

    • 3

      Declined - DCC could be used, but the customer declined it.

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) 2012 by Caleb Cushing.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)