/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*
* Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:21185c4929ef1a8d126c72733cc7ad1d)
+ * (GenCodeChecksum:d30cfdb7f54eac46852246cf30654a97)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_financial_trxn';
+ public static $_tableName = 'civicrm_financial_trxn';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = TRUE;
+ public static $_log = TRUE;
/**
* @var int unsigned
*/
public static function getReferenceColumns() {
if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+ Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'from_financial_account_id', 'civicrm_financial_account', 'id');
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'to_financial_account_id', 'civicrm_financial_account', 'id');
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_processor_id', 'civicrm_payment_processor', 'id');
'name' => 'from_financial_account_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Transaction From Account'),
- 'description' => 'FK to financial_account table.',
+ 'description' => ts('FK to financial_account table.'),
'table_name' => 'civicrm_financial_trxn',
'entity' => 'FinancialTrxn',
'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'name' => 'to_financial_account_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Transaction To Account'),
- 'description' => 'FK to financial_financial_account table.',
+ 'description' => ts('FK to financial_financial_account table.'),
'table_name' => 'civicrm_financial_trxn',
'entity' => 'FinancialTrxn',
'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'name' => 'trxn_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Financial Transaction Date'),
- 'description' => 'date transaction occurred',
+ 'description' => ts('date transaction occurred'),
'default' => 'NULL',
'table_name' => 'civicrm_financial_trxn',
'entity' => 'FinancialTrxn',
'name' => 'total_amount',
'type' => CRM_Utils_Type::T_MONEY,
'title' => ts('Financial Total Amount'),
- 'description' => 'amount of transaction',
+ 'description' => ts('amount of transaction'),
'required' => TRUE,
'precision' => [
20,
'name' => 'fee_amount',
'type' => CRM_Utils_Type::T_MONEY,
'title' => ts('Financial Fee Amount'),
- 'description' => 'actual processor fee if known - may be 0.',
+ 'description' => ts('actual processor fee if known - may be 0.'),
'precision' => [
20,
2
'name' => 'net_amount',
'type' => CRM_Utils_Type::T_MONEY,
'title' => ts('Financial Net Amount'),
- 'description' => 'actual funds transfer amount. total less fees. if processor does not report actual fee during transaction, this is set to total_amount.',
+ 'description' => ts('actual funds transfer amount. total less fees. if processor does not report actual fee during transaction, this is set to total_amount.'),
'precision' => [
20,
2
'name' => 'currency',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Financial Currency'),
- 'description' => '3 character string, value from config setting or input via user.',
+ 'description' => ts('3 character string, value from config setting or input via user.'),
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'import' => TRUE,
'name' => 'is_payment',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Payment?'),
- 'description' => 'Is this entry either a payment or a reversal of a payment?',
+ 'description' => ts('Is this entry either a payment or a reversal of a payment?'),
'import' => TRUE,
'where' => 'civicrm_financial_trxn.is_payment',
'headerPattern' => '',
'name' => 'trxn_id',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Transaction ID'),
- 'description' => 'Transaction id supplied by external processor. This may not be unique.',
+ 'description' => ts('Transaction id supplied by external processor. This may not be unique.'),
'maxlength' => 255,
'size' => 10,
'table_name' => 'civicrm_financial_trxn',
'name' => 'trxn_result_code',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Transaction Result Code'),
- 'description' => 'processor result code',
+ 'description' => ts('processor result code'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_financial_trxn',
'name' => 'status_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Transaction Status Id'),
- 'description' => 'pseudo FK to civicrm_option_value of contribution_status_id option_group',
+ 'description' => ts('pseudo FK to civicrm_option_value of contribution_status_id option_group'),
'import' => TRUE,
'where' => 'civicrm_financial_trxn.status_id',
'headerPattern' => '/status/i',
'name' => 'payment_processor_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Processor'),
- 'description' => 'Payment Processor for this financial transaction',
+ 'description' => ts('Payment Processor for this financial transaction'),
'table_name' => 'civicrm_financial_trxn',
'entity' => 'FinancialTrxn',
'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'name' => 'payment_instrument_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Method'),
- 'description' => 'FK to payment_instrument option group values',
+ 'description' => ts('FK to payment_instrument option group values'),
'table_name' => 'civicrm_financial_trxn',
'entity' => 'FinancialTrxn',
'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'name' => 'card_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Card Type ID'),
- 'description' => 'FK to accept_creditcard option group values',
+ 'description' => ts('FK to accept_creditcard option group values'),
'table_name' => 'civicrm_financial_trxn',
'entity' => 'FinancialTrxn',
'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'name' => 'check_number',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Check Number'),
- 'description' => 'Check number',
+ 'description' => ts('Check number'),
'maxlength' => 255,
'size' => 6,
'table_name' => 'civicrm_financial_trxn',
'name' => 'pan_truncation',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Pan Truncation'),
- 'description' => 'Last 4 digits of credit card',
+ 'description' => ts('Last 4 digits of credit card'),
'maxlength' => 4,
'size' => 4,
'table_name' => 'civicrm_financial_trxn',