Subversion Repositories SmartDukaan

Rev

Rev 19754 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package in.shop2020.catalog.dashboard.shared;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Item bean to store item details, vendor prices map and vendor item keys map
 *
 */
public class Item implements IsSerializable, Serializable {
    
    private long id;
    
    private String productGroup;
    private String brand;
    private String modelNumber;
    private String modelName;
    private String color;
    private String contentCategory;
    private Long contentCategoryId;
    private int categoryItemId;
    private String comments;
    private Long catalogItemId;
    private Long featureId;
    private String featureDescription;
    private Double mrp;
    private Double sellingPrice;
    private Double weight;
    private Long addedOn;
    private Long updatedOn;
    private Long startDate;
    private Long retireDate;
    private Long comingSoonStartDate;
    private Long expectedArrivalDate;
    private String itemStatus;
    private String itemStatusDesc;
    private Integer itemStatusValue;
    private String bestDealsText;
    private String bestDealsDetailsText;
    private String bestDealsDetailsLink;
    private Double bestDealsValue;
    private Long bestSellingRank;
    private Integer numOfDaysStock;
    private Long minStockLevel;
    private Map<Long,String> saleHistory;
    private Long freebieItemId;
    private boolean defaultForEntity, risky, warehouseStickiness, hasItemNo, itemType, showSellingPrice, holdOverride;
    private String asin;
    private Long holdInventory;
    private Long defaultInventory;
    private PrivateDeal privateDeal;
    private Long packQuantity;
    private Long quantityStep;
        private Long minimumBuyQuantity;
        private Long maximumBuyQuantity;
        private Double dealPrice;
        private String hsnCode;
    
        public Long getMaximumBuyQuantity() {
                return maximumBuyQuantity;
        }

        public void setMaximumBuyQuantity(Long maximumBuyQuantity) {
                this.maximumBuyQuantity = maximumBuyQuantity;
        }

        public Long getMinimumBuyQuantity() {
                return minimumBuyQuantity;
        }

        public void setMinimumBuyQuantity(Long minimumBuyQuantity) {
                this.minimumBuyQuantity = minimumBuyQuantity;
        }

        public Long getQuantityStep() {
                return quantityStep;
        }

        public void setQuantityStep(Long quantityStep) {
                this.quantityStep = quantityStep;
        }
    
    public Long getPackQuantity() {
                return packQuantity;
        }

        public void setPackQuantity(Long packQuantity) {
                this.packQuantity = packQuantity;
        }

        public PrivateDeal getPrivateDeal() {
                return privateDeal;
        }

        public void setPrivateDeal(PrivateDeal privateDeal) {
                this.privateDeal = privateDeal;
        }

        public String getAsin() {
                return asin;
        }

        public void setAsin(String asin) {
                this.asin = asin;
        }

    public boolean isShowSellingPrice() {
                return showSellingPrice;
        }

        public void setShowSellingPrice(boolean showSellingPrice) {
                this.showSellingPrice = showSellingPrice;
        }

        private Integer expectedDelay;
    private Long preferredVendor;
    private Long preferredInsurer;
    private List<Long> sameItemsWithDifferentColors;
    
    

    private Map<Long, ItemInventory> itemInventory;
    
    private Map<Long, VendorPricings> vendorPricesMap;
    private Map<String, VendorItemMapping> vendorKeysMap;
    private Map<Long, SourcePricings> sourcePricesMap;
    private Map<Long, Item> similarItems;
    private Map<String, VoucherItemMapping> vouchersMap;
    private Map<String,String> stateNameVatPercentageMap;
    public static final String KEY_SEPARATOR= "#";
    
    private static final long serialVersionUID = -2982668732181655698L;

