
Public Member Functions | |
| getAssocDescription () | |
| getCompletedPaymentId () | |
| getDescription () | |
| getJournalId () | |
| getName () | |
| getPayMethodPluginName () | |
| getTimestamp () | |
| getType () | |
| getUsername () | |
| isMembership () | |
| isSubscription () | |
| OJSCompletedPayment () | |
| setCompletedPaymentId ($queuedPaymentId) | |
| setJournalId ($journalId) | |
| setPayMethodPluginName ($payMethod) | |
| setTimestamp ($timestamp) | |
| setType ($type) | |
Definition at line 22 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.getAssocDescription | ( | ) |
Get some information about the assocId for display.
Definition at line 284 of file OJSCompletedPayment.inc.php.
References DAORegistry.getDAO(), and Locale.translate().
| OJSCompletedPayment.getCompletedPaymentId | ( | ) |
| OJSCompletedPayment.getDescription | ( | ) |
Returns the description of the CompletedPayment. Pulled from Journal Settings if present, or from locale file otherwise. For subscriptions, pulls subscription type name.
Reimplemented from Payment.
Definition at line 157 of file OJSCompletedPayment.inc.php.
References DAORegistry.getDAO(), getJournalId(), and Locale.translate().
| OJSCompletedPayment.getJournalId | ( | ) |
Get the journal ID of the payment.
Definition at line 63 of file OJSCompletedPayment.inc.php.
Referenced by getDescription(), and getName().
| OJSCompletedPayment.getName | ( | ) |
Returns the description of the CompletedPayment. Pulled from Journal Settings if present, or from locale file otherwise. For subscriptions, pulls subscription type name.
Reimplemented from Payment.
Definition at line 97 of file OJSCompletedPayment.inc.php.
References DAORegistry.getDAO(), getJournalId(), and Locale.translate().
| OJSCompletedPayment.getPayMethodPluginName | ( | ) |
Get the method of payment.
Definition at line 231 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.getTimestamp | ( | ) |
Get the row id of the payment.
Definition at line 214 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.getType | ( | ) |
| OJSCompletedPayment.getUsername | ( | ) |
Get the username from the userId in the payment
Definition at line 268 of file OJSCompletedPayment.inc.php.
References DAORegistry.getDAO().
| OJSCompletedPayment.isMembership | ( | ) |
Display-related get Methods Check if the type is a membership
Definition at line 251 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.isSubscription | ( | ) |
Check if the type is a subscription
Definition at line 259 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.OJSCompletedPayment | ( | ) |
Constructor
Definition at line 36 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.setCompletedPaymentId | ( | $ | queuedPaymentId | ) |
Get/set methods Set the ID of the payment.
| $queuedPaymentId | int |
Definition at line 47 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.setJournalId | ( | $ | journalId | ) |
Set the journal ID of the payment.
| $journalId | int |
Definition at line 71 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.setPayMethodPluginName | ( | $ | payMethod | ) |
Set the method of payment.
| $journalId | String |
Definition at line 239 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.setTimestamp | ( | $ | timestamp | ) |
Set the id of payment
| $dt | int/string *nix timestamp or ISO datetime string |
Definition at line 222 of file OJSCompletedPayment.inc.php.
| OJSCompletedPayment.setType | ( | $ | type | ) |
Set the Payment Type
| $type | int |
Definition at line 79 of file OJSCompletedPayment.inc.php.
1.5.6