Subversion Repositories SmartDukaan

Rev

Rev 9842 | Rev 11671 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9842 Rev 10484
Line 79... Line 79...
79
    private Map<Long, VendorPricings> vendorPricesMap;
79
    private Map<Long, VendorPricings> vendorPricesMap;
80
    private Map<String, VendorItemMapping> vendorKeysMap;
80
    private Map<String, VendorItemMapping> vendorKeysMap;
81
    private Map<Long, SourcePricings> sourcePricesMap;
81
    private Map<Long, SourcePricings> sourcePricesMap;
82
    private Map<Long, Item> similarItems;
82
    private Map<Long, Item> similarItems;
83
    private Map<String, VoucherItemMapping> vouchersMap;
83
    private Map<String, VoucherItemMapping> vouchersMap;
-
 
84
    private Map<String,String> stateNameVatPercentageMap;
84
    public static final String KEY_SEPARATOR= "#";
85
    public static final String KEY_SEPARATOR= "#";
85
    
86
    
86
    private static final long serialVersionUID = -2982668732181655698L;
87
    private static final long serialVersionUID = -2982668732181655698L;
87
 
88
 
88
    public Item() {
89
    public Item() {
Line 232... Line 233...
232
        this.freebieItemId = freebieItemId;
233
        this.freebieItemId = freebieItemId;
233
        this.asin = asin;
234
        this.asin = asin;
234
        this.holdInventory = holdInventory;
235
        this.holdInventory = holdInventory;
235
        this.defaultInventory = defaultInventory;
236
        this.defaultInventory = defaultInventory;
236
    }
237
    }
-
 
238
    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
-
 
239
            String category, Long categoryId, String comments,
-
 
240
            Long catalogItemId,
-
 
241
            Long featureId,
-
 
242
            String featureDescription, 
-
 
243
            Double mrp,
-
 
244
            Double sellingPrice,
-
 
245
            Double weight,
-
 
246
            Long addedOn, Long startDate, Long comingSoonStartDate, Long expectedArrivalDate, Long retireDate, Long updatedOn,
-
 
247
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
-
 
248
            String bestDealsText,String bestDealsDetailsText,String bestDealsDetailsLink, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
-
 
249
            Integer expectedDelay,
-
 
250
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType,boolean showSellingPrice, boolean holdOverride,
-
 
251
            Long prefferedVendor,
-
 
252
            Long preferredInsurer,
-
 
253
            Map<Long, ItemInventory> itemInventory,
-
 
254
            Map<Long,VendorPricings> vendorPricesMap, 
-
 
255
            Map<String, VendorItemMapping> vendorKeysMap, 
-
 
256
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
-
 
257
            Integer numOfDaysStock, Long minStockLevel, Map<Long,String> saleHistory, Long freebieItemId,String asin,Long holdInventory,Long defaultInventory,Map<String,String> stateNameVatPercentageMap) {
-
 
258
        this();
-
 
259
        this.id = id;
-
 
260
        this.productGroup = productGroup;
-
 
261
        this.brand = brand;
-
 
262
        this.modelNumber = modelNumber;
-
 
263
        this.modelName = modelName;
-
 
264
        this.color = color;
-
 
265
        this.contentCategory = category;
-
 
266
        this.contentCategoryId = categoryId;
-
 
267
        this.comments = comments;
-
 
268
        this.catalogItemId = catalogItemId;
-
 
269
        this.featureId = featureId;
-
 
270
        this.featureDescription = featureDescription;
-
 
271
        this.mrp = mrp;
-
 
272
        this.sellingPrice = sellingPrice;
-
 
273
        this.weight = weight;
-
 
274
        this.addedOn = addedOn;
-
 
275
        this.startDate = startDate;
-
 
276
        this.comingSoonStartDate = comingSoonStartDate;
-
 
277
        this.expectedArrivalDate = expectedArrivalDate;
-
 
278
        this.retireDate = retireDate;
-
 
279
        this.updatedOn = updatedOn;
-
 
280
        this.itemStatus = itemStatus;
-
 
281
        this.itemStatusValue = itemStatusValue;
-
 
282
        this.itemStatusDesc = itemStatusDesc;
-
 
283
        this.bestDealsText = bestDealsText;
-
 
284
        this.bestDealsDetailsText = bestDealsDetailsText;
-
 
285
        this.bestDealsDetailsLink = bestDealsDetailsLink;
-
 
286
        this.bestDealsValue = bestDealsValue;
-
 
287
        this.bestSellingRank = bestSellingRank;
-
 
288
        this.defaultForEntity = defaultForEntity;
-
 
289
        this.risky = risky;
-
 
290
        this.expectedDelay = expectedDelay;
-
 
291
        this.warehouseStickiness = warehouseStickiness;
-
 
292
        this.hasItemNo = hasItemNo;
-
 
293
        this.showSellingPrice = showSellingPrice;
-
 
294
        this.holdOverride = holdOverride;
-
 
295
        this.setItemType(itemType);
-
 
296
        this.preferredVendor = prefferedVendor;
-
 
297
        this.preferredInsurer = preferredInsurer;        
-
 
298
        this.itemInventory = itemInventory;
-
 
299
        this.vendorPricesMap = vendorPricesMap;
-
 
300
        this.vendorKeysMap = vendorKeysMap;
-
 
301
        this.sourcePricesMap = sourcePricesMap;
-
 
302
        this.similarItems = similarItems;
-
 
303
        this.vouchersMap = vouchersMap;
-
 
304
        this.numOfDaysStock = numOfDaysStock;
-
 
305
        this.minStockLevel = minStockLevel;
-
 
306
        this.saleHistory = saleHistory;
-
 
307
        this.freebieItemId = freebieItemId;
-
 
308
        this.asin = asin;
-
 
309
        this.holdInventory = holdInventory;
-
 
310
        this.defaultInventory = defaultInventory;
-
 
311
        this.stateNameVatPercentageMap = stateNameVatPercentageMap;
-
 
312
    }
-
 
313
 
237
 
314
 
238
    public long getId() {
315
    public long getId() {
239
        return id;
316
        return id;
240
    }
317
    }
241
 
318
 
Line 642... Line 719...
642
 
719
 
643
	public boolean isHoldOverride() {
720
	public boolean isHoldOverride() {
644
		return holdOverride;
721
		return holdOverride;
645
	}
722
	}
646
 
723
 
-
 
724
	public Map<String, String> getStateNameVatPercentageMap() {
-
 
725
		return stateNameVatPercentageMap;
-
 
726
	}
-
 
727
 
-
 
728
	public void setStateNameVatPercentageMap(
-
 
729
			Map<String, String> stateNameVatPercentageMap) {
-
 
730
		this.stateNameVatPercentageMap = stateNameVatPercentageMap;
-
 
731
	}
-
 
732
 
647
	
733
	
648
}
734
}