Class Contact
Represents a single Contact in Constant Contact
- Ctct\Components\Component
-
Ctct\Components\Contacts\Contact
Package: Components\Contacts
Author: Constant Contact
Located at Ctct/Components/Contacts/Contact.php
public static
|
|
public
|
|
public
|
|
public
|
#
addCustomField(
Add a custom field to the contact object |
public
|
|
public
|
getValue()
|
public
string
|
$id | |
#
Unique identifier for the contact |
public
string
|
$status | |
#
Status of the contact, must be one of "ACTIVE", "UNCONFIRMED", "OPTOUT", "REMOVED", "NON_SUBSCRIBER", "VISITOR" |
public
string
|
$first_name | |
#
First name of the contact |
public
string
|
$middle_name | |
#
Middle name of the contact |
public
string
|
$last_name | |
#
Last name of the contact |
public
boolean
|
$confirmed | |
#
Whether or not the contact is confirmed |
public
string
|
$source | |
#
Contact source information |
public
array
|
$email_addresses | array() |
#
Array of email addresses associated with this contact |
public
string
|
$prefix_name | |
#
The prefix name of the contact |
public
string
|
$job_title | |
#
The job title of the contact |
public
array
|
$addresses | array() |
#
Array of addresses associated with this contact |
public
array
|
$notes | array() |
#
Array of notes associated with this contact |
public
string
|
$company_name | |
#
Company name this contact works for |
public
string
|
$home_phone | |
#
Contact's home phone number |
public
string
|
$work_phone | |
#
Contact's work phone number |
public
string
|
$cell_phone | |
#
Contact's cell phone number |
public
string
|
$fax | |
#
Contact's fax number |
public
array
|
$custom_fields | array() |
#
Array of custom fields associated with this contact |
public
array
|
$lists | array() |
#
Array of contact lists this contact belongs to |
public
string
|
$source_details | |
#
Contact source details |