ContributionSoft.php
This api exposes CiviCRM soft credits.
Table of Contents
Functions
- civicrm_api3_contribution_soft_create() : array<string|int, mixed>
- Create or Update a Soft Credit.
- _civicrm_api3_contribution_soft_create_spec() : mixed
- Adjust Metadata for Create action.
- civicrm_api3_contribution_soft_delete() : array<string|int, mixed>
- Deletes an existing Soft Credit.
- civicrm_api3_contribution_soft_get() : array<string|int, mixed>
- Retrieve one or more Soft Credits.
Functions
civicrm_api3_contribution_soft_create()
Create or Update a Soft Credit.
civicrm_api3_contribution_soft_create(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
-
Array per getfields metadata.
Return values
array<string|int, mixed> —API result array
_civicrm_api3_contribution_soft_create_spec()
Adjust Metadata for Create action.
_civicrm_api3_contribution_soft_create_spec(array<string|int, mixed> &$params) : mixed
The metadata is used for setting defaults, documentation & validation.
Parameters
- $params : array<string|int, mixed>
-
Array of parameters determined by getfields.
civicrm_api3_contribution_soft_delete()
Deletes an existing Soft Credit.
civicrm_api3_contribution_soft_delete(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —Api formatted result.
civicrm_api3_contribution_soft_get()
Retrieve one or more Soft Credits.
civicrm_api3_contribution_soft_get(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
-
Array per getfields metadata.
Return values
array<string|int, mixed> —API result