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