PayPal-specific model for shopping cart items and totals
The main idea is to accommodate all possible totals into PayPal-compatible 4 totals and line items
Located in /Paypal/Model/Cart.php (line 31)
Validation result for the rendered cart items
Validation result for the rendered totals
Whether to render discount total as a line item Use case: WPP
Whether to render shipping total as a line item Use case: WPS
Rendered cart items Array of Varien_Objects
Order or quote instance
Lazy initialization indicator for rendering
Set of optional descriptions for the item that may replace a total and composed of several amounts Array of strings
Rendered cart totals Associative array with the keys from constants above
Require instance of an order or a quote
Add a line item
Render and get line items By default returns false if the items are invalid
Getter for the current sales entity
Render and get totals If the totals are invalid for any reason, they will be merged into one amount (subtotal is utilized for it) An option to substract discount from the subtotal is available
Get/Set whether to render the discount total as a line item
Get/Set whether to render the discount total as a line item
Remove item from cart by identifier
Compound the specified amount with the specified total
Add a usual line item with amount and qty
(re)Render all items and totals
Merge multiple descriptions by a total code into a string
Check the line items and totals according to PayPal business logic limitations
Documentation generated on Fri, 11 Feb 2011 16:57:19 +0200 by phpDocumentor 1.4.3