Subversion Repositories SmartDukaan

Rev

Rev 9808 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9667 anupam.sin 1
package in.shop2020.mobileapi.serving.pojos;
2
 
9808 anupam.sin 3
import in.shop2020.metamodel.util.LogisticsInfoPojo;
9667 anupam.sin 4
 
9808 anupam.sin 5
 
9667 anupam.sin 6
public class CartLinePojo {
7
 
8
    private long itemId; // required
9
    private String name;
10
    private String color;
11
    private double quantity; // required
12
    private double actualPrice; // required
13
    private double discountedPrice; // required
14
//    private List<Discount> discounts; // required
15
    private boolean isTheftInsuranceAvailable;
16
    private long insurer; // required
17
    private double insuranceAmount; // required
18
    private boolean isDataProtectionAvailable;
19
    private long dataProtectionInsurer; // required
11864 amit.gupta 20
    private String dealText;
9667 anupam.sin 21
    private double dataProtectionAmount; // required
9682 amit.gupta 22
    private String imageUrl; // required
9808 anupam.sin 23
    private LogisticsInfoPojo logisticsInfo;
9667 anupam.sin 24
 
25
    public long getItemId() {
26
        return itemId;
27
    }
28
    public void setItemId(long itemId) {
29
        this.itemId = itemId;
30
    }
31
    public double getQuantity() {
32
        return quantity;
33
    }
34
    public void setQuantity(double quantity) {
35
        this.quantity = quantity;
36
    }
37
    public double getActualPrice() {
38
        return actualPrice;
39
    }
40
    public void setActualPrice(double actualPrice) {
41
        this.actualPrice = actualPrice;
42
    }
43
    public double getDiscountedPrice() {
44
        return discountedPrice;
45
    }
46
    public void setDiscountedPrice(double discountedPrice) {
47
        this.discountedPrice = discountedPrice;
48
    }
49
    public boolean isTheftInsuranceAvailable() {
50
        return isTheftInsuranceAvailable;
51
    }
52
    public void setTheftInsuranceAvailable(boolean isTheftInsuranceAvailable) {
53
        this.isTheftInsuranceAvailable = isTheftInsuranceAvailable;
54
    }
55
    public long getInsurer() {
56
        return insurer;
57
    }
58
    public void setInsurer(long insurer) {
59
        this.insurer = insurer;
60
    }
61
    public double getInsuranceAmount() {
62
        return insuranceAmount;
63
    }
64
    public void setInsuranceAmount(double insuranceAmount) {
65
        this.insuranceAmount = insuranceAmount;
66
    }
67
    public boolean isDataProtectionAvailable() {
68
        return isDataProtectionAvailable;
69
    }
70
    public void setDataProtectionAvailable(boolean isDataProtectionAvailable) {
71
        this.isDataProtectionAvailable = isDataProtectionAvailable;
72
    }
73
    public long getDataProtectionInsurer() {
74
        return dataProtectionInsurer;
75
    }
76
    public void setDataProtectionInsurer(long dataProtectionInsurer) {
77
        this.dataProtectionInsurer = dataProtectionInsurer;
78
    }
79
    public double getDataProtectionAmount() {
80
        return dataProtectionAmount;
81
    }
82
    public void setDataProtectionAmount(double dataProtectionAmount) {
83
        this.dataProtectionAmount = dataProtectionAmount;
84
    }
85
    public String getName() {
86
        return name;
87
    }
88
    public void setName(String name) {
89
        this.name = name;
90
    }
91
    public String getColor() {
92
        return color;
93
    }
94
    public void setColor(String color) {
95
        this.color = color;
96
    }
9682 amit.gupta 97
	public void setImageUrl(String imageUrl) {
98
		this.imageUrl = imageUrl;
99
	}
100
	public String getImageUrl() {
101
		return imageUrl;
102
	}
9808 anupam.sin 103
    public void setLogisticsInfo(LogisticsInfoPojo logisticsInfo) {
104
        this.logisticsInfo = logisticsInfo;
105
    }
106
    public LogisticsInfoPojo getLogisticsInfo() {
107
        return logisticsInfo;
108
    }
11864 amit.gupta 109
	public void setDealText(String dealText) {
110
		this.dealText = dealText;
111
	}
112
	public String getDealText() {
113
		return dealText;
114
	}
9667 anupam.sin 115
}