1 /*
2 * The Kuali Financial System, a comprehensive financial management system for higher education.
3 *
4 * Copyright 2005-2014 The Kuali Foundation
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as
8 * published by the Free Software Foundation, either version 3 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
15 *
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 package org.kuali.kfs.sys.businessobject;
21
22 import java.util.LinkedHashMap;
23
24 import org.kuali.kfs.sys.KFSPropertyConstants;
25 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
26
27 /**
28 * This class is used to represent a disbursement voucher wire transfer.
29 */
30 public class PaymentSourceWireTransfer extends PersistableBusinessObjectBase {
31
32 private String documentNumber;
33 private String bankName;
34 private String bankRoutingNumber;
35 private String bankCityName;
36 private String bankStateCode;
37 private String bankCountryCode;
38 private String attentionLineText;
39 private String additionalWireText;
40 private String payeeAccountNumber;
41 private String currencyTypeName;
42 private String currencyTypeCode;
43 private boolean wireTransferFeeWaiverIndicator;
44 private String payeeAccountName;
45 private String automatedClearingHouseProfileNumber;
46 private String foreignCurrencyTypeName;
47 private String foreignCurrencyTypeCode;
48
49
50 /**
51 * Default no-arg constructor.
52 */
53 public PaymentSourceWireTransfer() {
54 wireTransferFeeWaiverIndicator = false;
55 }
56
57 /**
58 * Gets the documentNumber attribute.
59 *
60 * @return Returns the documentNumber
61 */
62 public String getDocumentNumber() {
63 return documentNumber;
64 }
65
66
67 /**
68 * Sets the documentNumber attribute.
69 *
70 * @param documentNumber The documentNumber to set.
71 */
72 public void setDocumentNumber(String documentNumber) {
73 this.documentNumber = documentNumber;
74 }
75
76 /**
77 * Gets the bankName attribute.
78 *
79 * @return Returns the bankName
80 */
81 public String getBankName() {
82 return bankName;
83 }
84
85
86 /**
87 * Sets the bankName attribute.
88 *
89 * @param bankName The bankName to set.
90 */
91 public void setBankName(String disbursementVoucherBankName) {
92 this.bankName = disbursementVoucherBankName;
93 }
94
95 /**
96 * Gets the bankRoutingNumber attribute.
97 *
98 * @return Returns the bankRoutingNumber
99 */
100 public String getBankRoutingNumber() {
101 return bankRoutingNumber;
102 }
103
104
105 /**
106 * Sets the bankRoutingNumber attribute.
107 *
108 * @param bankRoutingNumber The bankRoutingNumber to set.
109 */
110 public void setBankRoutingNumber(String disbVchrBankRoutingNumber) {
111 this.bankRoutingNumber = disbVchrBankRoutingNumber;
112 }
113
114 /**
115 * Gets the bankCityName attribute.
116 *
117 * @return Returns the bankCityName
118 */
119 public String getBankCityName() {
120 return bankCityName;
121 }
122
123
124 /**
125 * Sets the bankCityName attribute.
126 *
127 * @param bankCityName The bankCityName to set.
128 */
129 public void setBankCityName(String disbVchrBankCityName) {
130 this.bankCityName = disbVchrBankCityName;
131 }
132
133 /**
134 * Gets the bankStateCode attribute.
135 *
136 * @return Returns the bankStateCode
137 */
138 public String getBankStateCode() {
139 return bankStateCode;
140 }
141
142
143 /**
144 * Sets the bankStateCode attribute.
145 *
146 * @param bankStateCode The bankStateCode to set.
147 */
148 public void setBankStateCode(String disbVchrBankStateCode) {
149 this.bankStateCode = disbVchrBankStateCode;
150 }
151
152 /**
153 * Gets the bankCountryCode attribute.
154 *
155 * @return Returns the bankCountryCode
156 */
157 public String getBankCountryCode() {
158 return bankCountryCode;
159 }
160
161
162 /**
163 * Sets the bankCountryCode attribute.
164 *
165 * @param bankCountryCode The bankCountryCode to set.
166 */
167 public void setBankCountryCode(String disbVchrBankCountryCode) {
168 this.bankCountryCode = disbVchrBankCountryCode;
169 }
170
171 /**
172 * Gets the attentionLineText attribute.
173 *
174 * @return Returns the attentionLineText
175 */
176 public String getAttentionLineText() {
177 return attentionLineText;
178 }
179
180
181 /**
182 * Sets the attentionLineText attribute.
183 *
184 * @param attentionLineText The attentionLineText to set.
185 */
186 public void setAttentionLineText(String disbVchrAttentionLineText) {
187 this.attentionLineText = disbVchrAttentionLineText;
188 }
189
190 /**
191 * Gets the additionalWireText attribute.
192 *
193 * @return Returns the additionalWireText
194 */
195 public String getAdditionalWireText() {
196 return additionalWireText;
197 }
198
199
200 /**
201 * Sets the additionalWireText attribute.
202 *
203 * @param additionalWireText The additionalWireText to set.
204 */
205 public void setAdditionalWireText(String disbVchrAdditionalWireText) {
206 this.additionalWireText = disbVchrAdditionalWireText;
207 }
208
209 /**
210 * Gets the payeeAccountNumber attribute.
211 *
212 * @return Returns the payeeAccountNumber
213 */
214 public String getPayeeAccountNumber() {
215 return payeeAccountNumber;
216 }
217
218
219 /**
220 * Sets the payeeAccountNumber attribute.
221 *
222 * @param payeeAccountNumber The payeeAccountNumber to set.
223 */
224 public void setPayeeAccountNumber(String disbVchrPayeeAccountNumber) {
225 this.payeeAccountNumber = disbVchrPayeeAccountNumber;
226 }
227
228 /**
229 * Gets the currencyTypeName attribute.
230 *
231 * @return Returns the currencyTypeName
232 */
233 public String getCurrencyTypeName() {
234 return currencyTypeName;
235 }
236
237
238 /**
239 * Sets the currencyTypeName attribute.
240 *
241 * @param currencyTypeName The currencyTypeName to set.
242 */
243 public void setCurrencyTypeName(String disbVchrCurrencyTypeName) {
244 this.currencyTypeName = disbVchrCurrencyTypeName;
245 }
246
247 /**
248 * Gets the foreignCurrencyTypeName attribute. This field is here because the currency type field is
249 * presented in different places on screen, and value conflicts occur unless we have an alias.
250 *
251 * @return Returns the foreignCurrencyTypeName
252 */
253 public String getForeignCurrencyTypeName() {
254 return foreignCurrencyTypeName;
255 }
256
257
258 /**
259 * Sets the foreignCurrencyTypeName attribute. This field is here because the currency type field is
260 * presented in different places on screen, and value conflicts occur unless we have an alias.
261 *
262 * @param foreignCurrencyTypeName The foreignCurrencyTypeName to set.
263 */
264 public void setForeignCurrencyTypeName(String disbursementVoucherForeignCurrencyTypeName) {
265 this.foreignCurrencyTypeName = disbursementVoucherForeignCurrencyTypeName;
266 }
267
268 /**
269 * Gets the currencyTypeCode attribute.
270 *
271 * @return Returns the currencyTypeCode
272 */
273 public String getCurrencyTypeCode() {
274 return currencyTypeCode;
275 }
276
277
278 /**
279 * Sets the currencyTypeCode attribute.
280 *
281 * @param currencyTypeCode The currencyTypeCode to set.
282 */
283 public void setCurrencyTypeCode(String disbVchrCurrencyTypeCode) {
284 this.currencyTypeCode = disbVchrCurrencyTypeCode;
285 }
286
287 /**
288 * Gets the foreignCurrencyTypeCode attribute. This field is here because the currency type field is
289 * presented in different places on screen, and value conflicts occur unless we have an alias.
290 *
291 * @return Returns the foreignCurrencyTypeCode
292 */
293 public String getForeignCurrencyTypeCode() {
294 return foreignCurrencyTypeCode;
295 }
296
297 /**
298 * Sets the foreignCurrencyTypeCode attribute. This field is here because the currency type field is
299 * presented in different places on screen, and value conflicts occur unless we have an alias.
300 *
301 * @param foreignCurrencyTypeCode The foreignCurrencyTypeCode to set.
302 */
303 public void setForeignCurrencyTypeCode(String disbursementVoucherForeignCurrencyTypeCode) {
304 this.foreignCurrencyTypeCode = disbursementVoucherForeignCurrencyTypeCode;
305 }
306
307 /**
308 * Gets the wireTransferFeeWaiverIndicator attribute.
309 *
310 * @return Returns the wireTransferFeeWaiverIndicator
311 */
312 public boolean isWireTransferFeeWaiverIndicator() {
313 return wireTransferFeeWaiverIndicator;
314 }
315
316
317 /**
318 * Sets the wireTransferFeeWaiverIndicator attribute.
319 *
320 * @param wireTransferFeeWaiverIndicator The wireTransferFeeWaiverIndicator to set.
321 */
322 public void setWireTransferFeeWaiverIndicator(boolean disbursementVoucherWireTransferFeeWaiverIndicator) {
323 this.wireTransferFeeWaiverIndicator = disbursementVoucherWireTransferFeeWaiverIndicator;
324 }
325
326 /**
327 * Gets the payeeAccountName attribute.
328 *
329 * @return Returns the payeeAccountName
330 */
331 public String getPayeeAccountName() {
332 return payeeAccountName;
333 }
334
335
336 /**
337 * Sets the payeeAccountName attribute.
338 *
339 * @param payeeAccountName The payeeAccountName to set.
340 */
341 public void setPayeeAccountName(String disbursementVoucherPayeeAccountName) {
342 this.payeeAccountName = disbursementVoucherPayeeAccountName;
343 }
344
345 /**
346 * Gets the automatedClearingHouseProfileNumber attribute.
347 *
348 * @return Returns the automatedClearingHouseProfileNumber
349 */
350 public String getAutomatedClearingHouseProfileNumber() {
351 return automatedClearingHouseProfileNumber;
352 }
353
354
355 /**
356 * Sets the automatedClearingHouseProfileNumber attribute.
357 *
358 * @param automatedClearingHouseProfileNumber The automatedClearingHouseProfileNumber to
359 * set.
360 */
361 public void setAutomatedClearingHouseProfileNumber(String disbursementVoucherAutomatedClearingHouseProfileNumber) {
362 this.automatedClearingHouseProfileNumber = disbursementVoucherAutomatedClearingHouseProfileNumber;
363 }
364
365 public void setDisbVchrForeignBankIndicatorName(String name) {
366 }
367
368 /**
369 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
370 */
371 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
372 LinkedHashMap m = new LinkedHashMap();
373 m.put(KFSPropertyConstants.DOCUMENT_NUMBER, this.documentNumber);
374 return m;
375 }
376
377 }