NAME
Business::CyberSource::Request::Capture - CyberSource Capture Request Object
VERSION
version 0.010008
SYNOPSIS
use Business::CyberSource::Request::Capture;
my $capture = Business::CyberSource::Request::Capture->new({
reference_code => 'merchant reference code',
service => {
request_id => 'authorization response request_id',
},
purchase_totals => {
total => 5.01, # same amount as in authorization
currency => 'USD', # same currency as in authorization
discount => 0.50, # optional
duty => 0.07, # optional
},
# optional:
ship_to => {
country => 'US',
postal_code => '78701',
city => 'Austin',
state => 'TX',
street1 => '306 E 6th',
street2 => 'Dizzy Rooster',
},
invoice_header => {
purchaser_vat_registration_number => 'ATU99999999',
user_po => '123456',
vat_invoice_reference_number => '1234',
},
other_tax => {
alternate_tax_amount => '00.10',
alternate_tax_indicator => 1,
vat_tax_amount => '0.10',
vat_tax_rate => '0.10',
},
});
DESCRIPTION
This object allows you to create a request for a capture.
EXTENDS
Business::CyberSource::Request
WITH
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)