NAME
Business::CyberSource::Request::Capture - CyberSource Capture Request Object
VERSION
version 0.1.7
SYNOPSIS
my $capture = Business::CyberSource::Request::Capture->new({
username => 'merchantID',
password => 'transaction key',
production => 0,
reference_code => 'merchant reference code',
request_id => 'authorization response request_id',
total => 5.01, # same amount as in authorization
currency => 'USD', # same currency as in authorization
});
DESCRIPTION
This object allows you to create a request for a capture.
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
This attribute is required.
currency
Reader: currency
Type: Str
This attribute is required.
password
Reader: password
Type: Str
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
server
Reader: server
Type: MooseX::Types::URI::Uri
This attribute is required.
request_id
Reader: request_id
Type: Str
This attribute is required.
total
Reader: total
Type: Num
username
Reader: username
Type: Str
This attribute is required.
Additional documentation: your merchantID
reference_code
Reader: reference_code
Type: Str
This attribute is required.
foreign_currency
Reader: foreign_currency
Type: Str
client_name
Reader: client_name
Type: Str
This attribute is required.
client_version
Reader: client_version
Type: Str
This attribute is required.
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)