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