Commit | Line | Data |
---|---|---|
becebb63 | 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 | * | |
becebb63 | 27 | * @package Civi\Api4 |
28 | */ | |
29 | class EntityFinancialTrxn extends Generic\DAOEntity { | |
30 | use Generic\Traits\EntityBridge; | |
31 | ||
27d31a0f CW |
32 | /** |
33 | * @return array | |
34 | */ | |
35 | public static function getInfo() { | |
36 | $info = parent::getInfo(); | |
37 | $info['bridge'] = [ | |
38 | 'entity_id' => [], | |
39 | 'financial_trxn_id' => [], | |
40 | ]; | |
41 | return $info; | |
42 | } | |
43 | ||
becebb63 | 44 | } |