PHP Class OJSQueuedPayment, ojs

Inheritance: extends QueuedPayment
Afficher le fichier Open project: pkp/ojs Class Usage Examples

Méthodes publiques

Свойство Type Description
$journalId journal ID this payment applies to
$requestUrl URL associated with this payment
$type PAYMENT_TYPE_...

Méthodes publiques

Méthode Description
__construct ( $amount, $currencyCode, $userId = null, $assocId = null )
getDescription ( ) : string Returns the description of the QueuedPayment.
getJournalId ( ) : integer Get the journal ID of the payment.
getName ( ) : string Returns the name of the QueuedPayment.
getRequestUrl ( ) : string Get the request URL.
getType ( ) : integer Get the type of this payment (PAYMENT_TYPE_.
setJournalId ( $journalId ) Set the journal ID of the payment.
setRequestUrl ( $url ) : string Set the request URL.
setType ( $type ) : integer Set the type for this payment (PAYMENT_TYPE_.

Method Details

__construct() public méthode

public __construct ( $amount, $currencyCode, $userId = null, $assocId = null )

getDescription() public méthode

Pulled from Journal Settings if present, or from locale file otherwise. For subscriptions, pulls subscription type name.
public getDescription ( ) : string
Résultat string

getJournalId() public méthode

Get the journal ID of the payment.
public getJournalId ( ) : integer
Résultat integer

getName() public méthode

Pulled from Journal Settings if present, or from locale file otherwise. For subscriptions, pulls subscription type name.
public getName ( ) : string
Résultat string

getRequestUrl() public méthode

Get the request URL.
public getRequestUrl ( ) : string
Résultat string

getType() public méthode

..)
public getType ( ) : integer
Résultat integer PAYMENT_TYPE_...

setJournalId() public méthode

Set the journal ID of the payment.
public setJournalId ( $journalId )
$journalId int

setRequestUrl() public méthode

Set the request URL.
public setRequestUrl ( $url ) : string
$url string
Résultat string New URL

setType() public méthode

..)
public setType ( $type ) : integer
$type int PAYMENT_TYPE_...
Résultat integer New payment type

Property Details

$journalId public_oe property

journal ID this payment applies to
public $journalId

$requestUrl public_oe property

URL associated with this payment
public $requestUrl

$type public_oe property

PAYMENT_TYPE_...
public $type