Copied!
  • property string $address_line1 Line 1 of the organization's street address.
  • property string $address_line2 Line 2 of the organization's street address.
  • property string $address_line3 Line 3 of the organization's street address.
  • property string $city The city where the organization is located.
  • property string $state_code The two letter ISO 3166-1 code for the organization's state and only used if the country_code is US or CA. If not, exclude this property from the request body.
  • property string $state_name Use if the state where the organization is physically located is not in the United States or Canada. If country_code is US or CA, exclude this property from the request body.
  • property string $postal_code The postal code address (ZIP code) of the organization. This property is required if the state_code is US or CA, otherwise exclude this property from the request body.
  • property string $country_code The two letter ISO 3166-1 code for the organization's country.
CloneableInstantiable
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, ?mixed $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_line1' => 'string', 'address_line2' => 'string', 'address_line3' => 'string', 'city' => 'string', 'state_code' => 'string', 'state_name' => 'string', 'postal_code' => 'string', 'country_code' => 'string']
protected static array $maxLength = ['address_line1' => 80, 'address_line2' => 80, 'address_line3' => 80, 'state_code' => 2]
protected static array $minLength = ['address_line1' => 1, 'address_line2' => 1, 'address_line3' => 1]
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields = []
 
  • var string[] required fields.
Properties
protected static array $fields = ['address_line1' => 'string', 'address_line2' => 'string', 'address_line3' => 'string', 'city' => 'string', 'state_code' => 'string', 'state_name' => 'string', 'postal_code' => 'string', 'country_code' => 'string']
protected static array $maxLength = ['address_line1' => 80, 'address_line2' => 80, 'address_line3' => 80, 'state_code' => 2]
protected static array $minLength = ['address_line1' => 1, 'address_line2' => 1, 'address_line3' => 1]
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields = []
 
  • var string[] required fields.
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration