/**
* Field for all the objects related to this contribution
*
- * @var array of objects (e.g membership object, participant object)
+ * @var \CRM_Member_BAO_Membership|\CRM_Event_BAO_Participant[]
*/
public $_relatedObjects = [];
* This is used for composing messages because they have dependency on the
* contribution_page or event page - although over time we may eliminate that
*
- * @var string component or event
+ * @var "contribution"\"event"
*/
public $_component = NULL;
/**
* Check financial type validation on update of a contribution.
*
- * @param Integer $financialTypeId
+ * @param int $financialTypeId
* Value of latest Financial Type.
*
- * @param Integer $contributionId
+ * @param int $contributionId
* Contribution Id.
*
* @param array $errors
}
/**
- * Function use to store line item proportionaly in
- * in entity financial trxn table
+ * Function use to store line item proportionally in in entity financial trxn table
*
* @param array $trxnParams
*
- * @param Integer $trxnId
+ * @param int $trxnId
*
* @param float $contributionTotalAmount
*
+ * @throws \CiviCRM_API3_Exception
*/
public static function assignProportionalLineItems($trxnParams, $trxnId, $contributionTotalAmount) {
$lineItems = CRM_Price_BAO_LineItem::getLineItemsByContributionID($trxnParams['contribution_id']);
use CRM_Core_Form_EntityFormTrait;
/**
- * @var int Contribution ID
+ * Contribution ID.
+ *
+ * @var int
*/
protected $_coid = NULL;
/**
- * @var int Contribution Recur ID
+ * Contribution Recur ID.
+ *
+ * @var int
*/
protected $_crid = NULL;
protected $contributionRecurID = NULL;
/**
- * @var int Membership ID
+ * Membership ID.
+ *
+ * @var int
*/
protected $_mid = NULL;
protected $_paymentProcessorObj = NULL;
/**
- * @var array
+ * Current payment processor.
*
- * Current payment processor including a copy of the object in 'object' key for
- * legacy reasons.
+ * This includes a copy of the object in 'object' key for legacy reasons.
+ *
+ * @var array
*/
public $_paymentProcessor = [];