ConstantContact iOS SDK
Instance Methods | Class Methods | Properties | List of all members
EventItemAttribute Class Reference

#import <EventItemAttribute.h>

Inheritance diagram for EventItemAttribute:

Instance Methods

(id) - initWithDictionary:
 
(NSString *) - JSON
 

Class Methods

(EventItemAttribute *) + itemAttributeWithDictionary:
 

Properties

NSString * itemAttributeId
 
NSString * name
 
int quantityAvailable
 
int quantityTotal
 

Method Documentation

- (id) initWithDictionary: (NSDictionary *)  dictionary

Factory method to create a Item Attribute object from an dictionary

Parameters
NSDictionary*dictionary - associative dictionary of initial properties to set
Returns
EventItemAttribute
+ (EventItemAttribute *) itemAttributeWithDictionary: (NSDictionary *)  dictionary
- (NSString *) JSON

Property Documentation

- (NSString*) itemAttributeId
readnonatomicstrong

The attribute's Unique ID

- (NSString*) name
readwritenonatomicstrong

REQUIRED. Attribute name, minimum length = 1, cannot leave blank

- (int) quantityAvailable
readnonatomicassign

Number of item attributes that are still available

- (int) quantityTotal
readwritenonatomicassign

REQUIRED. Number of item attributes offered, minimum = 0, cannot leave blank


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