Copied!
  • property string $kind The type of street address for the contact. Valid values are home, work, or other.
  • property string $street The number and street of the contact's address.
  • property string $city The name of the city for the contact's address.
  • property string $state The name of the state or province for the contact's address.
  • property string $postal_code The zip or postal code for the contact's address.
  • property string $country The name of the country for the contact's address.
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