Ctct\Components\Contacts\EmailAddress
Represents a single EmailAddress of a Contact
- Author: Constant Contact
Synopsis
class EmailAddress
extends Component
{
- // members
- public $id;
- public $status;
- public $confirm_status;
- public $opt_in_source;
- public $opt_in_date;
- public $opt_out_date;
- public $email_address;
- // methods
- public void __construct()
- public static EmailAddress create()
- // Inherited methods from Component
- protected static mixed getValue()
Hierarchy
Extends
Members
public
- $confirm_status
—
string
Contact's confirmation status, must be one of "CONFIRMED", "NO_CONFIRMATION_REQUIRED", "UNCONFIRMED" - $email_address
—
string
Email address associated with the contact - $id
—
string
Id of the email address - $opt_in_date
—
string
Contact's opt in date in ISO 8601 format - $opt_in_source
—
string
Contact's opt in source, must be one of "ACTION_BY_VISITOR", "ACTION_BY_OWNER" - $opt_out_date
—
string
Contact's opt out date in ISO 8601 format - $status
—
string
Status of the email address, must be one of "ACTIVE", "UNCONFIRMED", "OPTOUT", "REMOVED", "NON_SUBSCRIBER", "VISITOR"
Methods
public
- __construct()
- create() — Factory method to create an EmailAddress object from an array
Inherited from Ctct\Components\Component
protected
- getValue() — Get the requested value from an array, or return the default