amazOOP amazOOP
[ class tree: amazOOP ] [ index: amazOOP ] [ all elements ]

Class: CartItem

Source Location: /cart.inc.php

Class Overview

AmazonItem
   |
   --CartItem
Objects contained in a ShoppingCart are of made from this class.

Author(s):

Version: 0.3RC2

Copyright: 2004 (c) Mauricio Diaz Orlich

Methods


Inherited Methods:

Class: AmazonItem

AmazonItem::getASIN()
Fetches the product's ASIN, or Amazon Standart Item Number.
AmazonItem::getListPrice()
The listed price of the item including its currency symbol.
AmazonItem::getOurPrice()
The price offered by Amazon for this product including its currency symbol.
AmazonItem::getProductName()
Decodes the product's name.
AmazonItem::getSavings()
Calculates the difference between Amazon's price and the list price.

Class Details [line 270]

Objects contained in a ShoppingCart are of made from this class.

Each CartItem contains information about the items in a cart, such as the product name, ASIN, quantity, price, and and item ID. When changing quantities or removing an item from a shopping cart, it should be done by changing the quantity or removing a specific item ID and not an ASIN.




Tags:

Version:  0.3RC2
  
License:  GNU General Public License
  
Copyright:  2004 (c) Mauricio Diaz Orlich
  
Author:  Mauricio Diaz <madd0@users.sourceforge.net>
  
Since:  version 0.3RC2


[ Top ]


Class Methods


method getItemID [line 291]

string getItemID( )

Decodes the ID of an item.



Tags:

Return:  The Item's ID.


[ Top ]

method getQuantity [line 300]

integer getQuantity( )

The quantity of the item in the shopping cart.



Tags:

Return:  The number of items in the shopping cart.


[ Top ]

 
Documentation generated on Sat, 21 Aug 2004 17:40:24 +0200 by phpDocumentor 1.3.0RC3
hosted by
SourceForge.net Logo