Copied!
  • property PHPFUI\ConstantContact\UUID $phone_number_id Unique ID for the phone number
  • property string $phone_number The contact's phone number, 1 of 2 allowed per contact, no more than 25 characters
  • property string $kind Describes the type of phone number; valid values are home, work, mobile, or other.
  • property PHPFUI\ConstantContact\DateTime $created_at Date and time that the street address was created, in ISO-8601 format. System generated.
  • property PHPFUI\ConstantContact\DateTime $updated_at Date and time that the phone_number was last updated, in ISO-8601 format. System generated.
  • property string $update_source Identifies who last updated the phone_number; valid values are Contact or Account
  • property string $create_source Describes who added the phone_number; valid values are Contact or Account.
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, $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 = ['phone_number_id' => '\PHPFUI\ConstantContact\UUID', 'phone_number' => 'string', 'kind' => ['home', 'work', 'mobile', 'other'], 'created_at' => '\PHPFUI\ConstantContact\DateTime', 'updated_at' => '\PHPFUI\ConstantContact\DateTime', 'update_source' => ['Account', 'Contact'], 'create_source' => ['Account', 'Contact']]
protected static array $maxLength = ['phone_number' => 25]
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 = ['phone_number_id' => '\PHPFUI\ConstantContact\UUID', 'phone_number' => 'string', 'kind' => ['home', 'work', 'mobile', 'other'], 'created_at' => '\PHPFUI\ConstantContact\DateTime', 'updated_at' => '\PHPFUI\ConstantContact\DateTime', 'update_source' => ['Account', 'Contact'], 'create_source' => ['Account', 'Contact']]
protected static array $maxLength = ['phone_number' => 25]
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.
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration