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

#import <TestSend.h>

Inheritance diagram for TestSend:

Instance Methods

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

Class Methods

(TestSend *) + testSendWithDictionary:
 

Properties

NSString * format
 
NSString * personalMessage
 
NSMutableArray * emailAddresses
 

Detailed Description

Represents a campaign Test Send in Constant Contact

Method Documentation

- (void) addEmailToEmailAddresses: (NSString *)  emailAddress

Add an email address to the set of addresses to send the test send too

Parameters
NSString
- (id) initWithDictionary: (NSDictionary *)  dictionary

Factory method to create a TestSend object from an dictionary

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

Create json used for a POST/PUT request, also handles removing attributes that will cause errors if sent

Returns
NSString
+ (TestSend *) testSendWithDictionary: (NSDictionary *)  dictionary

Property Documentation

- (NSMutableArray*) emailAddresses
readwritenonatomicstrong
- (NSString*) format
readwritenonatomicstrong
- (NSString*) personalMessage
readwritenonatomicstrong

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