NAME
Business::CyberSource::Request::AuthReversal - CyberSource Reverse Authorization request object
VERSION
version v0.2.2
SYNOPSIS
my $req = Business::CyberSource::Request::AuthReversal->new({
username => 'merchantID',
password => 'transaction key',
production => 0,
reference_code => 'orignal authorization merchant reference code',
request_id => 'request id returned in original authorization response',
total => 5.00, # same as original authorization amount
currency => 'USD', # same as original currency
});
my $res = $req->submit;
DESCRIPTION
This allows you to reverse an authorization request.
METHODS
new
Instantiates a authorization reversal request object, see the attributes listed below for which ones are required and which are optional.
submit
Actually sends the required data to CyberSource for processing and returns a Business::CyberSource::Response object.
ATTRIBUTES
client_env
Reader: client_env
Type: Str
cybs_wsdl
Reader: cybs_wsdl
Type: MooseX::Types::Path::Class::File
trace
Reader: trace
Writer: trace
Type: XML::Compile::SOAP::Trace
currency
Reader: currency
Type: MooseX::Types::Locale::Currency::CurrencyCode
This attribute is required.
password
Reader: password
Type: MooseX::Types::Common::String::NonEmptyStr
This attribute is required.
Additional documentation: your SOAP transaction key
production
Reader: production
Type: Bool
This attribute is required.
Additional documentation: 0: test server. 1: production server
request_id
Reader: request_id
Type: MooseX::Types::Varchar::Varchar[29]
This attribute is required.
cybs_api_version
Reader: cybs_api_version
Type: Str
total
Reader: total
Type: Num
username
Reader: username
Type: MooseX::Types::Varchar::Varchar[30]
This attribute is required.
Additional documentation: Your CyberSource merchant ID. Use the same merchantID for evaluation, testing, and production
cybs_xsd
Reader: cybs_xsd
Type: MooseX::Types::Path::Class::File
foreign_currency
Reader: foreign_currency
Type: MooseX::Types::Locale::Currency::CurrencyCode
client_name
Reader: client_name
Type: Str
reference_code
Reader: reference_code
Type: MooseX::Types::Varchar::Varchar[50]
This attribute is required.
client_version
Reader: client_version
Type: Str
SEE ALSO
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)