PHP Класс OJSCompletedPayment, ojs

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

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

Свойство Тип Описание
$journalId
$paperId
$payMethod
$timestamp
$type

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

Метод Описание
__construct ( ) Constructor
getAssocDescription ( ) : String Get some information about the assocId for display.
getDescription ( ) : string Returns the description of the CompletedPayment.
getJournalId ( ) : integer Get the journal ID of the payment.
getName ( ) : string Returns the description of the CompletedPayment.
getPayMethodPluginName ( ) : String Get the method of payment.
getTimestamp ( ) : integer Get the row id of the payment.
getType ( ) Set the Payment Type
isMembership ( ) : boolean Check if the type is a membership
isSubscription ( ) : boolean Check if the type is a subscription
setJournalId ( $journalId ) Set the journal ID of the payment.
setPayMethodPluginName ( $payMethod ) Set the method of payment.
setTimestamp ( $timestamp ) Set the id of payment
setType ( $type ) Set the Payment Type

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

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

Constructor
public __construct ( )

getAssocDescription() публичный Метод

Get some information about the assocId for display.
public getAssocDescription ( ) : String
Результат String

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

getPayMethodPluginName() публичный Метод

Get the method of payment.
public getPayMethodPluginName ( ) : String
Результат String

getTimestamp() публичный Метод

Get the row id of the payment.
public getTimestamp ( ) : integer
Результат integer

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

Set the Payment Type
public getType ( )

isMembership() публичный Метод

Check if the type is a membership
public isMembership ( ) : boolean
Результат boolean

isSubscription() публичный Метод

Check if the type is a subscription
public isSubscription ( ) : boolean
Результат boolean

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

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

setPayMethodPluginName() публичный Метод

Set the method of payment.
public setPayMethodPluginName ( $payMethod )

setTimestamp() публичный Метод

Set the id of payment
public setTimestamp ( $timestamp )

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

Set the Payment Type
public setType ( $type )
$type int

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

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

public $journalId

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

public $paperId

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

public $payMethod

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

public $timestamp

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

public $type