Open Monograph Press  3.3.0
CompletedPayment Class Reference
Inheritance diagram for CompletedPayment:
Payment

Public Member Functions

 getPayMethodPluginName ()
 
 getTimestamp ()
 
 setPayMethodPluginName ($paymentPluginName)
 
 setTimestamp ($timestamp)
 
- Public Member Functions inherited from Payment
 __construct ($amount=null, $currencyCode=null, $userId=null, $assocId=null)
 
 getAmount ()
 
 getAssocId ()
 
 getContextId ()
 
 getCurrencyCode ()
 
 getId ()
 
 getType ()
 
 getUserId ()
 
 setAmount ($amount)
 
 setAssocId ($assocId)
 
 setContextId ($contextId)
 
 setCurrencyCode ($currencyCode)
 
 setId ($paymentId)
 
 setType ($type)
 
 setUserId ($userId)
 

Data Fields

 $_paymentPluginName
 
 $_timestamp
 
- Data Fields inherited from Payment
 $_type
 
 $amount
 
 $assocId
 
 $contextId
 
 $currencyCode
 
 $paymentId
 
 $userId
 

Detailed Description

Class describing a completed payment.

See also
CompletedPaymentDAO

Definition at line 19 of file CompletedPayment.inc.php.

Member Function Documentation

◆ getPayMethodPluginName()

CompletedPayment::getPayMethodPluginName ( )

Get the payment plugin name.

Returns
string

Definition at line 52 of file CompletedPayment.inc.php.

References $_paymentPluginName.

◆ getTimestamp()

CompletedPayment::getTimestamp ( )

Get the payment completion timestamp.

Returns
string

Definition at line 36 of file CompletedPayment.inc.php.

References $_timestamp.

◆ setPayMethodPluginName()

CompletedPayment::setPayMethodPluginName (   $paymentPluginName)

Set the payment plugin name.

Parameters
$paymentPluginNamestring

Definition at line 60 of file CompletedPayment.inc.php.

◆ setTimestamp()

CompletedPayment::setTimestamp (   $timestamp)

Set the payment completion timestamp.

Parameters
$timestampstring Timestamp

Definition at line 44 of file CompletedPayment.inc.php.

Field Documentation

◆ $_paymentPluginName

string CompletedPayment::$_paymentPluginName

Payment plugin name

Definition at line 30 of file CompletedPayment.inc.php.

Referenced by getPayMethodPluginName().

◆ $_timestamp

string CompletedPayment::$_timestamp

Payment completion timestamp

Definition at line 24 of file CompletedPayment.inc.php.

Referenced by getTimestamp().


The documentation for this class was generated from the following file: