Property | Type | Description | |
---|---|---|---|
$_item | |||
$_plans | |||
$_table |
Method | Description | |
---|---|---|
calculateDates ( $duration, $unit ) | ||
extractFunds ( array $transactionData ) : boolean | Write funds off from member balance | |
getById ( integer $planId ) : null | array | Return plan information | |
getPlans ( null $itemName = null ) : array | Returns an array of available plans | |
prePayment ( $itemName, $itemData, $planId, string $returnUrl = IA_URL ) : boolean | string | Payment pre-processing actions | |
setPaid ( $transaction ) | ||
setUnpaid ( $itemName, $itemId ) |
Method | Description | |
---|---|---|
_sendEmailNotification ( $type, array $plan, $memberId ) |
Method | Description | |
---|---|---|
_runClassMethod ( $itemName, $method, array $args = [] ) |
protected _sendEmailNotification ( $type, array $plan, $memberId ) | ||
$plan | array |
public extractFunds ( array $transactionData ) : boolean | ||
$transactionData | array | data about transaction |
return | boolean | true on success |