Business::CyberSource::Request::Capture - CyberSource Capture Request Object
version v0.2.7
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 });
This object allows you to create a request for a capture.
Reader: client_env
Type: Str
Additional documentation: provided by the library
Reader: cybs_wsdl
Type: MooseX::Types::Path::Class::File
Reader: currency
Type: MooseX::Types::Locale::Currency::CurrencyCode
This attribute is required.
Reader: trace
Writer: trace
Type: XML::Compile::SOAP::Trace
Reader: password
Type: MooseX::Types::Common::String::NonEmptyStr
Additional documentation: your SOAP transaction key
Reader: production
Type: Bool
Additional documentation: 0: test server. 1: production server
Reader: request_id
Type: MooseX::Types::Varchar::Varchar[29]
Reader: cybs_api_version
Reader: total
Type: Num
Additional documentation: Grand total for the order. You must include either this field or item_#_unitPrice in your request
Reader: username
Type: MooseX::Types::Varchar::Varchar[30]
Additional documentation: Your CyberSource merchant ID. Use the same merchantID for evaluation, testing, and production
Reader: cybs_xsd
Reader: client_name
Reader: foreign_currency
Additional documentation: Billing currency returned by the DCC service. For the possible values, see the ISO currency codes
Reader: reference_code
Type: MooseX::Types::Varchar::Varchar[50]
Reader: client_version
Instantiates a authorization reversal request object, see the attributes listed below for which ones are required and which are optional.
Actually sends the required data to CyberSource for processing and returns a Business::CyberSource::Response object.
Business::CyberSource::Request
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.
Caleb Cushing <xenoterracide@gmail.com>
This software is Copyright (c) 2011 by Caleb Cushing.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Business::CyberSource, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::CyberSource
CPAN shell
perl -MCPAN -e shell install Business::CyberSource
For more information on module installation, please visit the detailed CPAN module installation guide.