Open Journal Systems
3.3.0
Payment.inc.php
1
<?php
2
23
class
Payment
{
25
var
$paymentId
;
26
28
var
$contextId
;
29
31
var
$amount
;
32
34
var
$currencyCode
;
35
37
var
$userId
;
38
40
var
$assocId
;
41
43
var
$_type
;
44
52
function
__construct
(
$amount
=
null
,
$currencyCode
=
null
,
$userId
=
null
,
$assocId
=
null
) {
53
$this->amount =
$amount
;
54
$this->currencyCode =
$currencyCode
;
55
$this->userId =
$userId
;
56
$this->assocId =
$assocId
;
57
}
58
63
function
getId
() {
64
return
$this->paymentId
;
65
}
66
72
function
setId
(
$paymentId
) {
73
return
$this->paymentId =
$paymentId
;
74
}
75
81
function
setAmount
(
$amount
) {
82
return
$this->amount =
$amount
;
83
}
84
89
function
getAmount
() {
90
return
$this->amount
;
91
}
92
98
function
setCurrencyCode
(
$currencyCode
) {
99
return
$this->currencyCode =
$currencyCode
;
100
}
101
106
function
getCurrencyCode
() {
107
return
$this->currencyCode
;
108
}
109
114
function
getContextId
() {
115
return
$this->contextId
;
116
}
117
122
function
setContextId
(
$contextId
) {
123
$this->contextId =
$contextId
;
124
}
125
131
function
setType
($type) {
132
return
$this->type = $type;
133
}
134
139
function
getType
() {
140
return
$this->type;
141
}
142
148
function
setUserId
(
$userId
) {
149
return
$this->userId =
$userId
;
150
}
151
156
function
getUserId
() {
157
return
$this->userId
;
158
}
159
165
function
setAssocId
(
$assocId
) {
166
return
$this->assocId =
$assocId
;
167
}
168
173
function
getAssocId
() {
174
return
$this->assocId
;
175
}
176
}
177
178
Payment\__construct
__construct($amount=null, $currencyCode=null, $userId=null, $assocId=null)
Definition:
Payment.inc.php:73
Payment\$userId
$userId
Definition:
Payment.inc.php:52
Payment\setContextId
setContextId($contextId)
Definition:
Payment.inc.php:143
Payment\$currencyCode
$currencyCode
Definition:
Payment.inc.php:46
Payment\$paymentId
$paymentId
Definition:
Payment.inc.php:28
Payment\getAssocId
getAssocId()
Definition:
Payment.inc.php:194
Payment\getUserId
getUserId()
Definition:
Payment.inc.php:177
Payment\$assocId
$assocId
Definition:
Payment.inc.php:58
Payment
Abstract class for payments.
Definition:
Payment.inc.php:23
Payment\setId
setId($paymentId)
Definition:
Payment.inc.php:93
Payment\setType
setType($type)
Definition:
Payment.inc.php:152
Payment\$contextId
$contextId
Definition:
Payment.inc.php:34
Payment\getId
getId()
Definition:
Payment.inc.php:84
Payment\getAmount
getAmount()
Definition:
Payment.inc.php:110
Payment\setCurrencyCode
setCurrencyCode($currencyCode)
Definition:
Payment.inc.php:119
Payment\setAssocId
setAssocId($assocId)
Definition:
Payment.inc.php:186
Payment\$amount
$amount
Definition:
Payment.inc.php:40
Payment\setAmount
setAmount($amount)
Definition:
Payment.inc.php:102
Payment\getContextId
getContextId()
Definition:
Payment.inc.php:135
Payment\getCurrencyCode
getCurrencyCode()
Definition:
Payment.inc.php:127
Payment\$_type
$_type
Definition:
Payment.inc.php:64
Payment\getType
getType()
Definition:
Payment.inc.php:160
Payment\setUserId
setUserId($userId)
Definition:
Payment.inc.php:169
lib
pkp
classes
payment
Payment.inc.php
Generated on Fri Aug 28 2020 14:52:59 for Open Journal Systems by
1.8.17