#import <EventItem.h>
+ (EventItem *) eventItemWithDictionary: |
|
(NSDictionary *) |
dictionary |
|
- (id) initWithDictionary: |
|
(NSDictionary *) |
dictionary |
|
Factory method to create a Event Item object from an dictionary
- Parameters
-
NSDictionary | *dictionary - associative dictionary of initial properties to set |
- Returns
- EventItem
- (NSMutableArray*) attributes |
|
readnonatomicstrong |
An array of item attributes and options, add attributes after the item is created
- (int) defaultQuantityAvailable |
|
readnonatomicassign |
Number of items available for sale, displayed on the registration page if show_quantity_available = true.
- (int) defaultQuantityTotal |
|
readwritenonatomicassign |
REQUIRED. The total quantity of items offered, minimum = 0, cannot leave blank. If the item has attributes, the summation of the quantity_total for all attributes automatically overwrites the value you enter here.
The item description shown on the registration page
- (NSString*) eventItemId |
|
readnonatomicstrong |
REQUIRED. Name of the item shown on the registration page, minimum length = 1.
- (int) perRegistrantLimit |
|
readwritenonatomicassign |
REQUIRED. The maximum number of this item that registrants and guests can purchase, minimum = 0, cannot leave blank; value cannot be greater than the value of default_quantity_available
REQUIRED. The item cost, minimum = 0.00
- (BOOL) showQuantityAvailable |
|
readwritenonatomicassign |
If true, displays the remaining quantity of this item for purchase on the registration page
The documentation for this class was generated from the following files:
- /Users/grigorievs/Documents/work/Code/constantcontact/ios-sdk/CTCTWrapper/Components/EventSpot/EventItem.h
- /Users/grigorievs/Documents/work/Code/constantcontact/ios-sdk/CTCTWrapper/Components/EventSpot/EventItem.m