
VendorAPI::2Checkout::Client::NoMoose - an non-Moose OO interface to the 2Checkout.com Vendor API

Version 0.1502

use VendorAPI::2Checkout::Client;
my $tco = VendorAPI::2Checkout::Client->new($username, $password, $format);
$response = $tco->list_sales();
$response = $tco->detail_sale(sale_id => 1234554323);
$response = $tco->list_coupons();
$response = $tco->detail_coupon(coupon_code => 'COUPON42');
$response = $tco->list_payments();
$response = $tco->list_products();
$response = $tco->list_options();
...

This module is an OO interface to the 2Checkout.com Vendor API.
This modules uses Params::Validate which likes to die() when the parameters do not pass validation, so wrap your code in evals, etc.
Presently implements list_sales(), detail_sale(), list_coupons(), and detail_coupon(), list_payments(), list_options(), list_products().
Return data is in XML or JSON.
Please refer to 2Checkout's Back Office Admin API Documentation for input parameters and expexted return values.

Contructs a new VendorAPI::2Checkout::Client object to comminuncate with the 2Checkout Back Office Admin API. You must pass your Vendor API username and password or the constructor will return undef;
Retrieves the list of sales for the vendor
Retrieves the list of coupons for the vendor
Retrieves the details for the named sale.
Retrieves the details for the named coupon.
Retrieves the list of payments for the vendor
Retrieves the list of products for the vendor
Retrieves the list of options for the vendor
Talks to 2CO on behalf of the API methods

Len Jaffe, <lenjaffe at jaffesystems.com>

The source code is available at Github

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

You can find documentation for this module with the perldoc command.
perldoc VendorAPI::2Checkout::Client
You can also look for information at:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=VendorAPI-2Checkout-Client


Copyright 2012 Len Jaffe.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.