Merge pull request #14413 from civicrm/5.14
[civicrm-core.git] / CRM / Contribute / DAO / Product.php
index b2db8e758c1176024b75d494f72dbc07ad2089e3..ad147b0646de9c74880da19fc9d781618493aa1f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Product.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9bb05e909f23bb9193a3ed069db9da69)
+ * (GenCodeChecksum:27002591d220b4bc2498b367bef17367)
  */
 
 /**
@@ -29,7 +29,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
   public static $_log = TRUE;
 
   /**
-   * @var int unsigned
+   * @var int
    */
   public $id;
 
@@ -92,7 +92,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
   /**
    * FK to Financial Type.
    *
-   * @var int unsigned
+   * @var int
    */
   public $financial_type_id;
 
@@ -113,13 +113,13 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
   /**
    * Disabling premium removes it from the premiums_premium join table below.
    *
-   * @var boolean
+   * @var bool
    */
   public $is_active;
 
   /**
    * Rolling means we set start/end based on current day, fixed means we set start/end for current year or month
-   (e.g. 1 year + fixed -> we would set start/end for 1/1/06 thru 12/31/06 for any premium chosen in 2006)
+   (e.g. 1 year + fixed -> we would set start/end for 1/1/06 thru 12/31/06 for any premium chosen in 2006)
    *
    * @var string
    */
@@ -284,7 +284,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'description' => ts('Sell price or market value for premiums. For tax-deductible contributions, this will be stored as non_deductible_amount in the contribution record.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_product.price',
           'table_name' => 'civicrm_product',
@@ -313,7 +313,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'labelColumn' => 'full_name',
             'nameColumn' => 'name',
-          ]
+          ],
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -331,7 +331,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
             'table' => 'civicrm_financial_type',
             'keyColumn' => 'id',
             'labelColumn' => 'name',
-          ]
+          ],
         ],
         'min_contribution' => [
           'name' => 'min_contribution',
@@ -340,7 +340,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'description' => ts('Minimum contribution required to be eligible to select this premium.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_product.min_contribution',
           'table_name' => 'civicrm_product',
@@ -355,7 +355,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'description' => ts('Actual cost of this product. Useful to determine net return from sale or using this as an incentive.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_product.cost',
           'table_name' => 'civicrm_product',
@@ -394,7 +394,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           ],
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::periodType',
-          ]
+          ],
         ],
         'fixed_period_start_day' => [
           'name' => 'fixed_period_start_day',
@@ -425,7 +425,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           ],
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getPremiumUnits',
-          ]
+          ],
         ],
         'duration_interval' => [
           'name' => 'duration_interval',
@@ -456,7 +456,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           ],
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getPremiumUnits',
-          ]
+          ],
         ],
         'frequency_interval' => [
           'name' => 'frequency_interval',