Overview

Namespaces

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

Classes

  • Address
  • Contact
  • ContactList
  • CustomField
  • EmailAddress
  • Note
  • Overview
  • Namespace
  • Class
  • Tree

Class Address

Represents a single Address of a Contact

Ctct\Components\Component
Extended by Ctct\Components\Contacts\Address
Namespace: Ctct\Components\Contacts
Package: Components\Contacts
Author: Constant Contact
Located at Ctct/Components/Contacts/Address.php
Methods summary
public static Ctct\Components\Contacts\Address
# create( array $props )

Factory method to create an Address object from an array

Factory method to create an Address object from an array

Returns

Ctct\Components\Contacts\Address

Array

$props - Associative array of initial properties to set
Methods inherited from Ctct\Components\Component
getValue()
Properties summary
public string $line1
#

Line 1 of the address

Line 1 of the address

public string $line2
#

Line 2 of the address

Line 2 of the address

public string $line3
#

Line 3 of the address

Line 3 of the address

public string $city
#

City info for this address

City info for this address

public string $address_type
#

Address type, must be one of "BUSINESS", "PERSONAL", or "UNKNOWN"

Address type, must be one of "BUSINESS", "PERSONAL", or "UNKNOWN"

public string $state_code
#

The state code for this address

The state code for this address

public string $country_code
#

The country code for this address

The country code for this address

public string $postal_code
#

The postal code for this address

The postal code for this address

public string $sub_postal_code
#

The sub postal code for this address

The sub postal code for this address

Appconnect PHP SDK API documentation generated by ApiGen 2.8.0