| Line 10... |
Line 10... |
| 10 |
private float cgstRate;
|
10 |
private float cgstRate;
|
| 11 |
private float cgstAmount;
|
11 |
private float cgstAmount;
|
| 12 |
private float sgstRate;
|
12 |
private float sgstRate;
|
| 13 |
private float sgstAmount;
|
13 |
private float sgstAmount;
|
| 14 |
private String hsnCode;
|
14 |
private String hsnCode;
|
| 15 |
private float itemTotal;
|
15 |
//private float itemTotal;
|
| 16 |
private String serialNumbers;
|
16 |
private String serialNumbers;
|
| 17 |
public String getDescription() {
|
17 |
public String getDescription() {
|
| 18 |
return description;
|
18 |
return description;
|
| 19 |
}
|
19 |
}
|
| 20 |
public void setDescription(String description) {
|
20 |
public void setDescription(String description) {
|
| Line 78... |
Line 78... |
| 78 |
return hsnCode;
|
78 |
return hsnCode;
|
| 79 |
}
|
79 |
}
|
| 80 |
public void setHsnCode(String hsnCode) {
|
80 |
public void setHsnCode(String hsnCode) {
|
| 81 |
this.hsnCode = hsnCode;
|
81 |
this.hsnCode = hsnCode;
|
| 82 |
}
|
82 |
}
|
| 83 |
public float getItemTotal() {
|
- |
|
| 84 |
return itemTotal;
|
- |
|
| 85 |
}
|
- |
|
| 86 |
public void setItemTotal(float itemTotal) {
|
- |
|
| 87 |
this.itemTotal = itemTotal;
|
- |
|
| 88 |
}
|
- |
|
| 89 |
|
83 |
|
| 90 |
public String getSerialNumbers() {
|
84 |
public String getSerialNumbers() {
|
| 91 |
return serialNumbers;
|
85 |
return serialNumbers;
|
| 92 |
}
|
86 |
}
|
| 93 |
public void setSerialNumbers(String serialNumbers) {
|
87 |
public void setSerialNumbers(String serialNumbers) {
|
| Line 102... |
Line 96... |
| 102 |
result = prime * result + Float.floatToIntBits(cgstRate);
|
96 |
result = prime * result + Float.floatToIntBits(cgstRate);
|
| 103 |
result = prime * result + ((description == null) ? 0 : description.hashCode());
|
97 |
result = prime * result + ((description == null) ? 0 : description.hashCode());
|
| 104 |
result = prime * result + ((hsnCode == null) ? 0 : hsnCode.hashCode());
|
98 |
result = prime * result + ((hsnCode == null) ? 0 : hsnCode.hashCode());
|
| 105 |
result = prime * result + Float.floatToIntBits(igstAmount);
|
99 |
result = prime * result + Float.floatToIntBits(igstAmount);
|
| 106 |
result = prime * result + Float.floatToIntBits(igstRate);
|
100 |
result = prime * result + Float.floatToIntBits(igstRate);
|
| 107 |
result = prime * result + Float.floatToIntBits(itemTotal);
|
101 |
//result = prime * result + Float.floatToIntBits(itemTotal);
|
| 108 |
result = prime * result + quantity;
|
102 |
result = prime * result + quantity;
|
| 109 |
result = prime * result + Float.floatToIntBits(rate);
|
103 |
result = prime * result + Float.floatToIntBits(rate);
|
| 110 |
result = prime * result + ((serialNumbers == null) ? 0 : serialNumbers.hashCode());
|
104 |
result = prime * result + ((serialNumbers == null) ? 0 : serialNumbers.hashCode());
|
| 111 |
result = prime * result + Float.floatToIntBits(sgstAmount);
|
105 |
result = prime * result + Float.floatToIntBits(sgstAmount);
|
| 112 |
result = prime * result + Float.floatToIntBits(sgstRate);
|
106 |
result = prime * result + Float.floatToIntBits(sgstRate);
|
| Line 139... |
Line 133... |
| 139 |
return false;
|
133 |
return false;
|
| 140 |
if (Float.floatToIntBits(igstAmount) != Float.floatToIntBits(other.igstAmount))
|
134 |
if (Float.floatToIntBits(igstAmount) != Float.floatToIntBits(other.igstAmount))
|
| 141 |
return false;
|
135 |
return false;
|
| 142 |
if (Float.floatToIntBits(igstRate) != Float.floatToIntBits(other.igstRate))
|
136 |
if (Float.floatToIntBits(igstRate) != Float.floatToIntBits(other.igstRate))
|
| 143 |
return false;
|
137 |
return false;
|
| 144 |
if (Float.floatToIntBits(itemTotal) != Float.floatToIntBits(other.itemTotal))
|
- |
|
| 145 |
return false;
|
- |
|
| 146 |
if (quantity != other.quantity)
|
138 |
if (quantity != other.quantity)
|
| 147 |
return false;
|
139 |
return false;
|
| 148 |
if (Float.floatToIntBits(rate) != Float.floatToIntBits(other.rate))
|
140 |
if (Float.floatToIntBits(rate) != Float.floatToIntBits(other.rate))
|
| 149 |
return false;
|
141 |
return false;
|
| 150 |
if (serialNumbers == null) {
|
142 |
if (serialNumbers == null) {
|
| Line 161... |
Line 153... |
| 161 |
@Override
|
153 |
@Override
|
| 162 |
public String toString() {
|
154 |
public String toString() {
|
| 163 |
return "CustomFofoOrderItem [description=" + description + ", quantity=" + quantity + ", rate=" + rate
|
155 |
return "CustomFofoOrderItem [description=" + description + ", quantity=" + quantity + ", rate=" + rate
|
| 164 |
+ ", amount=" + amount + ", igstRate=" + igstRate + ", igstAmount=" + igstAmount + ", cgstRate="
|
156 |
+ ", amount=" + amount + ", igstRate=" + igstRate + ", igstAmount=" + igstAmount + ", cgstRate="
|
| 165 |
+ cgstRate + ", cgstAmount=" + cgstAmount + ", sgstRate=" + sgstRate + ", sgstAmount=" + sgstAmount
|
157 |
+ cgstRate + ", cgstAmount=" + cgstAmount + ", sgstRate=" + sgstRate + ", sgstAmount=" + sgstAmount
|
| 166 |
+ ", hsnCode=" + hsnCode + ", itemTotal=" + itemTotal + ", serialNumbers=" + serialNumbers + "]";
|
158 |
+ ", hsnCode=" + hsnCode + ", serialNumbers=" + serialNumbers + "]";
|
| 167 |
}
|
159 |
}
|
| 168 |
|
160 |
|
| 169 |
|
161 |
|
| 170 |
}
|
162 |
}
|