NAME

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

VERSION

version 0.010008

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

  • Client

    Business::CyberSource::Client

  • 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

  • CommerceIndicator

    Base Type: enum

    Valid strings for for use in in the commerceIndicator field.

  • 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/hostgator/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) 2017 by Caleb Cushing <xenoterracide@gmail.com>.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)