    public Item() {
    }

    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
            String category, Long categoryId, String comments,
            Long catalogItemId,
            Long featureId,
            String featureDescription, 
            Double mrp,
            Double sellingPrice,
            Double weight,
            Long addedOn, Long startDate, Long comingSoonStartDate, Long expectedArrivalDate, Long retireDate, Long updatedOn,
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
            String bestDealsText,String bestDealsDetailsText,String bestDealsDetailsLink, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
            Integer expectedDelay,
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType,boolean showSellingPrice, boolean holdOverride,
            Long prefferedVendor,
            Long preferredInsurer,
            Map<Long, ItemInventory> itemInventory,
            Map<Long,VendorPricings> vendorPricesMap, 
            Map<String, VendorItemMapping> vendorKeysMap, 
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
            Integer numOfDaysStock, Long minStockLevel, Map<Long,String> saleHistory, Long freebieItemId,String asin) {
        this();
        this.id = id;
        this.productGroup = productGroup;
        this.brand = brand;
        this.modelNumber = modelNumber;
        this.modelName = modelName;
        this.color = color;
        this.contentCategory = category;
        this.contentCategoryId = categoryId;
        this.comments = comments;
        this.catalogItemId = catalogItemId;
        this.featureId = featureId;
        this.featureDescription = featureDescription;
        this.mrp = mrp;
        this.sellingPrice = sellingPrice;
        this.weight = weight;
        this.addedOn = addedOn;
        this.startDate = startDate;
        this.comingSoonStartDate = comingSoonStartDate;
        this.expectedArrivalDate = expectedArrivalDate;
        this.retireDate = retireDate;
        this.updatedOn = updatedOn;
        this.itemStatus = itemStatus;
        this.itemStatusValue = itemStatusValue;
        this.itemStatusDesc = itemStatusDesc;
        this.bestDealsText = bestDealsText;
        this.bestDealsDetailsText = bestDealsDetailsText;
        this.bestDealsDetailsLink = bestDealsDetailsLink;
        this.bestDealsValue = bestDealsValue;
        this.bestSellingRank = bestSellingRank;
        this.defaultForEntity = defaultForEntity;
        this.risky = risky;
        this.expectedDelay = expectedDelay;
        this.warehouseStickiness = warehouseStickiness;
        this.hasItemNo = hasItemNo;
        this.showSellingPrice = showSellingPrice;
        this.holdOverride = holdOverride;
        this.setItemType(itemType);
        this.preferredVendor = prefferedVendor;
        this.preferredInsurer = preferredInsurer;        
        this.itemInventory = itemInventory;
        this.vendorPricesMap = vendorPricesMap;
        this.vendorKeysMap = vendorKeysMap;
        this.sourcePricesMap = sourcePricesMap;
        this.similarItems = similarItems;
        this.vouchersMap = vouchersMap;
        this.numOfDaysStock = numOfDaysStock;
        this.minStockLevel = minStockLevel;
        this.saleHistory = saleHistory;
        this.freebieItemId = freebieItemId;
        this.asin = asin;
    }
    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
            String category, Long categoryId, String comments,
            Long catalogItemId,
            Long featureId,
            String featureDescription, 
            Double mrp,
            Double sellingPrice,
            Double weight,
            Long addedOn, Long startDate, Long comingSoonStartDate, Long expectedArrivalDate, Long retireDate, Long updatedOn,
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
            String bestDealsText,String bestDealsDetailsText,String bestDealsDetailsLink, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
            Integer expectedDelay,
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType,boolean showSellingPrice, boolean holdOverride,
            Long prefferedVendor,
            Long preferredInsurer,
            Map<Long, ItemInventory> itemInventory,
            Map<Long,VendorPricings> vendorPricesMap, 
            Map<String, VendorItemMapping> vendorKeysMap, 
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
            Integer numOfDaysStock, Long minStockLevel, Map<Long,String> saleHistory, Long freebieItemId,String asin,Long holdInventory,Long defaultInventory) {
        this();
        this.id = id;
        this.productGroup = productGroup;
        this.brand = brand;
        this.modelNumber = modelNumber;
        this.modelName = modelName;
        this.color = color;
        this.contentCategory = category;
        this.contentCategoryId = categoryId;
        this.comments = comments;
        this.catalogItemId = catalogItemId;
        this.featureId = featureId;
        this.featureDescription = featureDescription;
        this.mrp = mrp;
        this.sellingPrice = sellingPrice;
        this.weight = weight;
        this.addedOn = addedOn;
        this.startDate = startDate;
        this.comingSoonStartDate = comingSoonStartDate;
        this.expectedArrivalDate = expectedArrivalDate;
        this.retireDate = retireDate;
        this.updatedOn = updatedOn;
        this.itemStatus = itemStatus;
        this.itemStatusValue = itemStatusValue;
        this.itemStatusDesc = itemStatusDesc;
        this.bestDealsText = bestDealsText;
        this.bestDealsDetailsText = bestDealsDetailsText;
        this.bestDealsDetailsLink = bestDealsDetailsLink;
        this.bestDealsValue = bestDealsValue;
        this.bestSellingRank = bestSellingRank;
        this.defaultForEntity = defaultForEntity;
        this.risky = risky;
        this.expectedDelay = expectedDelay;
        this.warehouseStickiness = warehouseStickiness;
        this.hasItemNo = hasItemNo;
        this.showSellingPrice = showSellingPrice;
        this.holdOverride = holdOverride;
        this.setItemType(itemType);
        this.preferredVendor = prefferedVendor;
        this.preferredInsurer = preferredInsurer;        
        this.itemInventory = itemInventory;
        this.vendorPricesMap = vendorPricesMap;
        this.vendorKeysMap = vendorKeysMap;
        this.sourcePricesMap = sourcePricesMap;
        this.similarItems = similarItems;
        this.vouchersMap = vouchersMap;
        this.numOfDaysStock = numOfDaysStock;
        this.minStockLevel = minStockLevel;
        this.saleHistory = saleHistory;
        this.freebieItemId = freebieItemId;
        this.asin = asin;
        this.holdInventory = holdInventory;
        this.defaultInventory = defaultInventory;
    }
    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
            String category, Long categoryId, String comments,
            Long catalogItemId,
            Long featureId,
            String featureDescription, 
            Double mrp,
            Double sellingPrice,
            Double weight,
            Long addedOn, Long startDate, Long comingSoonStartDate, Long expectedArrivalDate, Long retireDate, Long updatedOn,
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
            String bestDealsText,String bestDealsDetailsText,String bestDealsDetailsLink, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
            Integer expectedDelay,
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType,boolean showSellingPrice, boolean holdOverride,
            Long prefferedVendor,
            Long preferredInsurer,
            Map<Long, ItemInventory> itemInventory,
            Map<Long,VendorPricings> vendorPricesMap, 
            Map<String, VendorItemMapping> vendorKeysMap, 
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
            Integer numOfDaysStock, Long minStockLevel, Map<Long,String> saleHistory, Long freebieItemId,String asin,Long holdInventory,Long defaultInventory,Map<String,String> stateNameVatPercentageMap,PrivateDeal privateDeal, Long packQuantity,
            Long quantityStep, Long minimumBuyQuantity, Long maximumBuyQuantity) {
        this();
        this.id = id;
        this.productGroup = productGroup;
        this.brand = brand;
        this.modelNumber = modelNumber;
        this.modelName = modelName;
        this.color = color;
        this.contentCategory = category;
        this.contentCategoryId = categoryId;
        this.comments = comments;
        this.catalogItemId = catalogItemId;
        this.featureId = featureId;
        this.featureDescription = featureDescription;
        this.mrp = mrp;
        this.sellingPrice = sellingPrice;
        this.weight = weight;
        this.addedOn = addedOn;
        this.startDate = startDate;
        this.comingSoonStartDate = comingSoonStartDate;
        this.expectedArrivalDate = expectedArrivalDate;
        this.retireDate = retireDate;
        this.updatedOn = updatedOn;
        this.itemStatus = itemStatus;
        this.itemStatusValue = itemStatusValue;
        this.itemStatusDesc = itemStatusDesc;
        this.bestDealsText = bestDealsText;
        this.bestDealsDetailsText = bestDealsDetailsText;
        this.bestDealsDetailsLink = bestDealsDetailsLink;
        this.bestDealsValue = bestDealsValue;
        this.bestSellingRank = bestSellingRank;
        this.defaultForEntity = defaultForEntity;
        this.risky = risky;
        this.expectedDelay = expectedDelay;
        this.warehouseStickiness = warehouseStickiness;
        this.hasItemNo = hasItemNo;
        this.showSellingPrice = showSellingPrice;
        this.holdOverride = holdOverride;
        this.setItemType(itemType);
        this.preferredVendor = prefferedVendor;
        this.preferredInsurer = preferredInsurer;        
        this.itemInventory = itemInventory;
        this.vendorPricesMap = vendorPricesMap;
        this.vendorKeysMap = vendorKeysMap;
        this.sourcePricesMap = sourcePricesMap;
        this.similarItems = similarItems;
        this.vouchersMap = vouchersMap;
        this.numOfDaysStock = numOfDaysStock;
        this.minStockLevel = minStockLevel;
        this.saleHistory = saleHistory;
        this.freebieItemId = freebieItemId;
        this.asin = asin;
        this.holdInventory = holdInventory;
        this.defaultInventory = defaultInventory;
        this.stateNameVatPercentageMap = stateNameVatPercentageMap;
        this.privateDeal = privateDeal;
        this.packQuantity = packQuantity;
        this.quantityStep = quantityStep;
        this.minimumBuyQuantity =minimumBuyQuantity;
        this.maximumBuyQuantity = maximumBuyQuantity;
    }
    
    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
            String category, Long categoryId, String comments,
            Long catalogItemId,
            Long featureId,
            String featureDescription, 
            Double mrp,
            Double sellingPrice,
            Double weight,
            Long addedOn, Long startDate, Long comingSoonStartDate, Long expectedArrivalDate, Long retireDate, Long updatedOn,
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
            String bestDealsText,String bestDealsDetailsText,String bestDealsDetailsLink, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
            Integer expectedDelay,
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType,boolean showSellingPrice, boolean holdOverride,
            Long prefferedVendor,
            Long preferredInsurer,
            Map<Long, ItemInventory> itemInventory,
            Map<Long,VendorPricings> vendorPricesMap, 
            Map<String, VendorItemMapping> vendorKeysMap, 
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
            Integer numOfDaysStock, Long minStockLevel, Map<Long,String> saleHistory, Long freebieItemId,String asin,Long holdInventory,Long defaultInventory,Map<String,String> stateNameVatPercentageMap) {
        this();
        this.id = id;
        this.productGroup = productGroup;
        this.brand = brand;
        this.modelNumber = modelNumber;
        this.modelName = modelName;
        this.color = color;
        this.contentCategory = category;
        this.contentCategoryId = categoryId;
        this.comments = comments;
        this.catalogItemId = catalogItemId;
        this.featureId = featureId;
        this.featureDescription = featureDescription;
        this.mrp = mrp;
        this.sellingPrice = sellingPrice;
        this.weight = weight;
        this.addedOn = addedOn;
        this.startDate = startDate;
        this.comingSoonStartDate = comingSoonStartDate;
        this.expectedArrivalDate = expectedArrivalDate;
        this.retireDate = retireDate;
        this.updatedOn = updatedOn;
        this.itemStatus = itemStatus;
        this.itemStatusValue = itemStatusValue;
        this.itemStatusDesc = itemStatusDesc;
        this.bestDealsText = bestDealsText;
        this.bestDealsDetailsText = bestDealsDetailsText;
        this.bestDealsDetailsLink = bestDealsDetailsLink;
        this.bestDealsValue = bestDealsValue;
        this.bestSellingRank = bestSellingRank;
        this.defaultForEntity = defaultForEntity;
        this.risky = risky;
        this.expectedDelay = expectedDelay;
        this.warehouseStickiness = warehouseStickiness;
        this.hasItemNo = hasItemNo;
        this.showSellingPrice = showSellingPrice;
        this.holdOverride = holdOverride;
        this.setItemType(itemType);
        this.preferredVendor = prefferedVendor;
        this.preferredInsurer = preferredInsurer;        
        this.itemInventory = itemInventory;
        this.vendorPricesMap = vendorPricesMap;
        this.vendorKeysMap = vendorKeysMap;
        this.sourcePricesMap = sourcePricesMap;
        this.similarItems = similarItems;
        this.vouchersMap = vouchersMap;
        this.numOfDaysStock = numOfDaysStock;
        this.minStockLevel = minStockLevel;
        this.saleHistory = saleHistory;
        this.freebieItemId = freebieItemId;
        this.asin = asin;
        this.holdInventory = holdInventory;
        this.defaultInventory = defaultInventory;
        this.stateNameVatPercentageMap = stateNameVatPercentageMap;
    }



    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getProductGroup() {
        return productGroup;
    }

    public void setProductGroup(String productGroup) {
        this.productGroup = productGroup;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getContentCategory() {
        return contentCategory;
    }

    public List<Long> getSameItemsWithDifferentColors() {
        return sameItemsWithDifferentColors;
    }
    
    public void setSameItemsWithDifferentColors(
                List<Long> sameItemsWithDifferentColors) {
        this.sameItemsWithDifferentColors = sameItemsWithDifferentColors;
    }
    
    public void setContentCategory(String contentCategory) {
        this.contentCategory = contentCategory;
    }

    public Long getContentCategoryId() {
        return contentCategoryId;
    }

    public void setContentCategoryId(Long contentCategoryId) {
        this.contentCategoryId = contentCategoryId;
    }
    
    public int getCategoryItemId() {
                return categoryItemId;
        }
    public void setCategoryItemId(int categoryItemId) {
                this.categoryItemId = categoryItemId;
        }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Long getCatalogItemId() {
        return catalogItemId;
    }

    public void setCatalogItemId(Long catalogItemId) {
        this.catalogItemId = catalogItemId;
    }

    public Long getFeatureId() {
        return featureId;
    }

    public void setFeatureId(Long featureId) {
        this.featureId = featureId;
    }

    public String getFeatureDescription() {
        return featureDescription;
    }

    public void setFeatureDescription(String featureDescription) {
        this.featureDescription = featureDescription;
    }

    public Double getMrp() {
        return mrp;
    }

    public void setMrp(Double mrp) {
        this.mrp = mrp;
    }

    public Double getSellingPrice() {
        return sellingPrice;
    }

    public void setSellingPrice(Double sellingPrice) {
        this.sellingPrice = sellingPrice;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Long getAddedOn() {
        return addedOn;
    }

    public void setAddedOn(Long addedOn) {
        this.addedOn = addedOn;
    }

    public Long getUpdatedOn() {
        return updatedOn;
    }

    public void setUpdatedOn(Long updatedOn) {
        this.updatedOn = updatedOn;
    }

    public Long getStartDate() {
        return startDate;
    }

    public void setStartDate(Long startDate) {
        this.startDate = startDate;
    }

    public Long getRetireDate() {
        return retireDate;
    }

    public void setRetireDate(Long retireDate) {
        this.retireDate = retireDate;
    }

    public Long getComingSoonStartDate() {
        return this.comingSoonStartDate;
    }
    
    public void setComingSoonStartDate(Long comingSoonStartDate) {
        this.comingSoonStartDate = comingSoonStartDate;
    }

    public Long getExpectedArrivalDate() {
        return this.expectedArrivalDate;
    }
    
    public void setExpectedArrivalDate(Long expectedArrivalDate) {
        this.expectedArrivalDate = expectedArrivalDate;
    }

    public String getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(String itemStatus) {
        this.itemStatus = itemStatus;
    }

    public String getItemStatusDesc() {
        return itemStatusDesc;
    }

    public void setItemStatusDesc(String itemStatusDesc) {
        this.itemStatusDesc = itemStatusDesc;
    }

    public Integer getItemStatusValue() {
        return itemStatusValue;
    }

    public void setItemStatusValue(Integer itemStatusValue) {
        this.itemStatusValue = itemStatusValue;
    }

    public String getBestDealsText() {
        return bestDealsText;
    }

    public void setBestDealsText(String bestDealsText) {
        this.bestDealsText = bestDealsText;
    }

    public Double getBestDealsValue() {
        return bestDealsValue;
    }

    public void setBestDealsValue(Double bestDealsValue) {
        this.bestDealsValue = bestDealsValue;
    }

    public Long getBestSellingRank() {
        return bestSellingRank;
    }

    public void setBestSellingRank(Long bestSellingRank) {
        this.bestSellingRank = bestSellingRank;
    }

    public boolean isDefaultForEntity() {
        return defaultForEntity;
    }

    public void setDefaultForEntity(boolean defaultForEntity) {
        this.defaultForEntity = defaultForEntity;
    }

    public boolean isRisky() {
        return risky;
    }

    public void setRisky(boolean risky) {
        this.risky = risky;
    }

    public void setExpectedDelay(int expectedDelay) {
        this.expectedDelay = expectedDelay;
    }

    public Integer getExpectedDelay() {
        return expectedDelay;
    }

        public Map<Long, VendorPricings> getVendorPricesMap() {
        return vendorPricesMap;
    }

    public void setVendorPricesMap(Map<Long, VendorPricings> vendorPricesMap) {
        this.vendorPricesMap = vendorPricesMap;
    }

    public Map<String, VendorItemMapping> getVendorKeysMap() {
        return vendorKeysMap;
    }

    public void setVendorKeysMap(Map<String, VendorItemMapping> vendorKeysMap) {
        this.vendorKeysMap = vendorKeysMap;
    }

    public void setSourcePricesMap(Map<Long, SourcePricings> sourcePricesMap) {
        this.sourcePricesMap = sourcePricesMap;
    }

    public Map<Long, SourcePricings> getSourcePricesMap() {
        return sourcePricesMap;
    }

    public boolean isWarehouseStickiness() {
        return warehouseStickiness;
    }

    public void setWarehouseStickiness(boolean warehouseStickiness) {
        this.warehouseStickiness = warehouseStickiness;
    }

    public void setSimilarItems(Map<Long, Item> similarItems) {
        this.similarItems = similarItems;
    }

    public Map<Long, Item> getSimilarItems() {
        return similarItems;
    }

        public void setItemInventory(Map<Long, ItemInventory> itemInventory) {
                this.itemInventory = itemInventory;
        }

        public Map<Long, ItemInventory> getItemInventory() {
                return itemInventory;
        }

        public void setPreferredVendor(Long preferredVendor) {
                this.preferredVendor = preferredVendor;
        }

        public Long getPreferredVendor() {
                return preferredVendor;
        }


        public void setHasItemNo(boolean hasItemNo) {
                this.hasItemNo = hasItemNo;
        }

        public boolean isHasItemNo() {
                return hasItemNo;
        }

        public void setItemType(boolean itemType) {
                this.itemType = itemType;
        }

        public boolean isItemType() {
                return itemType;
        }

        public void setVouchersMap(Map<String, VoucherItemMapping> vouchersMap) {
                this.vouchersMap = vouchersMap;
        }

        public Map<String, VoucherItemMapping> getVouchersMap() {
                return vouchersMap;
        }

        public Integer getNumOfDaysStock() {
                return numOfDaysStock;
        }

        public void setNumOfDaysStock(Integer numOfDaysStock) {
                this.numOfDaysStock = numOfDaysStock;
        }

        public Long getMinStockLevel() {
                return minStockLevel;
        }

        public void setMinStockLevel(Long minStockLevel) {
                this.minStockLevel = minStockLevel;
        }
        
        public Map<Long,String> getSaleHistory() {
                return saleHistory;
        }

        public void setLastNdaySale(Map<Long,String> saleHistory) {
                this.saleHistory = saleHistory;
        }

        public void setBestDealsDetailsText(String bestDealsDetailsText) {
                this.bestDealsDetailsText = bestDealsDetailsText;
        }

        public String getBestDealsDetailsText() {
                return bestDealsDetailsText;
        }

        public void setBestDealsDetailsLink(String bestDealsDetailsLink) {
                this.bestDealsDetailsLink = bestDealsDetailsLink;
        }

        public String getBestDealsDetailsLink() {
                return bestDealsDetailsLink;
        }
        public Long getPreferredInsurer() {
                return preferredInsurer;
        }
        
        public void setPreferredInsurer(Long insurer) {
                this.preferredInsurer=insurer;
        }

        public Long getFreebieItemId() {
                return freebieItemId;
        }

        public void setFreebieItemId(Long freebieItemId) {
                this.freebieItemId = freebieItemId;
        }
        
        public Long getHoldInventory() {
                return holdInventory;
        }

        public void setHoldInventory(Long holdInventory) {
                this.holdInventory = holdInventory;
        }

        public Long getDefaultInventory() {
                return defaultInventory;
        }

        public void setDefaultInventory(Long defaultInventory) {
                this.defaultInventory = defaultInventory;
        }

        public void setHoldOverride(boolean holdOverride) {
                this.holdOverride = holdOverride;
        }

        public boolean isHoldOverride() {
                return holdOverride;
        }

        public Map<String, String> getStateNameVatPercentageMap() {
                return stateNameVatPercentageMap;
        }

        public void setStateNameVatPercentageMap(
                        Map<String, String> stateNameVatPercentageMap) {
                this.stateNameVatPercentageMap = stateNameVatPercentageMap;
        }

        public void setDealPrice(Double dealPrice) {
                this.dealPrice = dealPrice;
        }

        public Double getDealPrice() {
                return dealPrice;
        }
        
        public String getHsnCode() {
                return hsnCode;
        }
        public void setHsnCode(String hsnCode) {
                this.hsnCode = hsnCode;
        }

}