Subversion Repositories SmartDukaan

Rev

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

Rev 2126 Rev 2252
Line 38... Line 38...
38
    private int itemStatusValue;
38
    private int itemStatusValue;
39
    private String bestDealsText;
39
    private String bestDealsText;
40
    private double bestDealsValue = -1;
40
    private double bestDealsValue = -1;
41
    
41
    
42
    private long bestSellingRank = -1;
42
    private long bestSellingRank = -1;
43
    private boolean defaultForEntity;
43
    private boolean defaultForEntity, risky;
44
    
44
 
45
    private Map<String, String> otherInfo;
45
    private Map<String, String> otherInfo;
46
    private Map<Long, Long> availability;
46
    private Map<Long, Long> availability;
47
    
47
    
48
    //private Map<Long, double[]> vendorPricings;
48
    //private Map<Long, double[]> vendorPricings;
49
    private Map<Long, VendorPricings> vendorPricesMap;
49
    private Map<Long, VendorPricings> vendorPricesMap;
Line 61... Line 61...
61
            String featureDescription, 
61
            String featureDescription, 
62
            double mrp, double mop, double sellingPrice, double dealerPrice, double weight,
62
            double mrp, double mop, double sellingPrice, double dealerPrice, double weight,
63
            long addedOn, long startDate, long retireDate, long updatedOn,
63
            long addedOn, long startDate, long retireDate, long updatedOn,
64
            String itemStatus, int itemStatusValue,
64
            String itemStatus, int itemStatusValue,
65
            Map<String, String> otherInfo,
65
            Map<String, String> otherInfo,
66
            String bestDealsText, double bestDealsValue, long bestSellingRank, boolean defaultForEntity, 
66
            String bestDealsText, double bestDealsValue, long bestSellingRank, boolean defaultForEntity, boolean risky,
67
            Map<Long, Long> availability, Map<Long,VendorPricings> vendorPricesMap, Map<Long, VendorItemMapping> vendorMappingsMap) {
67
            Map<Long, Long> availability, Map<Long,VendorPricings> vendorPricesMap, Map<Long, VendorItemMapping> vendorMappingsMap) {
68
        this();
68
        this();
69
        this.id = id;
69
        this.id = id;
70
        this.setProductGroup(productGroup);
70
        this.setProductGroup(productGroup);
71
        this.brand = brand;
71
        this.brand = brand;
Line 92... Line 92...
92
        this.otherInfo = otherInfo;
92
        this.otherInfo = otherInfo;
93
        this.bestDealsText = bestDealsText;
93
        this.bestDealsText = bestDealsText;
94
        this.bestDealsValue = bestDealsValue;
94
        this.bestDealsValue = bestDealsValue;
95
        this.bestSellingRank = bestSellingRank;
95
        this.bestSellingRank = bestSellingRank;
96
        this.defaultForEntity = defaultForEntity;
96
        this.defaultForEntity = defaultForEntity;
-
 
97
        this.risky = risky;
97
        
98
        
98
        this.availability = availability;
99
        this.availability = availability;
99
        
100
        
100
        this.vendorPricesMap = vendorPricesMap;
101
        this.vendorPricesMap = vendorPricesMap;
101
        this.vendorMappingsMap = vendorMappingsMap;
102
        this.vendorMappingsMap = vendorMappingsMap;
Line 362... Line 363...
362
    }
363
    }
363
 
364
 
364
    public void setItemStatusValue(int itemStatusValue) {
365
    public void setItemStatusValue(int itemStatusValue) {
365
        this.itemStatusValue = itemStatusValue;
366
        this.itemStatusValue = itemStatusValue;
366
    }
367
    }
-
 
368
    
-
 
369
    public boolean isRisky() {
-
 
370
        return risky;
-
 
371
    }
-
 
372
 
-
 
373
    public void setRisky(boolean isRisky) {
-
 
374
        this.risky = isRisky;
-
 
375
    }
367
 
376
 
368
}
377
}