| Line 64... |
Line 64... |
| 64 |
", finalPayout=" + finalPayout +
|
64 |
", finalPayout=" + finalPayout +
|
| 65 |
", payoutType=" + payoutType +
|
65 |
", payoutType=" + payoutType +
|
| 66 |
'}';
|
66 |
'}';
|
| 67 |
}
|
67 |
}
|
| 68 |
|
68 |
|
| 69 |
@Override
|
- |
|
| 70 |
public boolean equals(Object o) {
|
- |
|
| 71 |
if (this == o) return true;
|
- |
|
| 72 |
if (o == null || getClass() != o.getClass()) return false;
|
- |
|
| 73 |
OfferRowModel that = (OfferRowModel) o;
|
- |
|
| 74 |
return fofoId == that.fofoId && maxBrandSharePercentage == that.maxBrandSharePercentage && Double.compare(that.payoutPurchaseValue, payoutPurchaseValue) == 0 && Double.compare(that.totalBasePurchaseValue, totalBasePurchaseValue) == 0 && Double.compare(that.eligibleSaleDp, eligibleSaleDp) == 0 && Double.compare(that.totalSale, totalSale) == 0 && Double.compare(that.eligibleSale, eligibleSale) == 0 && Double.compare(that.achievedTarget, achievedTarget) == 0 && Double.compare(that.nextTarget, nextTarget) == 0 && soldValue == that.soldValue && currentPayoutTarget == that.currentPayoutTarget && payoutTargetAchieved == that.payoutTargetAchieved && Float.compare(that.payoutValue, payoutValue) == 0 && Float.compare(that.payoutValueDp, payoutValueDp) == 0 && Double.compare(that.finalPayout, finalPayout) == 0 && Objects.equals(storeName, that.storeName) && Objects.equals(baseCriteria, that.baseCriteria) && Objects.equals(eligibleImeis, that.eligibleImeis) && targetType == that.targetType && Objects.equals(payoutCriteria, that.payoutCriteria) && Objects.equals(payout, that.payout) && payoutType == that.payoutType;
|
- |
|
| 75 |
}
|
- |
|
| 76 |
|
- |
|
| 77 |
@Override
|
- |
|
| 78 |
public int hashCode() {
|
- |
|
| 79 |
return Objects.hash(storeName, fofoId, maxBrandSharePercentage, payoutPurchaseValue, totalBasePurchaseValue, eligibleSaleDp, baseCriteria, totalSale, eligibleSale, eligibleImeis, achievedTarget, nextTarget, soldValue, targetType, currentPayoutTarget, payoutTargetAchieved, payoutValue, payoutValueDp, payoutCriteria, payout, finalPayout, payoutType);
|
- |
|
| 80 |
}
|
- |
|
| 81 |
|
- |
|
| 82 |
public List<String> getEligibleImeis() {
|
69 |
public List<String> getEligibleImeis() {
|
| 83 |
return eligibleImeis;
|
70 |
return eligibleImeis;
|
| 84 |
}
|
71 |
}
|
| 85 |
|
72 |
|
| 86 |
public void setEligibleImeis(List<String> eligibleImeis) {
|
73 |
public void setEligibleImeis(List<String> eligibleImeis) {
|
| Line 248... |
Line 235... |
| 248 |
}
|
235 |
}
|
| 249 |
|
236 |
|
| 250 |
public void setTotalBasePurchaseValue(double totalBasePurchaseValue) {
|
237 |
public void setTotalBasePurchaseValue(double totalBasePurchaseValue) {
|
| 251 |
this.totalBasePurchaseValue = totalBasePurchaseValue;
|
238 |
this.totalBasePurchaseValue = totalBasePurchaseValue;
|
| 252 |
}
|
239 |
}
|
| - |
|
240 |
|
| - |
|
241 |
private List<String> billingPendingImeis;
|
| - |
|
242 |
|
| - |
|
243 |
public List<String> getBillingPendingImeis() {
|
| - |
|
244 |
return billingPendingImeis;
|
| - |
|
245 |
}
|
| - |
|
246 |
|
| - |
|
247 |
public void setBillingPendingImeis(List<String> billingPendingImeis) {
|
| - |
|
248 |
this.billingPendingImeis = billingPendingImeis;
|
| - |
|
249 |
}
|
| - |
|
250 |
|
| - |
|
251 |
@Override
|
| - |
|
252 |
public boolean equals(Object o) {
|
| - |
|
253 |
if (this == o) return true;
|
| - |
|
254 |
if (o == null || getClass() != o.getClass()) return false;
|
| - |
|
255 |
OfferRowModel that = (OfferRowModel) o;
|
| - |
|
256 |
return fofoId == that.fofoId && maxBrandSharePercentage == that.maxBrandSharePercentage && Double.compare(that.payoutPurchaseValue, payoutPurchaseValue) == 0 && Double.compare(that.totalBasePurchaseValue, totalBasePurchaseValue) == 0 && Double.compare(that.eligibleSaleDp, eligibleSaleDp) == 0 && Double.compare(that.totalSale, totalSale) == 0 && Double.compare(that.eligibleSale, eligibleSale) == 0 && Double.compare(that.achievedTarget, achievedTarget) == 0 && Double.compare(that.nextTarget, nextTarget) == 0 && soldValue == that.soldValue && currentPayoutTarget == that.currentPayoutTarget && payoutTargetAchieved == that.payoutTargetAchieved && Float.compare(that.payoutValue, payoutValue) == 0 && Float.compare(that.payoutValueDp, payoutValueDp) == 0 && Double.compare(that.payout, payout) == 0 && Double.compare(that.finalPayout, finalPayout) == 0 && Objects.equals(storeName, that.storeName) && Objects.equals(baseCriteria, that.baseCriteria) && Objects.equals(eligibleImeis, that.eligibleImeis) && targetType == that.targetType && Objects.equals(payoutCriteria, that.payoutCriteria) && payoutType == that.payoutType && Objects.equals(billingPendingImeis, that.billingPendingImeis);
|
| - |
|
257 |
}
|
| - |
|
258 |
|
| - |
|
259 |
@Override
|
| - |
|
260 |
public int hashCode() {
|
| - |
|
261 |
return Objects.hash(storeName, fofoId, maxBrandSharePercentage, payoutPurchaseValue, totalBasePurchaseValue, eligibleSaleDp, baseCriteria, totalSale, eligibleSale, eligibleImeis, achievedTarget, nextTarget, soldValue, targetType, currentPayoutTarget, payoutTargetAchieved, payoutValue, payoutValueDp, payoutCriteria, payout, finalPayout, payoutType, billingPendingImeis);
|
| - |
|
262 |
}
|
| 253 |
}
|
263 |
}
|
| 254 |
|
264 |
|