1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.ole.fp.businessobject;
18
19 import java.sql.Date;
20 import java.util.LinkedHashMap;
21
22 import org.kuali.ole.sys.OLEPropertyConstants;
23 import org.kuali.rice.core.api.util.type.KualiDecimal;
24 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
25
26
27
28
29
30 public class CreditCardDetail extends PersistableBusinessObjectBase {
31 private String documentNumber;
32 private String financialDocumentTypeCode;
33 private Integer financialDocumentLineNumber;
34 private String financialDocumentCreditCardTypeCode;
35 private String financialDocumentCreditCardVendorNumber;
36 private Date creditCardDepositDate;
37 private String creditCardDepositReferenceNumber;
38 private KualiDecimal creditCardAdvanceDepositAmount;
39
40 private CreditCardType financialDocumentCreditCardType;
41 private CreditCardVendor financialDocumentCreditCardVendor;
42
43
44
45
46 public CreditCardDetail() {
47 super();
48
49 this.financialDocumentLineNumber = new Integer(1);
50 this.creditCardAdvanceDepositAmount = KualiDecimal.ZERO;
51 }
52
53
54
55
56
57
58 public String getDocumentNumber() {
59 return documentNumber;
60 }
61
62
63
64
65
66
67 public void setDocumentNumber(String documentNumber) {
68 this.documentNumber = documentNumber;
69 }
70
71
72
73
74
75
76
77 public String getFinancialDocumentTypeCode() {
78 return financialDocumentTypeCode;
79 }
80
81
82
83
84
85
86 public void setFinancialDocumentTypeCode(String financialDocumentTypeCode) {
87 this.financialDocumentTypeCode = financialDocumentTypeCode;
88 }
89
90
91
92
93
94
95 public Integer getFinancialDocumentLineNumber() {
96 return financialDocumentLineNumber;
97 }
98
99
100
101
102
103
104 public void setFinancialDocumentLineNumber(Integer financialDocumentLineNumber) {
105 this.financialDocumentLineNumber = financialDocumentLineNumber;
106 }
107
108
109
110
111
112
113
114 public String getFinancialDocumentCreditCardTypeCode() {
115 return financialDocumentCreditCardTypeCode;
116 }
117
118
119
120
121
122
123 public void setFinancialDocumentCreditCardTypeCode(String financialDocumentCreditCardTypeCode) {
124 this.financialDocumentCreditCardTypeCode = financialDocumentCreditCardTypeCode;
125 }
126
127
128
129
130
131
132
133 public String getFinancialDocumentCreditCardVendorNumber() {
134 return financialDocumentCreditCardVendorNumber;
135 }
136
137
138
139
140
141
142 public void setFinancialDocumentCreditCardVendorNumber(String financialDocumentCreditCardVendorNumber) {
143 this.financialDocumentCreditCardVendorNumber = financialDocumentCreditCardVendorNumber;
144 }
145
146
147
148
149
150
151
152 public Date getCreditCardDepositDate() {
153 return creditCardDepositDate;
154 }
155
156
157
158
159
160
161 public void setCreditCardDepositDate(Date creditCardDepositDate) {
162 this.creditCardDepositDate = creditCardDepositDate;
163 }
164
165
166
167
168
169
170
171 public String getCreditCardDepositReferenceNumber() {
172 return creditCardDepositReferenceNumber;
173 }
174
175
176
177
178
179
180 public void setCreditCardDepositReferenceNumber(String creditCardDepositReferenceNumber) {
181 this.creditCardDepositReferenceNumber = creditCardDepositReferenceNumber;
182 }
183
184
185
186
187
188
189
190 public KualiDecimal getCreditCardAdvanceDepositAmount() {
191 return creditCardAdvanceDepositAmount;
192 }
193
194
195
196
197
198
199 public void setCreditCardAdvanceDepositAmount(KualiDecimal creditCardAdvanceDepositAmount) {
200 this.creditCardAdvanceDepositAmount = creditCardAdvanceDepositAmount;
201 }
202
203
204
205
206 public CreditCardType getFinancialDocumentCreditCardType() {
207 return financialDocumentCreditCardType;
208 }
209
210
211
212
213
214 public void setFinancialDocumentCreditCardType(CreditCardType financialDocumentCreditCardType) {
215 this.financialDocumentCreditCardType = financialDocumentCreditCardType;
216 }
217
218
219
220
221 public CreditCardVendor getFinancialDocumentCreditCardVendor() {
222 return financialDocumentCreditCardVendor;
223 }
224
225
226
227
228 public void setFinancialDocumentCreditCardVendor(CreditCardVendor financialDocumentCreditCardVendor) {
229 this.financialDocumentCreditCardVendor = financialDocumentCreditCardVendor;
230 }
231
232
233
234
235 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
236 LinkedHashMap m = new LinkedHashMap();
237 m.put(OLEPropertyConstants.DOCUMENT_NUMBER, this.documentNumber);
238 m.put("financialDocumentTypeCode", this.financialDocumentTypeCode);
239 if (this.financialDocumentLineNumber != null) {
240 m.put("financialDocumentLineNumber", this.financialDocumentLineNumber.toString());
241 }
242 return m;
243 }
244 }