Subversion Repositories SmartDukaan

Rev

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

Rev 10484 Rev 11671
Line 48... Line 48...
48
    private Long freebieItemId;
48
    private Long freebieItemId;
49
    private boolean defaultForEntity, risky, warehouseStickiness, hasItemNo, itemType, showSellingPrice, holdOverride;
49
    private boolean defaultForEntity, risky, warehouseStickiness, hasItemNo, itemType, showSellingPrice, holdOverride;
50
    private String asin;
50
    private String asin;
51
    private Long holdInventory;
51
    private Long holdInventory;
52
    private Long defaultInventory;
52
    private Long defaultInventory;
-
 
53
    private PrivateDeal privateDeal;
53
    
54
    
-
 
55
    
-
 
56
    public PrivateDeal getPrivateDeal() {
-
 
57
		return privateDeal;
-
 
58
	}
-
 
59
 
-
 
60
	public void setPrivateDeal(PrivateDeal privateDeal) {
-
 
61
		this.privateDeal = privateDeal;
-
 
62
	}
-
 
63
 
54
    public String getAsin() {
64
	public String getAsin() {
55
		return asin;
65
		return asin;
56
	}
66
	}
57
 
67
 
58
	public void setAsin(String asin) {
68
	public void setAsin(String asin) {
59
		this.asin = asin;
69
		this.asin = asin;
Line 252... Line 262...
252
            Long preferredInsurer,
262
            Long preferredInsurer,
253
            Map<Long, ItemInventory> itemInventory,
263
            Map<Long, ItemInventory> itemInventory,
254
            Map<Long,VendorPricings> vendorPricesMap, 
264
            Map<Long,VendorPricings> vendorPricesMap, 
255
            Map<String, VendorItemMapping> vendorKeysMap, 
265
            Map<String, VendorItemMapping> vendorKeysMap, 
256
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
266
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
-
 
267
            Integer numOfDaysStock, Long minStockLevel, Map<Long,String> saleHistory, Long freebieItemId,String asin,Long holdInventory,Long defaultInventory,Map<String,String> stateNameVatPercentageMap,PrivateDeal privateDeal) {
-
 
268
        this();
-
 
269
        this.id = id;
-
 
270
        this.productGroup = productGroup;
-
 
271
        this.brand = brand;
-
 
272
        this.modelNumber = modelNumber;
-
 
273
        this.modelName = modelName;
-
 
274
        this.color = color;
-
 
275
        this.contentCategory = category;
-
 
276
        this.contentCategoryId = categoryId;
-
 
277
        this.comments = comments;
-
 
278
        this.catalogItemId = catalogItemId;
-
 
279
        this.featureId = featureId;
-
 
280
        this.featureDescription = featureDescription;
-
 
281
        this.mrp = mrp;
-
 
282
        this.sellingPrice = sellingPrice;
-
 
283
        this.weight = weight;
-
 
284
        this.addedOn = addedOn;
-
 
285
        this.startDate = startDate;
-
 
286
        this.comingSoonStartDate = comingSoonStartDate;
-
 
287
        this.expectedArrivalDate = expectedArrivalDate;
-
 
288
        this.retireDate = retireDate;
-
 
289
        this.updatedOn = updatedOn;
-
 
290
        this.itemStatus = itemStatus;
-
 
291
        this.itemStatusValue = itemStatusValue;
-
 
292
        this.itemStatusDesc = itemStatusDesc;
-
 
293
        this.bestDealsText = bestDealsText;
-
 
294
        this.bestDealsDetailsText = bestDealsDetailsText;
-
 
295
        this.bestDealsDetailsLink = bestDealsDetailsLink;
-
 
296
        this.bestDealsValue = bestDealsValue;
-
 
297
        this.bestSellingRank = bestSellingRank;
-
 
298
        this.defaultForEntity = defaultForEntity;
-
 
299
        this.risky = risky;
-
 
300
        this.expectedDelay = expectedDelay;
-
 
301
        this.warehouseStickiness = warehouseStickiness;
-
 
302
        this.hasItemNo = hasItemNo;
-
 
303
        this.showSellingPrice = showSellingPrice;
-
 
304
        this.holdOverride = holdOverride;
-
 
305
        this.setItemType(itemType);
-
 
306
        this.preferredVendor = prefferedVendor;
-
 
307
        this.preferredInsurer = preferredInsurer;        
-
 
308
        this.itemInventory = itemInventory;
-
 
309
        this.vendorPricesMap = vendorPricesMap;
-
 
310
        this.vendorKeysMap = vendorKeysMap;
-
 
311
        this.sourcePricesMap = sourcePricesMap;
-
 
312
        this.similarItems = similarItems;
-
 
313
        this.vouchersMap = vouchersMap;
-
 
314
        this.numOfDaysStock = numOfDaysStock;
-
 
315
        this.minStockLevel = minStockLevel;
-
 
316
        this.saleHistory = saleHistory;
-
 
317
        this.freebieItemId = freebieItemId;
-
 
318
        this.asin = asin;
-
 
319
        this.holdInventory = holdInventory;
-
 
320
        this.defaultInventory = defaultInventory;
-
 
321
        this.stateNameVatPercentageMap = stateNameVatPercentageMap;
-
 
322
        this.privateDeal = privateDeal;
-
 
323
    }
-
 
324
    
-
 
325
    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
-
 
326
            String category, Long categoryId, String comments,
-
 
327
            Long catalogItemId,
-
 
328
            Long featureId,
-
 
329
            String featureDescription, 
-
 
330
            Double mrp,
-
 
331
            Double sellingPrice,
-
 
332
            Double weight,
-
 
333
            Long addedOn, Long startDate, Long comingSoonStartDate, Long expectedArrivalDate, Long retireDate, Long updatedOn,
-
 
334
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
-
 
335
            String bestDealsText,String bestDealsDetailsText,String bestDealsDetailsLink, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
-
 
336
            Integer expectedDelay,
-
 
337
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType,boolean showSellingPrice, boolean holdOverride,
-
 
338
            Long prefferedVendor,
-
 
339
            Long preferredInsurer,
-
 
340
            Map<Long, ItemInventory> itemInventory,
-
 
341
            Map<Long,VendorPricings> vendorPricesMap, 
-
 
342
            Map<String, VendorItemMapping> vendorKeysMap, 
-
 
343
            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) {
344
            Integer numOfDaysStock, Long minStockLevel, Map<Long,String> saleHistory, Long freebieItemId,String asin,Long holdInventory,Long defaultInventory,Map<String,String> stateNameVatPercentageMap) {
258
        this();
345
        this();
259
        this.id = id;
346
        this.id = id;
260
        this.productGroup = productGroup;
347
        this.productGroup = productGroup;
261
        this.brand = brand;
348
        this.brand = brand;
Line 310... Line 397...
310
        this.defaultInventory = defaultInventory;
397
        this.defaultInventory = defaultInventory;
311
        this.stateNameVatPercentageMap = stateNameVatPercentageMap;
398
        this.stateNameVatPercentageMap = stateNameVatPercentageMap;
312
    }
399
    }
313
 
400
 
314
 
401
 
-
 
402
 
315
    public long getId() {
403
    public long getId() {
316
        return id;
404
        return id;
317
    }
405
    }
318
 
406
 
319
    public void setId(long id) {
407
    public void setId(long id) {
Line 728... Line 816...
728
	public void setStateNameVatPercentageMap(
816
	public void setStateNameVatPercentageMap(
729
			Map<String, String> stateNameVatPercentageMap) {
817
			Map<String, String> stateNameVatPercentageMap) {
730
		this.stateNameVatPercentageMap = stateNameVatPercentageMap;
818
		this.stateNameVatPercentageMap = stateNameVatPercentageMap;
731
	}
819
	}
732
 
820
 
733
	
-
 
734
}
821
}