|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| createCompletedPayment ($queuedPayment, $payMethod) | |
| createQueuedPayment ($request, $type, $userId, $assocId, $amount, $currencyCode=null) | |
| fulfillQueuedPayment ($request, $queuedPayment, $payMethodPluginName=null) | |
| getPaymentName ($payment) | |
| getPaymentPlugin () | |
| isConfigured () | |
Public Member Functions inherited from PaymentManager | |
| __construct ($context) | |
| displayConfigurationForm () | |
| fulfillQueuedPayment ($request, $queuedPayment) | |
| getPaymentForm ($queuedPayment) | |
| getQueuedPayment ($queuedPaymentId) | |
| queuePayment ($queuedPayment, $expiryDate=null) | |
Additional Inherited Members | |
Data Fields inherited from PaymentManager | |
| $_context | |
Provides payment management functions.
Definition at line 24 of file OMPPaymentManager.inc.php.
| OMPPaymentManager::createCompletedPayment | ( | $queuedPayment, | |
| $payMethod | |||
| ) |
Create a completed payment from a queued payment.
| $queuedPayment | QueuedPayment Payment to complete. |
| $payMethod | string Name of payment plugin used. |
Definition at line 120 of file OMPPaymentManager.inc.php.
Referenced by fulfillQueuedPayment().
| OMPPaymentManager::createQueuedPayment | ( | $request, | |
| $type, | |||
| $userId, | |||
| $assocId, | |||
| $amount, | |||
$currencyCode = null |
|||
| ) |
Create a queued payment.
| $request | PKPRequest |
| $type | int PAYMENT_TYPE_... |
| $userId | int ID of user responsible for payment |
| $assocId | int ID of associated entity |
| $amount | numeric Amount of currency $currencyCode |
| $currencyCode | string optional ISO 4217 currency code |
Definition at line 43 of file OMPPaymentManager.inc.php.
References DAORegistry\getDAO().
| OMPPaymentManager::fulfillQueuedPayment | ( | $request, | |
| $queuedPayment, | |||
$payMethodPluginName = null |
|||
| ) |
Fulfill a queued payment.
| $request | PKPRequest |
| $queuedPayment | QueuedPayment |
| $payMethodPluginName | string Name of payment plugin. |
Definition at line 93 of file OMPPaymentManager.inc.php.
References createCompletedPayment(), and DAORegistry\getDAO().
| OMPPaymentManager::getPaymentName | ( | $payment | ) |
Returns the name of a payment.
Definition at line 138 of file OMPPaymentManager.inc.php.
References DAORegistry\getDAO().
| OMPPaymentManager::getPaymentPlugin | ( | ) |
Get the payment plugin.
Reimplemented from PaymentManager.
Definition at line 76 of file OMPPaymentManager.inc.php.
References PluginRegistry\loadCategory().
| OMPPaymentManager::isConfigured | ( | ) |
Determine whether the payment system is configured.
Reimplemented from PaymentManager.
Definition at line 29 of file OMPPaymentManager.inc.php.