NAME
Business::CyberSource::Request::Sale - Sale Request Object
VERSION
version 0.006003
SYNOPSIS
use Business::CyberSource::Request::Sale;
my $req
= Business::CyberSource::Request::Sale->new({
reference_code => 't601',
bill_to => {
first_name => 'Caleb',
last_name => 'Cushing',
street => 'somewhere',
city => 'Houston',
state => 'TX',
postal_code => '77064',
country => 'US',
email => 'xenoterracide@gmail.com',
},
purchase_totals => {
total => 3000.00,
currency => 'USD',
},
card => {
account_number => '4111-1111-1111-1111',
expiration => {
month => 9,
year => 2025,
},
},
});
DESCRIPTION
A sale is a bundled authorization and capture. You can use a sale instead of a separate authorization and capture if there is no delay between taking a customer's order and shipping the goods. A sale is typically used for electronic goods and for services that you can turn on immediately.
ATTRIBUTES
capture_service
Sale does both authorization and capture and so needs another service attribute. It is built for you and cannot be modified.
EXTENDS
Business::CyberSource::Request::Authorization
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) 2012 by Caleb Cushing.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)