| Line 1... |
Line 1... |
| 1 |
package in.shop2020.catalog.dashboard.shared;
|
1 |
package in.shop2020.catalog.dashboard.shared;
|
| 2 |
|
2 |
|
| 3 |
import in.shop2020.model.v1.inventory.ItemStockPurchaseParams;
|
- |
|
| 4 |
|
- |
|
| 5 |
import java.io.Serializable;
|
3 |
import java.io.Serializable;
|
| 6 |
import java.util.List;
|
4 |
import java.util.List;
|
| 7 |
import java.util.Map;
|
5 |
import java.util.Map;
|
| 8 |
|
6 |
|
| 9 |
import com.google.gwt.user.client.rpc.IsSerializable;
|
7 |
import com.google.gwt.user.client.rpc.IsSerializable;
|
| Line 44... |
Line 42... |
| 44 |
private String bestDealsDetailsLink;
|
42 |
private String bestDealsDetailsLink;
|
| 45 |
private Double bestDealsValue;
|
43 |
private Double bestDealsValue;
|
| 46 |
private Long bestSellingRank;
|
44 |
private Long bestSellingRank;
|
| 47 |
private Integer numOfDaysStock;
|
45 |
private Integer numOfDaysStock;
|
| 48 |
private Long minStockLevel;
|
46 |
private Long minStockLevel;
|
| 49 |
private String lastNdaySale;
|
47 |
private Map<Long,String> saleHistory;
|
| 50 |
private Long freebieItemId;
|
48 |
private Long freebieItemId;
|
| 51 |
private boolean defaultForEntity, risky, warehouseStickiness, hasItemNo, itemType, showSellingPrice;
|
49 |
private boolean defaultForEntity, risky, warehouseStickiness, hasItemNo, itemType, showSellingPrice;
|
| 52 |
private String asin;
|
50 |
private String asin;
|
| 53 |
private Long holdInventory;
|
51 |
private Long holdInventory;
|
| 54 |
private Long defaultInventory;
|
52 |
private Long defaultInventory;
|
| Line 107... |
Line 105... |
| 107 |
Long preferredInsurer,
|
105 |
Long preferredInsurer,
|
| 108 |
Map<Long, ItemInventory> itemInventory,
|
106 |
Map<Long, ItemInventory> itemInventory,
|
| 109 |
Map<Long,VendorPricings> vendorPricesMap,
|
107 |
Map<Long,VendorPricings> vendorPricesMap,
|
| 110 |
Map<String, VendorItemMapping> vendorKeysMap,
|
108 |
Map<String, VendorItemMapping> vendorKeysMap,
|
| 111 |
Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
|
109 |
Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
|
| 112 |
Integer numOfDaysStock, Long minStockLevel, String lastNdaySale, Long freebieItemId,String asin) {
|
110 |
Integer numOfDaysStock, Long minStockLevel, Map<Long,String> saleHistory, Long freebieItemId,String asin) {
|
| 113 |
this();
|
111 |
this();
|
| 114 |
this.id = id;
|
112 |
this.id = id;
|
| 115 |
this.productGroup = productGroup;
|
113 |
this.productGroup = productGroup;
|
| 116 |
this.brand = brand;
|
114 |
this.brand = brand;
|
| 117 |
this.modelNumber = modelNumber;
|
115 |
this.modelNumber = modelNumber;
|
| Line 155... |
Line 153... |
| 155 |
this.sourcePricesMap = sourcePricesMap;
|
153 |
this.sourcePricesMap = sourcePricesMap;
|
| 156 |
this.similarItems = similarItems;
|
154 |
this.similarItems = similarItems;
|
| 157 |
this.vouchersMap = vouchersMap;
|
155 |
this.vouchersMap = vouchersMap;
|
| 158 |
this.numOfDaysStock = numOfDaysStock;
|
156 |
this.numOfDaysStock = numOfDaysStock;
|
| 159 |
this.minStockLevel = minStockLevel;
|
157 |
this.minStockLevel = minStockLevel;
|
| 160 |
this.lastNdaySale = lastNdaySale;
|
158 |
this.saleHistory = saleHistory;
|
| 161 |
this.freebieItemId = freebieItemId;
|
159 |
this.freebieItemId = freebieItemId;
|
| 162 |
this.asin = asin;
|
160 |
this.asin = asin;
|
| 163 |
}
|
161 |
}
|
| 164 |
public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
|
162 |
public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
|
| 165 |
String category, Long categoryId, String comments,
|
163 |
String category, Long categoryId, String comments,
|
| Line 178... |
Line 176... |
| 178 |
Long preferredInsurer,
|
176 |
Long preferredInsurer,
|
| 179 |
Map<Long, ItemInventory> itemInventory,
|
177 |
Map<Long, ItemInventory> itemInventory,
|
| 180 |
Map<Long,VendorPricings> vendorPricesMap,
|
178 |
Map<Long,VendorPricings> vendorPricesMap,
|
| 181 |
Map<String, VendorItemMapping> vendorKeysMap,
|
179 |
Map<String, VendorItemMapping> vendorKeysMap,
|
| 182 |
Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
|
180 |
Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
|
| 183 |
Integer numOfDaysStock, Long minStockLevel, String lastNdaySale, Long freebieItemId,String asin,Long holdInventory,Long defaultInventory) {
|
181 |
Integer numOfDaysStock, Long minStockLevel, Map<Long,String> saleHistory, Long freebieItemId,String asin,Long holdInventory,Long defaultInventory) {
|
| 184 |
this();
|
182 |
this();
|
| 185 |
this.id = id;
|
183 |
this.id = id;
|
| 186 |
this.productGroup = productGroup;
|
184 |
this.productGroup = productGroup;
|
| 187 |
this.brand = brand;
|
185 |
this.brand = brand;
|
| 188 |
this.modelNumber = modelNumber;
|
186 |
this.modelNumber = modelNumber;
|
| Line 226... |
Line 224... |
| 226 |
this.sourcePricesMap = sourcePricesMap;
|
224 |
this.sourcePricesMap = sourcePricesMap;
|
| 227 |
this.similarItems = similarItems;
|
225 |
this.similarItems = similarItems;
|
| 228 |
this.vouchersMap = vouchersMap;
|
226 |
this.vouchersMap = vouchersMap;
|
| 229 |
this.numOfDaysStock = numOfDaysStock;
|
227 |
this.numOfDaysStock = numOfDaysStock;
|
| 230 |
this.minStockLevel = minStockLevel;
|
228 |
this.minStockLevel = minStockLevel;
|
| 231 |
this.lastNdaySale = lastNdaySale;
|
229 |
this.saleHistory = saleHistory;
|
| 232 |
this.freebieItemId = freebieItemId;
|
230 |
this.freebieItemId = freebieItemId;
|
| 233 |
this.asin = asin;
|
231 |
this.asin = asin;
|
| 234 |
this.holdInventory = holdInventory;
|
232 |
this.holdInventory = holdInventory;
|
| 235 |
this.defaultInventory = defaultInventory;
|
233 |
this.defaultInventory = defaultInventory;
|
| 236 |
}
|
234 |
}
|
| Line 579... |
Line 577... |
| 579 |
|
577 |
|
| 580 |
public void setMinStockLevel(Long minStockLevel) {
|
578 |
public void setMinStockLevel(Long minStockLevel) {
|
| 581 |
this.minStockLevel = minStockLevel;
|
579 |
this.minStockLevel = minStockLevel;
|
| 582 |
}
|
580 |
}
|
| 583 |
|
581 |
|
| 584 |
public String getLastNdaySale() {
|
582 |
public Map<Long,String> getSaleHistory() {
|
| 585 |
return lastNdaySale;
|
583 |
return saleHistory;
|
| 586 |
}
|
584 |
}
|
| 587 |
|
585 |
|
| 588 |
public void setLastNdaySale(String lastNdaySale) {
|
586 |
public void setLastNdaySale(Map<Long,String> saleHistory) {
|
| 589 |
this.lastNdaySale = lastNdaySale;
|
587 |
this.saleHistory = saleHistory;
|
| 590 |
}
|
588 |
}
|
| 591 |
|
589 |
|
| 592 |
public void setBestDealsDetailsText(String bestDealsDetailsText) {
|
590 |
public void setBestDealsDetailsText(String bestDealsDetailsText) {
|
| 593 |
this.bestDealsDetailsText = bestDealsDetailsText;
|
591 |
this.bestDealsDetailsText = bestDealsDetailsText;
|
| 594 |
}
|
592 |
}
|