Overview

Namespaces

  • Ctct
    • Auth
    • Components
      • Account
      • Activities
      • Contacts
      • EmailMarketing
      • Library
      • Tracking
    • Exceptions
    • Services
    • Util
    • WebHooks

Classes

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

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 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

Parameters

$props
  • Associative array of initial properties to set

Returns

Ctct\Components\Contacts\Address
Methods inherited from Ctct\Components\Component
getValue()
Properties summary
public string $id

Id of the address

Id of the address

#
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 $state

The state for this address (non-US/Canada)

The state for this address (non-US/Canada)

#
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

#
API documentation generated by ApiGen