Copied!
  • var string $address_line1 Line 1 of the organization's street address.
  • var string $address_line2 Line 2 of the organization's street address.
  • var string $address_line3 Line 3 of the organization's street address.
  • var string $city The city where the organization is located.
  • var 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.
  • var 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.
  • var 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.
  • var string $country_code The two letter ISO 3166-1 code for the organization's country.
Cloneable Instantiable
Methods
public PHPFUI\ConstantContact\Definition\Base :: __construct ( array $initialValues = [ ] )
public PHPFUI\ConstantContact\Definition\Base :: __get ( string $field )
 

Unset fields will return null

public PHPFUI\ConstantContact\Definition\Base :: __set ( string $field , $value )
public PHPFUI\ConstantContact\Definition\Base :: getData () : array
public PHPFUI\ConstantContact\Definition\Base :: getfields () : array
 

Return all the valid fields for the object. Index is field name and value is the type.

public PHPFUI\ConstantContact\Definition\Base :: getJSON () : string
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 ]
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 ]
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration