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

#import <EventAddress.h>

Inheritance diagram for EventAddress:

Instance Methods

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

Class Methods

(EventAddress *) + eventAddressWithDictionary:
 

Properties

NSString * city
 
NSString * country
 
NSString * countryCode
 
double latitude
 
double longitude
 
NSString * line1
 
NSString * line2
 
NSString * line3
 
NSString * postalCode
 
NSString * state
 
NSString * stateCode
 

Method Documentation

+ (EventAddress *) eventAddressWithDictionary: (NSDictionary *)  dictionary
- (id) initWithDictionary: (NSDictionary *)  dictionary

Factory method to create a Event Address object from an dictionary

Parameters
NSDictionary*dictionary - associative dictionary of initial properties to set
Returns
EventAddress
- (NSString *) JSON

Property Documentation

- (NSString*) city
readwritenonatomicstrong

City of the event location

- (NSString*) country
readwritenonatomicstrong

Country of the event location

- (NSString*) countryCode
readwritenonatomicstrong

Standard 2 letter ISO 3166-1 code of the country associated with the event address

- (double) latitude
readwritenonatomicassign

Latitude coordinates of the event location, not used to determine event Location on map if is_map_displayed set to true

- (NSString*) line1
readwritenonatomicstrong

Event address line 1

- (NSString*) line2
readwritenonatomicstrong

Event address line 2

- (NSString*) line3
readwritenonatomicstrong

Event address line 3

- (double) longitude
readwritenonatomicassign

Longitude coordinates of the event location, , not used to determine event Location at this time on map if is_map_displayed set to true

- (NSString*) postalCode
readwritenonatomicstrong

Postal ZIP code for the event

- (NSString*) state
readwritenonatomicstrong

Name of the state or province the event is located in. For US or CA, this field is overwritten by the state/province name derived from the state_code, if entered.

- (NSString*) stateCode
readwritenonatomicstrong

Use ONLY for the standard 2 letter abbreviation for the US state or Canadian province where the event is located; An error occurs if state_code is populated for non-US or Canadian country; if state_code is entered, the system overwrites the state property with the resolved state or province name.


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