*
* Generated from xml/schema/CRM/Event/Participant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4ca199ee96c9079ad7ce673c7a06d5f6)
+ * (GenCodeChecksum:9d1b4abcd8bb1106b31c610026aed0d5)
*/
/**
/**
* Participant ID
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $id;
/**
* FK to Contact ID
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $contact_id;
/**
* FK to Event ID
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $event_id;
/**
* Participant status ID. FK to civicrm_participant_status_type. Default of 1 should map to status = Registered.
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $status_id;
/**
* Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(128))
+ * Note that values will be retrieved from the database as a string.
*/
public $role_id;
/**
* When did contact register for event?
*
- * @var datetime
+ * @var string|null
+ * (SQL type: datetime)
+ * Note that values will be retrieved from the database as a string.
*/
public $register_date;
/**
* Source of this event registration.
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(128))
+ * Note that values will be retrieved from the database as a string.
*/
public $source;
* Populate with the label (text) associated with a fee level for paid events with multiple levels. Note that
* we store the label value and not the key
*
- * @var text
+ * @var string|null
+ * (SQL type: text)
+ * Note that values will be retrieved from the database as a string.
*/
public $fee_level;
/**
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_test;
/**
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_pay_later;
/**
* actual processor fee if known - may be 0.
*
- * @var float
+ * @var float|string|null
+ * (SQL type: decimal(20,2))
+ * Note that values will be retrieved from the database as a string.
*/
public $fee_amount;
/**
* FK to Participant ID
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $registered_by_id;
/**
* FK to Discount ID
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $discount_id;
/**
* 3 character string, value derived from config setting.
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(3))
+ * Note that values will be retrieved from the database as a string.
*/
public $fee_currency;
/**
* The campaign for which this participant has been registered.
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $campaign_id;
/**
* Discount Amount
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $discount_amount;
/**
* FK to civicrm_event_carts
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $cart_id;
/**
* On Waiting List
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int)
+ * Note that values will be retrieved from the database as a string.
*/
public $must_wait;
/**
* FK to Contact ID
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $transferred_to_contact_id;
'name' => 'is_test',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Test'),
+ 'required' => TRUE,
'import' => TRUE,
'where' => 'civicrm_participant.is_test',
'export' => TRUE,
'name' => 'is_pay_later',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Pay Later'),
+ 'required' => TRUE,
'import' => TRUE,
'where' => 'civicrm_participant.is_pay_later',
'headerPattern' => '/(is.)?(pay(.)?later)$/i',