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

#import <OrganizationAddresses.h>

Inheritance diagram for OrganizationAddresses:

Instance Methods

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

Class Methods

(OrganizationAddresses *) + organizationAddressWithDictionary:
 

Properties

NSString * city
 
NSString * countryCode
 
NSString * line1
 
NSString * line2
 
NSString * line3
 
NSString * postalCode
 
NSString * state
 
NSString * stateCode
 

Method Documentation

- (id) initWithDictionary: (NSDictionary *)  dictionary

Factory method to retrieve a Organization Addresses object from an dictionary

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

Property Documentation

- (NSString*) city
readwritenonatomicstrong

REQUIRED if including organization_addresses; The city the organization is located in

- (NSString*) countryCode
readwritenonatomicstrong

REQUIRED if including organization_addresses; Standard 2 letter ISO 3166-1 code for the organization_addresses

- (NSString*) line1
readwritenonatomicstrong

Line 1 of the organization's street address

- (NSString*) line2
readwritenonatomicstrong

Line 2 of the organization's street address

- (NSString*) line3
readwritenonatomicstrong

Line 3 of the organization's street address

- (NSString*) postalCode
readwritenonatomicstrong

Postal (zip) code of the organization's street address

- (NSString*) state
readwritenonatomicstrong

Name of the state or province for the organization_addresses; for country = CA or US, this field is overwritten by the state or 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 for organization_addresses; NOTE: A data validation error occurs if state_code is populated and country_code does not = US or CA.


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