1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.sys.businessobject;
17
18 import java.math.BigDecimal;
19 import java.util.LinkedHashMap;
20
21 import org.kuali.rice.core.api.util.type.KualiDecimal;
22 import org.kuali.rice.krad.bo.TransientBusinessObjectBase;
23
24 public class TaxDetail extends TransientBusinessObjectBase {
25
26 private String rateCode;
27 private String rateName;
28 private BigDecimal taxRate;
29 private String typeCode;
30 private KualiDecimal taxAmount;
31 private String chartOfAccountsCode;
32 private String accountNumber;
33 private String financialObjectCode;
34
35 public TaxDetail() {
36 taxRate = BigDecimal.ZERO;
37 taxAmount = KualiDecimal.ZERO;
38 }
39
40 public String getAccountNumber() {
41 return accountNumber;
42 }
43
44 public void setAccountNumber(String accountNumber) {
45 this.accountNumber = accountNumber;
46 }
47
48 public String getChartOfAccountsCode() {
49 return chartOfAccountsCode;
50 }
51
52 public void setChartOfAccountsCode(String chartOfAccountsCode) {
53 this.chartOfAccountsCode = chartOfAccountsCode;
54 }
55
56 public String getFinancialObjectCode() {
57 return financialObjectCode;
58 }
59
60 public void setFinancialObjectCode(String financialObjectCode) {
61 this.financialObjectCode = financialObjectCode;
62 }
63
64 public String getRateCode() {
65 return rateCode;
66 }
67
68 public void setRateCode(String rateCode) {
69 this.rateCode = rateCode;
70 }
71
72 public String getRateName() {
73 return rateName;
74 }
75
76 public void setRateName(String rateName) {
77 this.rateName = rateName;
78 }
79
80 public BigDecimal getTaxRate() {
81 return taxRate;
82 }
83
84 public void setTaxRate(BigDecimal taxRate) {
85 this.taxRate = taxRate;
86 }
87
88 public KualiDecimal getTaxAmount() {
89 return taxAmount;
90 }
91
92 public void setTaxAmount(KualiDecimal taxAmount) {
93 this.taxAmount = taxAmount;
94 }
95
96 public String getTypeCode() {
97 return typeCode;
98 }
99
100 public void setTypeCode(String typeCode) {
101 this.typeCode = typeCode;
102 }
103
104
105 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
106
107 return null;
108 }
109
110 public String toString() {
111 return typeCode + "-" + rateCode + "-" + rateName + " " + taxRate.toString() + ":" + taxAmount.toString();
112 }
113
114 }