Copied!
  • property string $kind Describes the type of address; valid values are home, work, or other.
  • property string $street Number and street of the address.
  • property string $city The name of the city where the contact lives.
  • property string $state The name of the state or province where the contact lives.
  • property string $postal_code The zip or postal code of the contact.
  • property string $country The name of the country where the contact lives.
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 = ['kind' => 'string', 'street' => 'string', 'city' => 'string', 'state' => 'string', 'postal_code' => 'string', 'country' => 'string']
protected static array $maxLength = ['street' => 255, 'city' => 50, 'state' => 50, 'postal_code' => 50, 'country' => 50]
protected static array PHPFUI\ConstantContact\Definition\Base::$minLength = []
 
  • var array<string,int> minimum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields = []
 
  • var string[] required fields.
Properties
protected static array $fields = ['kind' => 'string', 'street' => 'string', 'city' => 'string', 'state' => 'string', 'postal_code' => 'string', 'country' => 'string']
protected static array $maxLength = ['street' => 255, 'city' => 50, 'state' => 50, 'postal_code' => 50, 'country' => 50]
protected static array PHPFUI\ConstantContact\Definition\Base::$minLength = []
 
  • var array<string,int> minimum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields = []
 
  • var string[] required fields.
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration