4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC. All rights reserved. |
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 +--------------------------------------------------------------------+
14 * Class CRM_Contribute_RecurTokens
16 * Generate "contribution_recur.*" tokens.
18 class CRM_Contribute_RecurTokens
extends CRM_Core_EntityTokens
{
21 * Get the entity name for api v4 calls.
25 protected function getApiEntityName(): string {
26 return 'ContributionRecur';
32 public function getCurrencyFieldName(): array {