trait CRM_Financial_Form_FrontEndPaymentFormTrait

This class holds functionality shared between various front end forms.

Properties

protected string $payLaterLabel The label for the pay later pseudoprocessor option.

Methods

string
getPayLaterLabel()

No description

setPayLaterLabel(string $payLaterLabel)

No description

alterLineItemsForTemplate($tplLineItems)

Alter line items for template.

assignLineItemsToTemplate($tplLineItems)

Assign line items to the template.

array
getProcessors()

Get the configured processors, including the pay later processor.

Details

at line 49
string getPayLaterLabel()

Return Value

string

at line 59
setPayLaterLabel(string $payLaterLabel)

Parameters

string $payLaterLabel

at line 72
protected alterLineItemsForTemplate($tplLineItems)

Alter line items for template.

This is an early cut of what will ideally eventually be a hooklike call to the CRM_Invoicing_Utils class with a potential end goal of moving this handling to an extension.

Parameters

$tplLineItems

at line 101
protected assignLineItemsToTemplate($tplLineItems)

Assign line items to the template.

Parameters

$tplLineItems

at line 112
protected array getProcessors()

Get the configured processors, including the pay later processor.

Return Value

array