Свойство | Type | Description | |
---|---|---|---|
$_item | |||
$_plans | |||
$_table |
Méthode | 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 ) |
Méthode | Description | |
---|---|---|
_sendEmailNotification ( $type, array $plan, $memberId ) |
Méthode | Description | |
---|---|---|
_runClassMethod ( $itemName, $method, array $args = [] ) |
protected _sendEmailNotification ( $type, array $plan, $memberId ) | ||
$plan | array |
public extractFunds ( array $transactionData ) : boolean | ||
$transactionData | array | data about transaction |
Résultat | boolean | true on success |