Inherits EMModel.
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 | |
| EMProduct * | item |
| NSUInteger | quantity |
| NSUInteger | quantityMaximum |
| BOOL | quantityEditable |
| BOOL | giftWrappable |
| EMGiftWrap * | giftWrap |
| NSMutableArray * | giftWrapOptions |
| NSMutableArray * | giftMessageFields |
- (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.
- (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.
1.8.0