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.coa.businessobject.Account;
23 import org.kuali.ole.coa.businessobject.Chart;
24 import org.kuali.ole.sys.OLEPropertyConstants;
25 import org.kuali.rice.core.api.util.type.KualiDecimal;
26 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
27
28
29
30
31 public class SalesTax extends PersistableBusinessObjectBase {
32
33 private String documentNumber;
34 private String financialDocumentLineTypeCode;
35 private Integer financialDocumentLineNumber;
36 private String chartOfAccountsCode;
37 private String accountNumber;
38 private KualiDecimal financialDocumentGrossSalesAmount;
39 private KualiDecimal financialDocumentTaxableSalesAmount;
40 private Date financialDocumentSaleDate;
41
42 private Account account;
43 private Chart chartOfAccounts;
44
45
46
47
48 public SalesTax() {
49
50 }
51
52
53
54
55
56
57 public String getDocumentNumber() {
58 return documentNumber;
59 }
60
61
62
63
64
65
66 public void setDocumentNumber(String documentNumber) {
67 this.documentNumber = documentNumber;
68 }
69
70
71
72
73
74
75
76 public String getFinancialDocumentLineTypeCode() {
77 return financialDocumentLineTypeCode;
78 }
79
80
81
82
83
84
85 public void setFinancialDocumentLineTypeCode(String financialDocumentLineTypeCode) {
86 this.financialDocumentLineTypeCode = financialDocumentLineTypeCode;
87 }
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 getChartOfAccountsCode() {
115 return chartOfAccountsCode;
116 }
117
118
119
120
121
122
123 public void setChartOfAccountsCode(String chartOfAccountsCode) {
124 this.chartOfAccountsCode = chartOfAccountsCode;
125 }
126
127
128
129
130
131
132
133 public String getAccountNumber() {
134 return accountNumber;
135 }
136
137
138
139
140
141
142 public void setAccountNumber(String accountNumber) {
143 this.accountNumber = accountNumber;
144 }
145
146
147
148
149
150
151
152 public KualiDecimal getFinancialDocumentGrossSalesAmount() {
153 return financialDocumentGrossSalesAmount;
154 }
155
156
157
158
159
160
161 public void setFinancialDocumentGrossSalesAmount(KualiDecimal financialDocumentGrossSalesAmount) {
162 this.financialDocumentGrossSalesAmount = financialDocumentGrossSalesAmount;
163 }
164
165
166
167
168
169
170
171 public KualiDecimal getFinancialDocumentTaxableSalesAmount() {
172 return financialDocumentTaxableSalesAmount;
173 }
174
175
176
177
178
179
180 public void setFinancialDocumentTaxableSalesAmount(KualiDecimal financialDocumentTaxableSalesAmount) {
181 this.financialDocumentTaxableSalesAmount = financialDocumentTaxableSalesAmount;
182 }
183
184
185
186
187
188
189
190 public Date getFinancialDocumentSaleDate() {
191 return financialDocumentSaleDate;
192 }
193
194
195
196
197
198
199 public void setFinancialDocumentSaleDate(Date financialDocumentSaleDate) {
200 this.financialDocumentSaleDate = financialDocumentSaleDate;
201 }
202
203
204
205
206
207
208
209 public Account getAccount() {
210 return account;
211 }
212
213
214
215
216
217
218
219 public void setAccount(Account account) {
220 this.account = account;
221 }
222
223
224
225
226
227
228 public Chart getChartOfAccounts() {
229 return chartOfAccounts;
230 }
231
232
233
234
235
236
237
238 public void setChartOfAccounts(Chart chartOfAccounts) {
239 this.chartOfAccounts = chartOfAccounts;
240 }
241
242
243
244
245 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
246 LinkedHashMap m = new LinkedHashMap();
247 m.put(OLEPropertyConstants.DOCUMENT_NUMBER, this.documentNumber);
248 m.put("financialDocumentLineTypeCode", this.financialDocumentLineTypeCode);
249 if (this.financialDocumentLineNumber != null) {
250 m.put("financialDocumentLineNumber", this.financialDocumentLineNumber.toString());
251 }
252 return m;
253 }
254 }