doc
 All Classes Functions Variables Properties
Public Member Functions | Protected Attributes | Properties
EMCartItem Class Reference

Inherits EMModel.

List of all members.

Public Member Functions

(id) - initWithItem:quantity:
(BOOL) - inStock

Protected Attributes

EMProduct_product
NSUInteger _quantity
NSUInteger _quantityMaximum
BOOL _quantityEditable
BOOL _giftWrappable
EMGiftWrap_giftWrap
NSMutableArray * _giftWrapOptions
NSMutableArray * _giftMessageFields

Properties

EMProductitem
NSUInteger quantity
NSUInteger quantityMaximum
BOOL quantityEditable
BOOL giftWrappable
EMGiftWrapgiftWrap
NSMutableArray * giftWrapOptions
NSMutableArray * giftMessageFields

Property Documentation

- (NSMutableArray*) giftMessageFields [read, write, retain]

An array of EMTextFieldModel objects.

- (EMGiftWrap*) giftWrap [read, write, retain]

The EMGiftWrap object, if gift wrap has been applied to this item

- (NSMutableArray*) giftWrapOptions [read, write, retain]

An array of EMGiftWrapOption objects.

- (EMProduct*) item [read, write, copy]

The item.

- (NSUInteger) quantity [read, write, assign]

The quantity of products on this cart item.

- (BOOL) quantityEditable [read, write, assign]

Returns true if the quantity of this line item can be edited. Default = YES.

- (NSUInteger) quantityMaximum [read, write, assign]

The maximum quantity available, or that can be purchased.


The documentation for this class was generated from the following files: