PHP Класс OJSQueuedPayment, ojs

Наследование: extends QueuedPayment
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$journalId journal ID this payment applies to
$requestUrl URL associated with this payment
$type PAYMENT_TYPE_...

Открытые методы

Метод Описание
__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_.

Описание методов

__construct() публичный метод

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

getDescription() публичный метод

Pulled from Journal Settings if present, or from locale file otherwise. For subscriptions, pulls subscription type name.
public getDescription ( ) : string
Результат string

getJournalId() публичный метод

Get the journal ID of the payment.
public getJournalId ( ) : integer
Результат integer

getName() публичный метод

Pulled from Journal Settings if present, or from locale file otherwise. For subscriptions, pulls subscription type name.
public getName ( ) : string
Результат string

getRequestUrl() публичный метод

Get the request URL.
public getRequestUrl ( ) : string
Результат string

getType() публичный метод

..)
public getType ( ) : integer
Результат integer PAYMENT_TYPE_...

setJournalId() публичный метод

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

setRequestUrl() публичный метод

Set the request URL.
public setRequestUrl ( $url ) : string
$url string
Результат string New URL

setType() публичный метод

..)
public setType ( $type ) : integer
$type int PAYMENT_TYPE_...
Результат integer New payment type

Описание свойств

$journalId публичное свойство

journal ID this payment applies to
public $journalId

$requestUrl публичное свойство

URL associated with this payment
public $requestUrl

$type публичное свойство

PAYMENT_TYPE_...
public $type