| Line 19... |
Line 19... |
| 19 |
private String invoiceDate;
|
19 |
private String invoiceDate;
|
| 20 |
private List<CustomOrderItem> orderItems;
|
20 |
private List<CustomOrderItem> orderItems;
|
| 21 |
private List<CustomInsurancePolicy> insurancePolicies;
|
21 |
private List<CustomInsurancePolicy> insurancePolicies;
|
| 22 |
private List<CustomPaymentOption> paymentOptions;
|
22 |
private List<CustomPaymentOption> paymentOptions;
|
| 23 |
private List<String> tncs;
|
23 |
private List<String> tncs;
|
| - |
|
24 |
|
| - |
|
25 |
@Override
|
| - |
|
26 |
public boolean equals(Object o) {
|
| - |
|
27 |
if (this == o) return true;
|
| - |
|
28 |
if (o == null || getClass() != o.getClass()) return false;
|
| - |
|
29 |
InvoicePdfModel that = (InvoicePdfModel) o;
|
| - |
|
30 |
return isCancelled == that.isCancelled && Float.compare(totalAmount, that.totalAmount) == 0 && Objects.equals(title, that.title) && Objects.equals(auther, that.auther) && Objects.equals(customer, that.customer) && Objects.equals(customerAddressStateCode, that.customerAddressStateCode) && Objects.equals(irnModel, that.irnModel) && Objects.equals(retailer, that.retailer) && Objects.equals(invoiceNumber, that.invoiceNumber) && Objects.equals(invoiceDate, that.invoiceDate) && Objects.equals(orderItems, that.orderItems) && Objects.equals(insurancePolicies, that.insurancePolicies) && Objects.equals(paymentOptions, that.paymentOptions) && Objects.equals(tncs, that.tncs) && Objects.equals(creditTerms, that.creditTerms) && Objects.equals(eWayBillPdfModel, that.eWayBillPdfModel) && Objects.equals(partnerAddressStateCode, that.partnerAddressStateCode);
|
| - |
|
31 |
}
|
| - |
|
32 |
|
| - |
|
33 |
@Override
|
| - |
|
34 |
public int hashCode() {
|
| - |
|
35 |
return Objects.hash(title, auther, customer, customerAddressStateCode, irnModel, retailer, invoiceNumber, isCancelled, invoiceDate, orderItems, insurancePolicies, paymentOptions, tncs, creditTerms, totalAmount, eWayBillPdfModel, partnerAddressStateCode);
|
| - |
|
36 |
}
|
| - |
|
37 |
|
| - |
|
38 |
@Override
|
| - |
|
39 |
public String toString() {
|
| - |
|
40 |
return "InvoicePdfModel{" +
|
| - |
|
41 |
"title='" + title + '\'' +
|
| - |
|
42 |
", auther='" + auther + '\'' +
|
| - |
|
43 |
", customer=" + customer +
|
| - |
|
44 |
", customerAddressStateCode='" + customerAddressStateCode + '\'' +
|
| - |
|
45 |
", irnModel=" + irnModel +
|
| - |
|
46 |
", retailer=" + retailer +
|
| - |
|
47 |
", invoiceNumber='" + invoiceNumber + '\'' +
|
| - |
|
48 |
", isCancelled=" + isCancelled +
|
| - |
|
49 |
", invoiceDate='" + invoiceDate + '\'' +
|
| - |
|
50 |
", orderItems=" + orderItems +
|
| - |
|
51 |
", insurancePolicies=" + insurancePolicies +
|
| - |
|
52 |
", paymentOptions=" + paymentOptions +
|
| - |
|
53 |
", tncs=" + tncs +
|
| - |
|
54 |
", creditTerms=" + creditTerms +
|
| - |
|
55 |
", totalAmount=" + totalAmount +
|
| - |
|
56 |
", eWayBillPdfModel=" + eWayBillPdfModel +
|
| - |
|
57 |
", partnerAddressStateCode='" + partnerAddressStateCode + '\'' +
|
| - |
|
58 |
'}';
|
| - |
|
59 |
}
|
| - |
|
60 |
|
| - |
|
61 |
private List<String> creditTerms;
|
| 24 |
private float totalAmount;
|
62 |
private float totalAmount;
|
| 25 |
|
63 |
|
| 26 |
private EWayBillPdfModel eWayBillPdfModel;
|
64 |
private EWayBillPdfModel eWayBillPdfModel;
|
| 27 |
|
65 |
|
| 28 |
|
66 |
|
| Line 147... |
Line 185... |
| 147 |
|
185 |
|
| 148 |
public void setPaymentOptions(List<CustomPaymentOption> paymentOptions) {
|
186 |
public void setPaymentOptions(List<CustomPaymentOption> paymentOptions) {
|
| 149 |
this.paymentOptions = paymentOptions;
|
187 |
this.paymentOptions = paymentOptions;
|
| 150 |
}
|
188 |
}
|
| 151 |
|
189 |
|
| 152 |
@Override
|
- |
|
| 153 |
public boolean equals(Object o) {
|
- |
|
| 154 |
if (this == o) return true;
|
- |
|
| 155 |
if (o == null || getClass() != o.getClass()) return false;
|
- |
|
| 156 |
InvoicePdfModel that = (InvoicePdfModel) o;
|
- |
|
| 157 |
return isCancelled == that.isCancelled && Float.compare(totalAmount, that.totalAmount) == 0 && Objects.equals(title, that.title) && Objects.equals(auther, that.auther) && Objects.equals(customer, that.customer) && Objects.equals(customerAddressStateCode, that.customerAddressStateCode) && Objects.equals(irnModel, that.irnModel) && Objects.equals(retailer, that.retailer) && Objects.equals(invoiceNumber, that.invoiceNumber) && Objects.equals(invoiceDate, that.invoiceDate) && Objects.equals(orderItems, that.orderItems) && Objects.equals(insurancePolicies, that.insurancePolicies) && Objects.equals(paymentOptions, that.paymentOptions) && Objects.equals(tncs, that.tncs) && Objects.equals(partnerAddressStateCode, that.partnerAddressStateCode);
|
- |
|
| 158 |
}
|
- |
|
| 159 |
|
- |
|
| 160 |
@Override
|
- |
|
| 161 |
public int hashCode() {
|
- |
|
| 162 |
return Objects.hash(title, auther, customer, customerAddressStateCode, irnModel, retailer, invoiceNumber, isCancelled, invoiceDate, orderItems, insurancePolicies, paymentOptions, tncs, totalAmount, partnerAddressStateCode);
|
- |
|
| 163 |
}
|
- |
|
| 164 |
|
- |
|
| 165 |
public IrnModel getIrnModel() {
|
190 |
public IrnModel getIrnModel() {
|
| 166 |
return irnModel;
|
191 |
return irnModel;
|
| 167 |
}
|
192 |
}
|
| 168 |
|
193 |
|
| 169 |
public void setIrnModel(IrnModel irnModel) {
|
194 |
public void setIrnModel(IrnModel irnModel) {
|
| 170 |
this.irnModel = irnModel;
|
195 |
this.irnModel = irnModel;
|
| 171 |
}
|
196 |
}
|
| 172 |
|
197 |
|
| 173 |
@Override
|
- |
|
| 174 |
public String toString() {
|
198 |
public void setCreditTerms(List<String> creditTerms) {
|
| 175 |
return "InvoicePdfModel{" +
|
- |
|
| 176 |
"title='" + title + '\'' +
|
- |
|
| 177 |
", auther='" + auther + '\'' +
|
- |
|
| 178 |
", customer=" + customer +
|
- |
|
| 179 |
", customerAddressStateCode='" + customerAddressStateCode + '\'' +
|
- |
|
| 180 |
", irnModel=" + irnModel +
|
- |
|
| 181 |
", retailer=" + retailer +
|
199 |
this.creditTerms = creditTerms;
|
| 182 |
", invoiceNumber='" + invoiceNumber + '\'' +
|
- |
|
| 183 |
", isCancelled=" + isCancelled +
|
- |
|
| 184 |
", invoiceDate='" + invoiceDate + '\'' +
|
- |
|
| 185 |
", orderItems=" + orderItems +
|
- |
|
| 186 |
", insurancePolicies=" + insurancePolicies +
|
- |
|
| 187 |
", paymentOptions=" + paymentOptions +
|
- |
|
| 188 |
", tncs=" + tncs +
|
200 |
}
|
| - |
|
201 |
|
| 189 |
", totalAmount=" + totalAmount +
|
202 |
public List<String> getCreditTerms() {
|
| 190 |
", partnerAddressStateCode='" + partnerAddressStateCode + '\'' +
|
- |
|
| 191 |
'}';
|
203 |
return creditTerms;
|
| 192 |
}
|
204 |
}
|
| 193 |
}
|
205 |
}
|