The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::CyberSource::Request - Abstract Request Class

VERSION

version 0.006001

DESCRIPTION

extends Business::CyberSource::Message

Here are the provided Request subclasses.

note: You can use the Business:CyberSource::Request::Credit class but, it requires traits to be applied depending on the type of request you need, and thus does not currently work with the factory.

METHODS

serialize

returns a hashref suitable for passing to XML::Compile::SOAP

add_item

Add an Item to items. Accepts an item object or a hashref to construct an item object.

an array of Items

ATTRIBUTES

reference_code

Merchant-generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction.

service

Business::CyberSource::RequestPart::Service

purchase_totals

Business::CyberSource::RequestPart::PurchaseTotals

items

An array of Business::CyberSource::RequestPart::Item

comments

Comment Field

is_skipable

Type: Bool

an optimization to see if we can skip sending the request and just construct a response. This attribute is for use by Business::CyberSource::Client only and may change names later.

EXTENDS

Business::CyberSource::Message

WITH

Business::CyberSource::Role::MerchantReferenceCode

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)