Copied!
  • property string $sms_consent_permission Identifies the current permission status for the SMS channel.
  • property string $consent_type
  • property \PHPFUI\ConstantContact\DateTime $opt_in_date Date and time, in ISO-8601 format, that the contact subscribed/opted-in to receiving SMS from the account. Displays only if the contact subscribes/opts-in. System generated.
  • property \PHPFUI\ConstantContact\DateTime $opt_out_date Date and time, in ISO-8601 format, that the contact unsubscribed/opted-out of receiving SMS from the account. Displays only if the contact unsubscribed/opted-out. System generated.
  • property string $advertised_frequency The numeric used to set how often to send SMS advertisements during a specified time interval (advertised_interval). For example, if the advertised_frequency is set to 2 and the advertised_interval is set to monthly, the contact can receive up to two advertisements per month.
  • property string $advertised_interval Identifies the unit of time used by Constant Contact to send SMS advertisements as a string enum. For example, if the advertised_frequency is set to 2 and the advertised_interval is set to monthly, the contact can receive up to two advertisements per month.
  • property \PHPFUI\ConstantContact\DateTime $created_at Date and time that the SMS stats were created, in ISO-8601 format. System generated.
  • property \PHPFUI\ConstantContact\DateTime $updated_at Date and time that the SMS stats were updated, in ISO-8601 format. System generated.
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 = ['sms_consent_permission' => ['pending_confirmation', 'opt_out', 'explicit'], 'consent_type' => ['promotional_sms'], 'opt_in_date' => '\PHPFUI\ConstantContact\DateTime', 'opt_out_date' => '\PHPFUI\ConstantContact\DateTime', 'advertised_frequency' => 'string', 'advertised_interval' => ['daily', 'weekly', 'monthly'], 'created_at' => '\PHPFUI\ConstantContact\DateTime', 'updated_at' => '\PHPFUI\ConstantContact\DateTime']
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 = ['sms_consent_permission' => ['pending_confirmation', 'opt_out', 'explicit'], 'consent_type' => ['promotional_sms'], 'opt_in_date' => '\PHPFUI\ConstantContact\DateTime', 'opt_out_date' => '\PHPFUI\ConstantContact\DateTime', 'advertised_frequency' => 'string', 'advertised_interval' => ['daily', 'weekly', 'monthly'], 'created_at' => '\PHPFUI\ConstantContact\DateTime', 'updated_at' => '\PHPFUI\ConstantContact\DateTime']
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