1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.kuali.kfs.fp.businessobject;
20
21 import java.sql.Date;
22 import java.util.LinkedHashMap;
23
24 import org.kuali.rice.core.api.util.type.KualiDecimal;
25 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
26
27
28
29
30
31 public class CashieringItemInProcess extends PersistableBusinessObjectBase {
32
33 private String campusCode;
34 private Integer itemIdentifier;
35 private KualiDecimal itemAmount;
36 private KualiDecimal itemReducedAmount;
37 private KualiDecimal itemRemainingAmount;
38 private KualiDecimal currentPayment;
39 private Date itemOpenDate;
40 private Date itemClosedDate;
41 private String itemDescription;
42
43
44
45
46 public CashieringItemInProcess() {
47 }
48
49
50
51
52
53
54 public String getCampusCode() {
55 return campusCode;
56 }
57
58
59
60
61
62
63 public void setCampusCode(String campusCode) {
64 this.campusCode = campusCode;
65 }
66
67
68
69
70
71
72
73 public Integer getItemIdentifier() {
74 return itemIdentifier;
75 }
76
77
78
79
80
81
82 public void setItemIdentifier(Integer itemIdentifier) {
83 this.itemIdentifier = itemIdentifier;
84 }
85
86
87
88
89
90
91
92 public KualiDecimal getItemAmount() {
93 return itemAmount;
94 }
95
96
97
98
99
100
101 public void setItemAmount(KualiDecimal itemAmount) {
102 this.itemAmount = itemAmount;
103 }
104
105
106
107
108
109
110
111 public KualiDecimal getItemReducedAmount() {
112 return itemReducedAmount;
113 }
114
115
116
117
118
119
120 public void setItemReducedAmount(KualiDecimal itemReducedAmount) {
121 this.itemReducedAmount = itemReducedAmount;
122 }
123
124
125
126
127
128
129
130 public KualiDecimal getItemRemainingAmount() {
131 return itemRemainingAmount;
132 }
133
134
135
136
137
138
139 public void setItemRemainingAmount(KualiDecimal itemTotalAmount) {
140 this.itemRemainingAmount = itemTotalAmount;
141 }
142
143
144
145
146
147
148
149 public Date getItemOpenDate() {
150 return itemOpenDate;
151 }
152
153
154
155
156
157
158 public void setItemOpenDate(Date itemOpenDate) {
159 this.itemOpenDate = itemOpenDate;
160 }
161
162
163
164
165
166
167
168 public Date getItemClosedDate() {
169 return itemClosedDate;
170 }
171
172
173
174
175
176
177 public void setItemClosedDate(Date itemClosedDate) {
178 this.itemClosedDate = itemClosedDate;
179 }
180
181
182
183
184
185
186
187 public String getItemDescription() {
188 return itemDescription;
189 }
190
191
192
193
194
195
196 public void setItemDescription(String itemDescription) {
197 this.itemDescription = itemDescription;
198 }
199
200
201
202
203
204
205 public KualiDecimal getCurrentPayment() {
206 return currentPayment;
207 }
208
209
210
211
212
213
214 public void setCurrentPayment(KualiDecimal currentPayment) {
215 this.currentPayment = currentPayment;
216 }
217
218
219
220
221 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
222 LinkedHashMap m = new LinkedHashMap();
223 m.put("campusCode", this.campusCode);
224 if (this.itemIdentifier != null) {
225 m.put("itemIdentifier", this.itemIdentifier.toString());
226 }
227 return m;
228 }
229
230
231
232
233
234
235
236 public boolean isPopulated() {
237 return (this.itemOpenDate != null && itemAmount != null && !itemAmount.equals(KualiDecimal.ZERO));
238 }
239 }