Class describing a payment ready to be in the database. More...
Public Member Functions | |
| getAssocDescription () | |
| getDescription () | |
| getName () | |
| getPayMethodPluginName () | |
| getPressId () | |
| getTimestamp () | |
| getType () | |
| OMPCompletedPayment () | |
| setPayMethodPluginName ($payMethod) | |
| setPressId ($pressId) | |
| setTimestamp ($timestamp) | |
| setType ($type) | |
Class describing a payment ready to be in the database.
Definition at line 22 of file OMPCompletedPayment.inc.php.
| OMPCompletedPayment.getAssocDescription | ( | ) |
Display-related get Methods Get some information about the assocId for display.
Definition at line 147 of file OMPCompletedPayment.inc.php.
| OMPCompletedPayment.getDescription | ( | ) |
Returns the description of the CompletedPayment. Pulled from Press Settings if present, or from locale file otherwise. For subscriptions, pulls subscription type name.
Definition at line 95 of file OMPCompletedPayment.inc.php.
References getPressId().
| OMPCompletedPayment.getName | ( | ) |
Returns the description of the CompletedPayment. Pulled from Press Settings if present, or from locale file otherwise. For subscriptions, pulls subscription type name.
Definition at line 77 of file OMPCompletedPayment.inc.php.
References getPressId().
| OMPCompletedPayment.getPayMethodPluginName | ( | ) |
Get the method of payment.
Definition at line 127 of file OMPCompletedPayment.inc.php.
| OMPCompletedPayment.getPressId | ( | ) |
Get/set methods Get the press ID of the payment.
Definition at line 43 of file OMPCompletedPayment.inc.php.
Referenced by getDescription(), and getName().
| OMPCompletedPayment.getTimestamp | ( | ) |
Get the row id of the payment.
Definition at line 111 of file OMPCompletedPayment.inc.php.
| OMPCompletedPayment.getType | ( | ) |
| OMPCompletedPayment.OMPCompletedPayment | ( | ) |
Constructor
Definition at line 31 of file OMPCompletedPayment.inc.php.
| OMPCompletedPayment.setPayMethodPluginName | ( | $ | payMethod | ) |
Set the method of payment.
| $pressId | String |
Definition at line 135 of file OMPCompletedPayment.inc.php.
| OMPCompletedPayment.setPressId | ( | $ | pressId | ) |
Set the press ID of the payment.
| $pressId | int |
Definition at line 51 of file OMPCompletedPayment.inc.php.
| OMPCompletedPayment.setTimestamp | ( | $ | timestamp | ) |
Set the id of payment
| $dt | int/string *nix timestamp or ISO datetime string |
Definition at line 119 of file OMPCompletedPayment.inc.php.
| OMPCompletedPayment.setType | ( | $ | type | ) |
Set the Payment Type
| $type | int |
Definition at line 59 of file OMPCompletedPayment.inc.php.
1.7.1