NAME

Business::CyberSource::Report::PaymentEvents - Interface to CyberSource's Payment Events report.

VERSION

Version 1.1.2

SYNOPSIS

This module is an interface to the Payment Events report from CyberSource.

use Business::CyberSource::Report;

# Generate a report factory.
my $report_factory = Business::CyberSource::Report->new(
	merchant_id => $merchant_id,
	username    => $username,
	password    => $password,
);

# Build a Business::CyberSource::Report::PaymentEvents object.
my $payment_events_report = $report_factory->build( 'PaymentEvents' );

# Retrieve the Payment Events report for a given date.
$payment_events_report->retrieve(
	format => $format,
	date   => $date,
);

METHODS

retrieve()

Build and send the request to CyberSource.

# Retrieve the Payment Events report for a given date.
$payment_events_report->retrieve(
	format => $format,
	date   => $date,
);

Parameters:

  • format: the desired format of the report, 'csv' or 'xml'.

  • date: the date of the transactions to include in the report, using the format YYYY/MM/DD.

AUTHOR

Guillaume Aubert, <aubertg at cpan.org>.

BUGS

Please report any bugs or feature requests to bug-business-cybersource-report at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=business-cybersource-report. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Business::CyberSource::Report::PaymentEvents

You can also look for information at:

ACKNOWLEDGEMENTS

Thanks to ThinkGeek (http://www.thinkgeek.com/) and its corporate overlords at Geeknet (http://www.geek.net/), for footing the bill while I eat pizza and write code for them!

COPYRIGHT & LICENSE

Copyright 2011-2012 Guillaume Aubert.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License.

See http://dev.perl.org/licenses/ for more information.