PHP Class OJSCompletedPayment, ojs

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

Méthodes publiques

Свойство Type Description
$journalId
$paperId
$payMethod
$timestamp
$type

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

Constructor
public __construct ( )

getAssocDescription() public méthode

Get some information about the assocId for display.
public getAssocDescription ( ) : String
Résultat String

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

getPayMethodPluginName() public méthode

Get the method of payment.
public getPayMethodPluginName ( ) : String
Résultat String

getTimestamp() public méthode

Get the row id of the payment.
public getTimestamp ( ) : integer
Résultat integer

getType() public méthode

Set the Payment Type
public getType ( )

isMembership() public méthode

Check if the type is a membership
public isMembership ( ) : boolean
Résultat boolean

isSubscription() public méthode

Check if the type is a subscription
public isSubscription ( ) : boolean
Résultat boolean

setJournalId() public méthode

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

setPayMethodPluginName() public méthode

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

setTimestamp() public méthode

Set the id of payment
public setTimestamp ( $timestamp )

setType() public méthode

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

Property Details

$journalId public_oe property

public $journalId

$paperId public_oe property

public $paperId

$payMethod public_oe property

public $payMethod

$timestamp public_oe property

public $timestamp

$type public_oe property

public $type