
Business::CPI::Cart - Shopping cart

version 0.5

Cart class for holding products to be purchased. Don't instantiate this directly, use "new_cart" in Business::CPI::Gateway::Base to build it.

The person paying for the shopping cart. See Business::CPI::Buyer.
Discount to be applied to the total amount. Positive number.
Tax to be applied to the total amount. Positive number.
Handling to be applied to the total amount. Positive number.

Create a new Business::CPI::Item object with the given hashref, and add it to cart.
Get item with the given id.
Takes a payment_id as the only argument, and returns an HTML::Element form, to submit to the gateway.

André Walker <andre@andrewalker.net>

This software is copyright (c) 2013 by André Walker.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.