Business::CPI::Item - Product in the cart
This class holds information about the products in a shopping cart.
Unique identifier for this product in your application.
The price (in the chosen currency; see "currency" in Business::CPI::Gateway::Base) of one item. This will be multiplied by the quantity.
The shipping cost (in the chosen currency, same as in the price above) for this particular item.
The cost of each additional quantity of this item. For example, if the quantity is 5, the "shipping" attribute is set to 1.50, and this attribute is set to 0.50, then the total shipping cost will be 1*1.50 + 4*0.50 = 3.50. Note that not all gateways implement this. In PayPal, for instance, it's called shipping2.
The weight of this item. If you define the "shipping", this will probably be ignored by the gateway.
The description or name of the product.
How many of this product is being bought?
André Walker <firstname.lastname@example.org>
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.