Merge pull request #20701 from colemanw/apiEntitySince
[civicrm-core.git] / Civi / Api4 / EntityFinancialTrxn.php
1 <?php
2
3 /*
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC. All rights reserved. |
6 | |
7 | This work is published under the GNU AGPLv3 license with some |
8 | permitted exceptions and without any warranty. For full license |
9 | and copyright information, see https://civicrm.org/licensing |
10 +--------------------------------------------------------------------+
11 */
12
13 /**
14 *
15 * @package CRM
16 * @copyright CiviCRM LLC https://civicrm.org/licensing
17 */
18
19 namespace Civi\Api4;
20
21 /**
22 * EntityFinancialTrxns. Joins financial transactions to contributions
23 * and financial items.
24 *
25 * @see https://docs.civicrm.org/dev/en/latest/financial/financialentities/
26 *
27 * @searchable bridge
28 * @since 5.37
29 * @package Civi\Api4
30 */
31 class EntityFinancialTrxn extends Generic\DAOEntity {
32 use Generic\Traits\EntityBridge;
33 use Generic\Traits\ReadOnly;
34
35 /**
36 * @return array
37 */
38 public static function getInfo() {
39 $info = parent::getInfo();
40 $info['bridge'] = [
41 'entity_id' => [],
42 'financial_trxn_id' => [],
43 ];
44 return $info;
45 }
46
47 }