Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
OMPQueuedPayment Class Reference
Inheritance diagram for OMPQueuedPayment:
QueuedPayment Payment

Public Member Functions

 getDescription ()
 
 getName ()
 
 getPressId ()
 
 getRequestUrl ()
 
 getType ()
 
 setPressId ($pressId)
 
 setRequestUrl ($url)
 
 setType ($type)
 
- Public Member Functions inherited from QueuedPayment
 QueuedPayment ($amount, $currencyCode, $userId=null, $assocId=null)
 
- Public Member Functions inherited from Payment
 getAmount ()
 
 getAssocId ()
 
 getCurrencyCode ()
 
 getDescription ()
 
 getId ()
 
 getName ()
 
 getUserId ()
 
 Payment ($amount=null, $currencyCode=null, $userId=null, $assocId=null)
 
 setAmount ($amount)
 
 setAssocId ($assocId)
 
 setCurrencyCode ($currencyCode)
 
 setId ($paymentId)
 
 setUserId ($userId)
 

Public Attributes

 $pressId
 
 $requestUrl
 
 $type
 
- Public Attributes inherited from Payment
 $amount
 
 $assocId
 
 $currencyCode
 
 $paymentId
 
 $userId
 

Detailed Description

Queued payment data structure for OMP.

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

Member Function Documentation

OMPQueuedPayment::getDescription ( )

Returns the description of the QueuedPayment.

Returns
string

Definition at line 96 of file OMPQueuedPayment.inc.php.

OMPQueuedPayment::getName ( )

Returns the name of the QueuedPayment.

Returns
string

Definition at line 76 of file OMPQueuedPayment.inc.php.

OMPQueuedPayment::getPressId ( )

Get the press ID of the payment.

Returns
int

Definition at line 42 of file OMPQueuedPayment.inc.php.

References $pressId.

OMPQueuedPayment::getRequestUrl ( )

Get the request URL.

Returns
string

Definition at line 119 of file OMPQueuedPayment.inc.php.

OMPQueuedPayment::getType ( )

Get the type of this payment (PAYMENT_TYPE_...)

Returns
int PAYMENT_TYPE_...

Definition at line 68 of file OMPQueuedPayment.inc.php.

References Payment\getAssocId(), and DAORegistry\getDAO().

OMPQueuedPayment::setPressId (   $pressId)

Set the press ID of the payment.

Parameters
$pressIdint
Returns
$pressId int New press ID

Definition at line 51 of file OMPQueuedPayment.inc.php.

References $type.

OMPQueuedPayment::setRequestUrl (   $url)

Set the request URL.

Parameters
$urlstring
Returns
string New URL

Definition at line 111 of file OMPQueuedPayment.inc.php.

OMPQueuedPayment::setType (   $type)

Set the type for this payment (PAYMENT_TYPE_...)

Parameters
$typeint PAYMENT_TYPE_...
Returns
int New payment type

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

Member Data Documentation

$pressId OMPQueuedPayment::$pressId

int press ID this payment applies to

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

Referenced by getPressId().

$requestUrl OMPQueuedPayment::$requestUrl

string URL associated with this payment

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

$type OMPQueuedPayment::$type

int PAYMENT_TYPE_...

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

Referenced by setPressId().


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