Copied!
  • property string $state The code representing the consent state, including E for optin and O for Optin.
  • property string $source The code representing the consent source type, including A for Account, C for Contact, and S' for System.
  • property string $consent_type The type of SMS consent used.
  • property \PHPFUI\ConstantContact\DateTime $consent_action_time The date and time that SMS engagement data was last updated, in ISO-8601 format. System generated.
  • property string $consent_action_type The type of consent action provided.
  • property string $consent_medium_type The code representing the medium used to provide consent. Medium types include mobile device (MD). lead generation form(LF), deactivation by carrier(CD), import_file:(FI), and system (SY).
  • property string $source_consent_timestamp The time that SMS consent was last updated.
  • property string $source_ip If applicable, the IP address from which the consent came.
  • property string $source_sms_number If applicable, the SMS consent number associated with the source.
  • property int $advertised_frequency If applicable, the advertising numeric component used to advertise to the contact.. For example, if advertised_frequency is set to 2 , and advertised_interval is set to M, the contact receives advertisements twice a month.
  • property string $advertised_interval If applicable, the interval component used to advertise to the contact. For example, if advertised_frequency is set to 2 , and advertised_interval is set to M, the contact receives advertisements twice a month.
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 = ['state' => 'string', 'source' => 'string', 'consent_type' => 'string', 'consent_action_time' => '\PHPFUI\ConstantContact\DateTime', 'consent_action_type' => 'string', 'consent_medium_type' => 'string', 'source_consent_timestamp' => 'string', 'source_ip' => 'string', 'source_sms_number' => 'string', 'advertised_frequency' => 'int', 'advertised_interval' => 'string']
protected static array PHPFUI\ConstantContact\Definition\Base::$maxLength = []
 
  • var array<string,int> maximum allowed values. Arrays are size, int and float are values, strings are length.
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 = ['state' => 'string', 'source' => 'string', 'consent_type' => 'string', 'consent_action_time' => '\PHPFUI\ConstantContact\DateTime', 'consent_action_type' => 'string', 'consent_medium_type' => 'string', 'source_consent_timestamp' => 'string', 'source_ip' => 'string', 'source_sms_number' => 'string', 'advertised_frequency' => 'int', 'advertised_interval' => 'string']
protected static array PHPFUI\ConstantContact\Definition\Base::$maxLength = []
 
  • var array<string,int> maximum allowed values. Arrays are size, int and float are values, strings are length.
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