Subversion Repositories SmartDukaan

Rev

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

package in.shop2020.metamodel.util;

import in.shop2020.model.v1.catalog.ExclusiveAffiliateItemInfo;

import java.util.List;

import org.json.JSONObject;

public class ContentPojo extends HeaderInfoPojo {
        
        public ContentPojo(String title, List<String> keySpecs,
                        List<SpecificationGroup> detailedSpecs, String warranty) {
                super();
                super.setTitle(title);
                this.keySpecs = keySpecs;
                this.detailedSpecs = detailedSpecs;
                this.warranty = warranty;
        }
        
        public ContentPojo(Long id) {
                this.id = id;
        }
        //Content
        private Long id;
        private String introduction;
        public String getIntroduction() {
                return introduction;
        }

        public void setIntroduction(String introduction) {
                this.introduction = introduction;
        }
        private String url;
        private List<String> keySpecs;
        private List<SpecificationGroup> detailedSpecs;
        private List<ExpertReviewPojo> expertReviews;
        private String warranty;
        private String pinCode;
        private LogisticsInfoPojo logisticsInfo;
        private String name;
        private String categoryName;
        private String categoryUrl;
        private String breadCrumb;
        private List<ExclusiveAffiliateItemInfo> exclusiveAffiliateInfo;
        private JSONObject dtrAffiliateJSON;
        
        //To be set at runtime
        private List<ProductPojo> reocmmendedAccessories;
        public String getDefaultImageUrl() {
                return defaultImageUrl;
        }

        public void setDefaultImageUrl(String defaultImageUrl) {
                this.defaultImageUrl = defaultImageUrl;
        }

        public String getIconImageUrl() {
                return iconImageUrl;
        }

        public void setIconImageUrl(String iconImageUrl) {
                this.iconImageUrl = iconImageUrl;
        }

        private String defaultImageUrl;
        private String iconImageUrl;
        private String thumbnailImageUrl;
        private List<MediaPojo> images;
        private List<MediaPojo> videos;
        private List<String> packageContents;
        
        private String offerText;
        //private EmiPojo bankEmis;
        private List<ItemPojo> items;
        
        public List<String> getKeySpecs() {
                return keySpecs;
        }
        public void setKeySpecs(List<String> keySpecs) {
                this.keySpecs = keySpecs;
        }
        public List<SpecificationGroup> getDetailedSpecs() {
                return detailedSpecs;
        }
        public void setDetailedSpecs(List<SpecificationGroup> detailedSpecs) {
                this.detailedSpecs = detailedSpecs;
        }
        public String getWarranty() {
                return warranty;
        }
        public void setWarranty(String warranty) {
                this.warranty = warranty;
        }
        public List<MediaPojo> getImages() {
                return images;
        }
        public void setImages(List<MediaPojo> images) {
                this.images = images;
        }
        public void setId(Long id) {
                this.id = id;
        }
        public Long getId() {
                return id;
        }
        
        public String getOfferText() {
                return offerText;
        }
        public void setOfferText(String offerText) {
                this.offerText = offerText;
        }
        public List<ItemPojo> getItems() {
                return items;
        }
        public void setItems(List<ItemPojo> items) {
                this.items = items;
        }
        public void setPackageContents(List<String> packageContents) {
                this.packageContents = packageContents;
        }
        public List<String> getPackageContents() {
                return packageContents;
        }
        
        public void setCatalogInfo(String offerText, List<ItemPojo> items) {
                this.offerText = offerText;
                this.items = items;
        }

        public String getThumbnailImageUrl() {
                return thumbnailImageUrl;
        }
        
        public void setThumbnailImageUrl(String thumbnailImageUrl) {
                this.thumbnailImageUrl = thumbnailImageUrl;
        }

        public void setVideos(List<MediaPojo> videos) {
                this.videos = videos;
        }

        public List<MediaPojo> getVideos() {
                return videos;
        }

        public void setExpertReviews(List<ExpertReviewPojo> expertReviews) {
                this.expertReviews = expertReviews;
        }

        public List<ExpertReviewPojo> getExpertReviews() {
                return expertReviews;
        }

        public void setUrl(String url) {
                this.url = url;
        }

        public String getUrl() {
                return url;
        }

        public void setReocmmendedAccessories(List<ProductPojo> reocmmendedAccessories) {
                this.reocmmendedAccessories = reocmmendedAccessories;
        }

        public List<ProductPojo> getReocmmendedAccessories() {
                return reocmmendedAccessories;
        }

        public void setPinCode(String pinCode) {
                this.pinCode = pinCode;
        }

        public String getPinCode() {
                return pinCode;
        }

        public void setLogisticsInfo(LogisticsInfoPojo logisticsInfo) {
                this.logisticsInfo = logisticsInfo;
        }

        public LogisticsInfoPojo getLogisticsInfo() {
                return logisticsInfo;
        }

        public void setCategoryName(String categoryName) {
                this.categoryName = categoryName;
        }

        public String getCategoryName() {
                return categoryName;
        }

        public void setCategoryUrl(String categoryUrl) {
                this.categoryUrl = categoryUrl;
        }

        public String getCategoryUrl() {
                return categoryUrl;
        }

        public void setBreadCrumb(String breadCrumb) {
                this.breadCrumb = breadCrumb;
        }

        public String getBreadCrumb() {
                return breadCrumb;
        }

        public void setName(String name) {
                this.name = name;
        }

        public String getName() {
                return name;
        }

        public void setExclusiveAffiliateInfo(List<ExclusiveAffiliateItemInfo> exclusiveAffiliateInfo) {
                this.exclusiveAffiliateInfo = exclusiveAffiliateInfo;
        }

        public List<ExclusiveAffiliateItemInfo> getExclusiveAffiliateInfo() {
                return exclusiveAffiliateInfo;
        }

        public void setDtrAffiliateJSON(JSONObject dtrAffiliateJSON) {
                this.dtrAffiliateJSON = dtrAffiliateJSON;
        }

        public JSONObject getDtrAffiliateJSON() {
                return dtrAffiliateJSON;
        }
}