NAME

Business::CyberSource::Client - User Agent Responsible for transmitting the Response

VERSION

version 0.004004

SYNOPSIS

        use Business::CyberSource::Client;

        my $request = 'Some Business::CyberSource::Request Object';

        my $client = Business::CyberSource::Request->new({
                username   => 'Merchant ID',
                password   => 'API KEY',
                production => 0,
        });

        my $response = $client->run_transaction( $request );

DESCRIPTION

A service object that is meant to provide a way to run the requested transactions.

ATTRIBUTES

cybs_wsdl

Reader: cybs_wsdl

Type: MooseX::Types::Path::Class::File

password

Reader: _password

Type: MooseX::Types::Common::String::NonEmptyStr

This attribute is required.

cybs_api_version

Reader: cybs_api_version

Type: Str

name

Reader: name

Type: Str

username

Reader: _username

Type: __ANON__

This attribute is required.

production

Reader: _production

Type: Bool

This attribute is required.

version

Reader: version

Type: Str

env

Reader: env

Type: Str

cybs_xsd

Reader: cybs_xsd

Type: MooseX::Types::Path::Class::File

METHODS

run_transaction

        my $response = $client->run_transaction( $request );

Takes a Business::CyberSource::Request subclass as a parameter and returns a Business::CyberSource::Response

ATTRIBUTES

username

CyberSource Merchant ID

password

CyberSource API KEY

production

Boolean value when true your requests will go to the production server, when false they will go to the testing server

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)