Copied!
  • var string $address The email address of the contact. The email address must be unique for each contact.
  • var string $permission_to_send Identifies the type of permission that the Constant Contact account has to send email to the contact. Types of permission: explicit, implicit, not_set, pending_confirmation, temp_hold, unsubscribed.
  • var PHPFUI\ConstantContact\DateTime $created_at Date and time that the email_address was created, in ISO-8601 format. System generated.
  • var PHPFUI\ConstantContact\DateTime $updated_at Date and time that the email_address was last updated, in ISO-8601 format. System generated.
  • var PHPFUI\ConstantContact\DateTime $opt_in_date Date and time that the email_address was opted-in to receive email from the account, in ISO-8601 format. System generated.
  • var string $opt_out_source Describes the source of the unsubscribed/opt-out action: either Account or Contact. If the Contact opted-out, then the account cannot send any campaigns to this contact until the contact opts back in. If the Account, then the account can add the contact back to any lists and send to them. Displayed only if contact has been unsubscribed/opt-out.
  • var PHPFUI\ConstantContact\DateTime $opt_out_date Date and time that the contact unsubscribed/opted-out of receiving email from the account, in ISO-8601 format. Displayed only if contact has been unsubscribed/opt-out. System generated.
  • var string $opt_out_reason The reason, as provided by the contact, that they unsubscribed/opted-out of receiving email campaigns.
  • var string $confirm_status Indicates if the contact confirmed their email address after they subscribed to receive emails. Possible values: pending, confirmed, off.
Cloneable Instantiable
Methods
public PHPFUI\ConstantContact\Definition\Base :: __construct ( array $initialValues = [ ] )
public PHPFUI\ConstantContact\Definition\Base :: __get ( string $field ) : ? mixed
 

Unset fields will return null

public PHPFUI\ConstantContact\Definition\Base :: __set ( string $field , $value )
 
  • return mixed value being set to allow for assignment chaining
public PHPFUI\ConstantContact\Definition\Base :: getData () : array
 
  • return array representation of data
public PHPFUI\ConstantContact\Definition\Base :: getfields () : array
 
  • return array all the valid fields for the object. Index is field name and value is the type.
public PHPFUI\ConstantContact\Definition\Base :: getJSON () : string
 
  • return string pretty print JSON
Properties
protected static array $fields = [ 'address' => 'string' , 'permission_to_send' => [ 'implicit' , 'explicit' , 'pending_confirmation' , 'unsubscribed' , 'temp_hold' , 'not_set' ] , 'created_at' => '\PHPFUI\ConstantContact\DateTime' , 'updated_at' => '\PHPFUI\ConstantContact\DateTime' , 'opt_in_date' => '\PHPFUI\ConstantContact\DateTime' , 'opt_out_source' => [ 'Account' , 'Contact' ] , 'opt_out_date' => '\PHPFUI\ConstantContact\DateTime' , 'opt_out_reason' => 'string' , 'confirm_status' => [ 'pending' , 'confirmed' , 'off' ] ]
protected static array $maxLength = [ 'address' => 80 , 'opt_out_reason' => 255 ]
protected static array PHPFUI\ConstantContact\Definition\Base :: $minLength
 
  • var array of minimum allowed values. Arrays are size, int and float are values, strings are length.
Properties
protected static array $fields = [ 'address' => 'string' , 'permission_to_send' => [ 'implicit' , 'explicit' , 'pending_confirmation' , 'unsubscribed' , 'temp_hold' , 'not_set' ] , 'created_at' => '\PHPFUI\ConstantContact\DateTime' , 'updated_at' => '\PHPFUI\ConstantContact\DateTime' , 'opt_in_date' => '\PHPFUI\ConstantContact\DateTime' , 'opt_out_source' => [ 'Account' , 'Contact' ] , 'opt_out_date' => '\PHPFUI\ConstantContact\DateTime' , 'opt_out_reason' => 'string' , 'confirm_status' => [ 'pending' , 'confirmed' , 'off' ] ]
protected static array $maxLength = [ 'address' => 80 , 'opt_out_reason' => 255 ]
protected static array PHPFUI\ConstantContact\Definition\Base :: $minLength
 
  • var array of minimum allowed values. Arrays are size, int and float are values, strings are length.
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration