NAME

Business::CyberSource::Request::Credit - CyberSource Credit Request Object

VERSION

version 0.006003

SYNOPSIS

use Business::CyberSource::Request::Credit;

my $req = Business::CyberSource::Request::Credit->new({
		reference_code => 'merchant reference code',
		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    => 5.00,
			currency => 'USD',
		},
		card => {
			account_number => '4111-1111-1111-1111',
			expiration => {
				month => '09',
				year => '2025',
			},
		},
	});

DESCRIPTION

This object allows you to create a request for a credit. You can use Business::CyberSource::Request::StandAloneCredit or the Business::CyberSource::Request::FollowOnCredit if you want your objects to be checked for all required fields.

EXTENDS

Business::CyberSource::Request

WITH

Business::CyberSource::Request::Role::DCC

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)