API/DAO Metadata - Retain versioning metadata for possible usage in runtime+tooling
[civicrm-core.git] / CRM / Contribute / DAO / Contribution.php
index 493a0ae7d50f0b13ada9dcdb4f96397d2c00557e..e64cf1675e0bcaa1c132bf5182abc7deae1486f9 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Contribution.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37ea1e1c100be249d416ec13f8269c52)
+ * (GenCodeChecksum:5e4c6a77803e361625cafbd2f6e58bbe)
  */
 
 /**
@@ -299,6 +299,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'contribution_contact_id' => [
           'name' => 'contact_id',
@@ -319,6 +320,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '1.3',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -340,6 +342,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'contribution_page_id' => [
           'name' => 'contribution_page_id',
@@ -362,6 +365,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.5',
         ],
         'payment_instrument_id' => [
           'name' => 'payment_instrument_id',
@@ -382,6 +386,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'optionGroupName' => 'payment_instrument',
             'optionEditPath' => 'civicrm/admin/options/payment_instrument',
           ],
+          'add' => '1.3',
         ],
         'receive_date' => [
           'name' => 'receive_date',
@@ -401,6 +406,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.3',
         ],
         'non_deductible_amount' => [
           'name' => 'non_deductible_amount',
@@ -424,6 +430,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'total_amount' => [
           'name' => 'total_amount',
@@ -447,6 +454,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'fee_amount' => [
           'name' => 'fee_amount',
@@ -469,6 +477,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'net_amount' => [
           'name' => 'net_amount',
@@ -491,6 +500,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'trxn_id' => [
           'name' => 'trxn_id',
@@ -510,6 +520,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'invoice_id' => [
           'name' => 'invoice_id',
@@ -529,6 +540,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'invoice_number' => [
           'name' => 'invoice_number',
@@ -548,6 +560,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
         'currency' => [
           'name' => 'currency',
@@ -576,6 +589,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '1.3',
         ],
         'contribution_cancel_date' => [
           'name' => 'cancel_date',
@@ -595,6 +609,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.3',
         ],
         'cancel_reason' => [
           'name' => 'cancel_reason',
@@ -611,6 +626,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'receipt_date' => [
           'name' => 'receipt_date',
@@ -630,6 +646,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.3',
         ],
         'thankyou_date' => [
           'name' => 'thankyou_date',
@@ -649,6 +666,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.3',
         ],
         'contribution_source' => [
           'name' => 'source',
@@ -668,6 +686,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'amount_level' => [
           'name' => 'amount_level',
@@ -683,6 +702,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'contribution_recur_id' => [
           'name' => 'contribution_recur_id',
@@ -696,6 +716,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_Contribution',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur',
+          'add' => '1.4',
         ],
         'is_test' => [
           'name' => 'is_test',
@@ -712,6 +733,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'is_pay_later' => [
           'name' => 'is_pay_later',
@@ -728,6 +750,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.1',
         ],
         'contribution_status_id' => [
           'name' => 'contribution_status_id',
@@ -749,6 +772,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'optionGroupName' => 'contribution_status',
             'optionEditPath' => 'civicrm/admin/options/contribution_status',
           ],
+          'add' => '1.6',
         ],
         'contribution_address_id' => [
           'name' => 'address_id',
@@ -762,6 +786,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_Contribution',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Address',
+          'add' => '2.2',
         ],
         'contribution_check_number' => [
           'name' => 'check_number',
@@ -780,6 +805,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'contribution_campaign_id' => [
           'name' => 'campaign_id',
@@ -802,6 +828,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
         'creditnote_id' => [
           'name' => 'creditnote_id',
@@ -821,6 +848,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.6',
         ],
         'tax_amount' => [
           'name' => 'tax_amount',
@@ -843,6 +871,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.6',
         ],
         'revenue_recognition_date' => [
           'name' => 'revenue_recognition_date',
@@ -862,6 +891,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '4.7',
         ],
         'is_template' => [
           'name' => 'is_template',
@@ -879,6 +909,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '5.20',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);