Overview

Namespaces

  • Ctct
    • Auth
    • Components
      • Account
      • Activities
      • Contacts
      • EmailMarketing
      • Tracking
    • Exceptions
    • Services
  • PHP

Classes

  • VerifiedEmailAddress
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: namespace Ctct\Components\Account;
 3: 
 4: use Ctct\Components\Component;
 5:  
 6: /**
 7:  * Represents a single Activity in Constant Contact
 8:  *
 9:  * @package        Components
10:  * @subpackage     Account
11:  * @author         Constant Contact
12:  */
13: class VerifiedEmailAddress extends Component
14: {
15:     /**
16:      * Email Address associated with the account
17:      */
18:     public $email_address;
19: 
20:     /**
21:      * Status of the verified email address
22:      * @var string
23:      */
24:     public $status;
25: 
26:     /**
27:      * Factory method to create an VerifiedEmail object from an array
28:      * @param array $props - associative array of initial properties to set
29:      * @return Campaign
30:      */
31:     public static function create(array $props)
32:     {
33:         $verifiedAddress = new VerifiedEmailAddress();
34:         $verifiedAddress->email_address = parent::getValue($props, "email_address");
35:         $verifiedAddress->status = parent::getValue($props, "status");
36:         return $verifiedAddress;
37:     }
38: }
39: 
Appconnect PHP SDK API documentation generated by ApiGen 2.8.0