1 package org.kuali.ole.patron.bill;
2
3
4 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5
6 import java.math.BigDecimal;
7 import java.util.ArrayList;
8 import java.util.Date;
9 import java.util.LinkedHashMap;
10 import java.util.List;
11
12
13
14
15
16 public class PatronBillPayment extends PersistableBusinessObjectBase {
17
18
19 private BigDecimal totalAmount;
20 private String billNumber;
21 private Date billDate;
22 private FeeType patronFeeType;
23 private String patronId;
24 private String proxyPatronId;
25 private String itemId;
26 private String freeTextNote;
27 private List<FeeType> feeType = new ArrayList<FeeType>();
28 private BigDecimal unPaidBalance;
29 private String paymentStatus;
30 private String paymentMethod;
31 private BigDecimal paymentAmount;
32 private String paymentOperatorId;
33 private String paymentMachineId;
34 private Date payDate;
35
36
37
38 private String machineId="Test";
39 private String note;
40 private String paymentStatusName;
41 private OlePaymentStatus olePaymentStatus;
42 private String firstName;
43 private String lastName;
44 private String operatorId="test";
45 private String proxyPatronName;
46 private List<SystemGeneratedBill> sysGeneratedBill = new ArrayList<SystemGeneratedBill>();
47 private String proxyFirstName;
48 private String proxyLastName;
49
50
51
52
53
54
55 public String getNote() {
56 return note;
57 }
58
59
60
61
62
63 public void setNote(String note) {
64 this.note = note;
65 }
66
67
68
69
70
71 public String getMachineId() {
72 return machineId;
73 }
74
75
76
77
78 public void setMachineId(String machineId) {
79 this.machineId = machineId;
80 }
81
82
83
84
85 public String getOperatorId() {
86 return operatorId;
87 }
88
89
90
91
92 public void setOperatorId(String operatorId) {
93 this.operatorId = operatorId;
94 }
95
96
97
98
99 public Date getPayDate() {
100 return payDate;
101 }
102
103
104
105
106
107 public void setPayDate(Date payDate) {
108 this.payDate = payDate;
109 }
110
111
112
113
114
115 public String getPaymentMachineId() {
116 return paymentMachineId;
117 }
118
119
120
121
122 public void setPaymentMachineId(String paymentMachineId) {
123 this.paymentMachineId = paymentMachineId;
124 }
125
126
127
128
129
130 public String getPaymentOperatorId() {
131 return paymentOperatorId;
132 }
133
134
135
136
137 public void setPaymentOperatorId(String paymentOperatorId) {
138 this.paymentOperatorId = paymentOperatorId;
139 }
140
141
142
143
144
145 public String getPaymentStatus() {
146 return paymentStatus;
147 }
148
149
150
151
152 public void setPaymentStatus(String paymentStatus) {
153 this.paymentStatus = paymentStatus;
154 }
155
156
157
158
159 public String getPaymentMethod() {
160 return paymentMethod;
161 }
162
163
164
165
166 public void setPaymentMethod(String paymentMethod) {
167 this.paymentMethod = paymentMethod;
168 }
169
170
171
172
173 public String getPatronId() {
174 return patronId;
175 }
176
177
178
179
180 public void setPatronId(String patronId) {
181 this.patronId = patronId;
182 }
183
184
185
186
187 public String getItemId() {
188 return itemId;
189 }
190
191
192
193
194 public void setItemId(String itemId) {
195 this.itemId = itemId;
196 }
197
198
199
200
201 public String getProxyPatronId() {
202 return proxyPatronId;
203 }
204
205
206
207
208 public void setProxyPatronId(String proxyPatronId) {
209 this.proxyPatronId = proxyPatronId;
210 }
211
212
213
214
215 public FeeType getPatronFeeType() {
216 return patronFeeType;
217 }
218
219
220
221
222 public void setPatronFeeType(FeeType patronFeeType) {
223 this.patronFeeType = patronFeeType;
224 }
225
226
227
228
229 /*
230 public List<FeeType> getFeeType() {
231 return feeType;
232 }
233 */
234
235
236 /*
237 public void setFeeType(List<FeeType> feeType) {
238 this.feeType = feeType;
239 }*/
240
241
242
243
244 public Date getBillDate() {
245 return billDate;
246 }
247
248
249
250
251 public void setBillDate(Date billDate) {
252 this.billDate = billDate;
253 }
254
255
256
257
258 public String getBillNumber() {
259 return billNumber;
260 }
261
262
263
264
265 public void setBillNumber(String billNumber) {
266 this.billNumber = billNumber;
267 }
268
269
270
271
272
273 public String getFreeTextNote() {
274 return freeTextNote;
275 }
276
277
278
279
280 public void setFreeTextNote(String freeTextNote) {
281 this.freeTextNote = freeTextNote;
282 }
283
284
285
286
287 public BigDecimal getTotalAmount() {
288 return totalAmount;
289 }
290
291
292
293
294 public void setTotalAmount(BigDecimal totalAmount) {
295 this.totalAmount = totalAmount;
296 }
297
298
299
300
301 public BigDecimal getPaymentAmount() {
302 return paymentAmount;
303 }
304
305
306
307
308 public void setPaymentAmount(BigDecimal paymentAmount) {
309 this.paymentAmount = paymentAmount;
310 }
311
312
313
314
315 public BigDecimal getUnPaidBalance() {
316 return unPaidBalance;
317 }
318
319
320
321
322 public void setUnPaidBalance(BigDecimal unPaidBalance) {
323 this.unPaidBalance = unPaidBalance;
324 }
325
326
327
328
329 public OlePaymentStatus getOlePaymentStatus() {
330 return olePaymentStatus;
331 }
332
333
334
335
336 public void setOlePaymentStatus(OlePaymentStatus olePaymentStatus) {
337 this.olePaymentStatus = olePaymentStatus;
338 }
339
340
341
342
343 public String getPaymentStatusName() {
344 return olePaymentStatus.getPaymentStatusName();
345 }
346
347
348
349
350 public void setPaymentStatusName(String paymentStatusName) {
351 this.paymentStatusName = paymentStatusName;
352 }
353
354
355
356
357 public String getFirstName() {
358 return firstName;
359 }
360
361
362
363
364 public void setFirstName(String firstName) {
365 this.firstName = firstName;
366 }
367
368
369
370
371 public String getLastName() {
372 return lastName;
373 }
374
375
376
377
378 public void setLastName(String lastName) {
379 this.lastName = lastName;
380 }
381
382 public List<SystemGeneratedBill> getSysGeneratedBill() {
383 return sysGeneratedBill;
384 }
385
386 public void setSysGeneratedBill(List<SystemGeneratedBill> sysGeneratedBill) {
387 this.sysGeneratedBill = sysGeneratedBill;
388 }
389
390 public String getProxyPatronName() {
391 return proxyPatronName;
392 }
393
394 public void setProxyPatronName(String proxyPatronName) {
395 this.proxyPatronName = proxyPatronName;
396 }
397
398
399
400
401
402
403
404
405
406 public List<FeeType> getFeeType() {
407 return feeType;
408 }
409
410 public void setFeeType(List<FeeType> feeType) {
411 this.feeType = feeType;
412 }
413
414 public String getProxyFirstName() {
415 return proxyFirstName;
416 }
417
418 public void setProxyFirstName(String proxyFirstName) {
419 this.proxyFirstName = proxyFirstName;
420 }
421
422 public String getProxyLastName() {
423 return proxyLastName;
424 }
425
426 public void setProxyLastName(String proxyLastName) {
427 this.proxyLastName = proxyLastName;
428 }
429
430
431
432
433
434 protected LinkedHashMap toStringMapper() {
435 LinkedHashMap toStringMap = new LinkedHashMap();
436 toStringMap.put("billNumber",billNumber);
437 return toStringMap;
438 }
439 }