VendorAPI::2Checkout::Client - an 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;
VendorAPI::2Checkout::Client
Len Jaffe, <lenjaffe at jaffesystems.com>
<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.
bug-vendorapi-2checkout-client at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc VendorAPI::2Checkout::Client
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=VendorAPI-2Checkout-Client
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/VendorAPI-2Checkout-Client
CPAN Ratings
http://cpanratings.perl.org/d/VendorAPI-2Checkout-Client
Search CPAN
http://search.cpan.org/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.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install VendorAPI::2Checkout::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VendorAPI::2Checkout::Client
CPAN shell
perl -MCPAN -e shell install VendorAPI::2Checkout::Client
For more information on module installation, please visit the detailed CPAN module installation guide.