-
property
PHPFUI
\ConstantContact $contact_id Unique ID for each contact resource\UUID -
property
PHPFUI
\ConstantContact $email_address\Definition \EmailAddress - property string $first_name The first name of the contact.
- property string $last_name The last name of the contact.
- property string $job_title The job title of the contact.
- property string $company_name The name of the company where the contact works.
-
property
int
$birthday_month
The month value for the contact's birthday. Valid values are from 1 through 12. You must use this property with
birthday_month
. -
property
int
$birthday_day
The day value for the contact's birthday. Valid values are from 1 through 12. You must use this property with
birthday_day
. - property string $anniversary The anniversary date for the contact. For example, this value could be the date when the contact first became a customer of an organization in Constant Contact. Valid date formats are MM/DD/YYYY, M/D/YYYY, YYYY/MM/DD, YYYY/M/D, YYYY-MM-DD, YYYY-M-D,M-D-YYYY, or M-DD-YYYY.
- property string $update_source Identifies who last updated the contact; valid values are Contact or Account
-
property
string
$create_source
Describes who added the contact; valid values are
Contact
orAccount
. Your integration must accurately identifycreate_source
for compliance reasons; value is set when contact is created. -
property
PHPFUI
\ConstantContact $created_at System generated date and time that the resource was created, in ISO-8601 format.\DateTime -
property
PHPFUI
\ConstantContact $updated_at System generated date and time that the contact was last updated, in ISO-8601 format.\DateTime -
property
PHPFUI
\ConstantContact $deleted_at For deleted contacts (\Date email_address
containsopt_out_source
andopt_out_date
), shows the date of deletion. -
property
PHPFUI
\ConstantContact [] $custom_fields Array of up to 25\Definition \ContactCustomField custom_field
key value pairs. -
property
PHPFUI
\ConstantContact [] $phone_numbers Array of phone_numbers subresources. A contact can have up to 2 phone numbers.\Definition \PhoneNumber -
property
PHPFUI
\ConstantContact [] $street_addresses Array of street_addresses subresources. A contact can have 1 street address.\Definition \StreetAddress -
property
PHPFUI
\ConstantContact [] $list_memberships Array of list_id's to which the contact is subscribed, up to a maximum of 50.\UUID -
property
PHPFUI
\ConstantContact [] $taggings Array of tags (\UUID tag_id
) assigned to the contact, up to a maximum of 50. -
property
PHPFUI
\ConstantContact [] $notes An array of up to 150 notes about the contact.\Definition \Note
Cloneable
Instantiable
Methods |
Properties |
protected static array $fields = [ 'contact_id' => '\PHPFUI\ConstantContact\UUID' , 'email_address' => '\PHPFUI\ConstantContact\Definition\EmailAddress' , 'first_name' => 'string' , 'last_name' => 'string' , 'job_title' => 'string' , 'company_name' => 'string' , 'birthday_month' => 'int' , 'birthday_day' => 'int' , 'anniversary' => 'string' , 'update_source' => [ 'Account' , 'Contact' ] , 'create_source' => [ 'Account' , 'Contact' ] , 'created_at' => '\PHPFUI\ConstantContact\DateTime' , 'updated_at' => '\PHPFUI\ConstantContact\DateTime' , 'deleted_at' => '\PHPFUI\ConstantContact\Date' , 'custom_fields' => 'array<\PHPFUI\ConstantContact\Definition\ContactCustomField>' , 'phone_numbers' => 'array<\PHPFUI\ConstantContact\Definition\PhoneNumber>' , 'street_addresses' => 'array<\PHPFUI\ConstantContact\Definition\StreetAddress>' , 'list_memberships' => 'array<\PHPFUI\ConstantContact\UUID>' , 'taggings' => 'array<\PHPFUI\ConstantContact\UUID>' , 'notes' => 'array<\PHPFUI\ConstantContact\Definition\Note>' ] |
protected static array $maxLength = [ 'first_name' => 50 , 'last_name' => 50 , 'job_title' => 50 , 'company_name' => 50 , 'anniversary' => 10 , 'custom_fields' => 25 , 'phone_numbers' => 2 , 'street_addresses' => 1 , 'list_memberships' => 50 , 'taggings' => 50 , 'notes' => 150 ] |
Properties |
protected static array $fields = [ 'contact_id' => '\PHPFUI\ConstantContact\UUID' , 'email_address' => '\PHPFUI\ConstantContact\Definition\EmailAddress' , 'first_name' => 'string' , 'last_name' => 'string' , 'job_title' => 'string' , 'company_name' => 'string' , 'birthday_month' => 'int' , 'birthday_day' => 'int' , 'anniversary' => 'string' , 'update_source' => [ 'Account' , 'Contact' ] , 'create_source' => [ 'Account' , 'Contact' ] , 'created_at' => '\PHPFUI\ConstantContact\DateTime' , 'updated_at' => '\PHPFUI\ConstantContact\DateTime' , 'deleted_at' => '\PHPFUI\ConstantContact\Date' , 'custom_fields' => 'array<\PHPFUI\ConstantContact\Definition\ContactCustomField>' , 'phone_numbers' => 'array<\PHPFUI\ConstantContact\Definition\PhoneNumber>' , 'street_addresses' => 'array<\PHPFUI\ConstantContact\Definition\StreetAddress>' , 'list_memberships' => 'array<\PHPFUI\ConstantContact\UUID>' , 'taggings' => 'array<\PHPFUI\ConstantContact\UUID>' , 'notes' => 'array<\PHPFUI\ConstantContact\Definition\Note>' ] |
protected static array $maxLength = [ 'first_name' => 50 , 'last_name' => 50 , 'job_title' => 50 , 'company_name' => 50 , 'anniversary' => 10 , 'custom_fields' => 25 , 'phone_numbers' => 2 , 'street_addresses' => 1 , 'list_memberships' => 50 , 'taggings' => 50 , 'notes' => 150 ] |