Subversion Repositories SmartDukaan

Rev

Rev 9682 | Go to most recent revision | 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
20
    private double dataProtectionAmount; // required
9682 amit.gupta 21
    private String imageUrl; // required
9808 anupam.sin 22
    private LogisticsInfoPojo logisticsInfo;
9667 anupam.sin 23
 
24
    public long getItemId() {
25
        return itemId;
26
    }
27
    public void setItemId(long itemId) {
28
        this.itemId = itemId;
29
    }
30
    public double getQuantity() {
31
        return quantity;
32
    }
33
    public void setQuantity(double quantity) {
34
        this.quantity = quantity;
35
    }
36
    public double getActualPrice() {
37
        return actualPrice;
38
    }
39
    public void setActualPrice(double actualPrice) {
40
        this.actualPrice = actualPrice;
41
    }
42
    public double getDiscountedPrice() {
43
        return discountedPrice;
44
    }
45
    public void setDiscountedPrice(double discountedPrice) {
46
        this.discountedPrice = discountedPrice;
47
    }
48
    public boolean isTheftInsuranceAvailable() {
49
        return isTheftInsuranceAvailable;
50
    }
51
    public void setTheftInsuranceAvailable(boolean isTheftInsuranceAvailable) {
52
        this.isTheftInsuranceAvailable = isTheftInsuranceAvailable;
53
    }
54
    public long getInsurer() {
55
        return insurer;
56
    }
57
    public void setInsurer(long insurer) {
58
        this.insurer = insurer;
59
    }
60
    public double getInsuranceAmount() {
61
        return insuranceAmount;
62
    }
63
    public void setInsuranceAmount(double insuranceAmount) {
64
        this.insuranceAmount = insuranceAmount;
65
    }
66
    public boolean isDataProtectionAvailable() {
67
        return isDataProtectionAvailable;
68
    }
69
    public void setDataProtectionAvailable(boolean isDataProtectionAvailable) {
70
        this.isDataProtectionAvailable = isDataProtectionAvailable;
71
    }
72
    public long getDataProtectionInsurer() {
73
        return dataProtectionInsurer;
74
    }
75
    public void setDataProtectionInsurer(long dataProtectionInsurer) {
76
        this.dataProtectionInsurer = dataProtectionInsurer;
77
    }
78
    public double getDataProtectionAmount() {
79
        return dataProtectionAmount;
80
    }
81
    public void setDataProtectionAmount(double dataProtectionAmount) {
82
        this.dataProtectionAmount = dataProtectionAmount;
83
    }
84
    public String getName() {
85
        return name;
86
    }
87
    public void setName(String name) {
88
        this.name = name;
89
    }
90
    public String getColor() {
91
        return color;
92
    }
93
    public void setColor(String color) {
94
        this.color = color;
95
    }
9682 amit.gupta 96
	public void setImageUrl(String imageUrl) {
97
		this.imageUrl = imageUrl;
98
	}
99
	public String getImageUrl() {
100
		return imageUrl;
101
	}
9808 anupam.sin 102
    public void setLogisticsInfo(LogisticsInfoPojo logisticsInfo) {
103
        this.logisticsInfo = logisticsInfo;
104
    }
105
    public LogisticsInfoPojo getLogisticsInfo() {
106
        return logisticsInfo;
107
    }
9667 anupam.sin 108
}