Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($context) | |
displayConfigurationForm () | |
fulfillQueuedPayment ($request, $queuedPayment) | |
getPaymentForm ($queuedPayment) | |
getPaymentPlugin () | |
getQueuedPayment ($queuedPaymentId) | |
isConfigured () | |
queuePayment ($queuedPayment, $expiryDate=null) | |
Data Fields | |
$_context | |
Provides payment management functions.
Definition at line 18 of file PaymentManager.inc.php.
PaymentManager::__construct | ( | $context | ) |
PaymentManager::displayConfigurationForm | ( | ) |
Call the payment plugin's settings display method
Definition at line 82 of file PaymentManager.inc.php.
References getPaymentPlugin().
|
abstract |
Fulfill a queued payment
$request | PKPRequest |
$queuedPayment | QueuedPayment |
PaymentManager::getPaymentForm | ( | $queuedPayment | ) |
Get the payment form for the configured payment plugin and specified payment.
$queuedPayment | QueuedPayment |
Definition at line 72 of file PaymentManager.inc.php.
References getPaymentPlugin().
|
abstract |
Abstract method for fetching the payment plugin
Reimplemented in OJSPaymentManager.
Referenced by displayConfigurationForm(), getPaymentForm(), and isConfigured().
PaymentManager::getQueuedPayment | ( | $queuedPaymentId | ) |
Fetch a queued payment
$queuedPaymentId | int |
Definition at line 93 of file PaymentManager.inc.php.
References DAORegistry\getDAO().
PaymentManager::isConfigured | ( | ) |
Check if there is a payment plugin and if is configured
Reimplemented in OJSPaymentManager.
Definition at line 61 of file PaymentManager.inc.php.
References getPaymentPlugin().
Referenced by queuePayment().
PaymentManager::queuePayment | ( | $queuedPayment, | |
$expiryDate = null |
|||
) |
Queue a payment for receipt.
$queuedPayment | object |
$expiryDate | date optional |
Definition at line 39 of file PaymentManager.inc.php.
References DAORegistry\getDAO(), and isConfigured().
Context PaymentManager::$_context |
Definition at line 23 of file PaymentManager.inc.php.