Subversion Repositories SmartDukaan

Rev

Rev 9280 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package in.shop2020.metamodel.util;

import com.google.gson.annotations.SerializedName;


public class ProductPojo {

    @Override
        public String toString() {
                return "ProductPojo [imageUrl=" + imageUrl + ", title=" + title
                                + ", url=" + url + ", description=" + description + ", price="
                                + price + ", mrp=" + mrp + ", offerText=" + offerText + "]";
        }
        @SerializedName(value = "image_url")
        private String imageUrl;
    private String title;
    private String url;
    private String description;
    private double price;
    private double mrp;
    
    @SerializedName(value = "offer_text")
    private String offerText;
    
        public String getImageUrl() {
                return imageUrl;
        }
        public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
        }
        public String getDescription() {
                return description;
        }
        public void setDescription(String description) {
                this.description = description;
        }
        public double getPrice() {
                return price;
        }
        public void setPrice(double price) {
                this.price = price;
        }
        public String getOfferText() {
                return offerText;
        }
        public void setOfferText(String offerText) {
                this.offerText = offerText;
        }
        public void setUrl(String url) {
                this.url = url;
        }
        public String getUrl() {
                return url;
        }
        public void setTitle(String title) {
                this.title = title;
        }
        public String getTitle() {
                return title;
        }
        public void setMrp(double mrp) {
                this.mrp = mrp;
        }
        public double getMrp() {
                return mrp;
        }
    
}