Subversion Repositories SmartDukaan

Rev

Rev 9667 | Rev 9808 | 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
 
3
 
4
public class CartLinePojo {
5
 
6
    private long itemId; // required
7
    private String name;
8
    private String color;
9
    private double quantity; // required
10
    private double actualPrice; // required
11
    private double discountedPrice; // required
12
//    private List<Discount> discounts; // required
13
    private boolean isTheftInsuranceAvailable;
14
    private long insurer; // required
15
    private double insuranceAmount; // required
16
    private boolean isDataProtectionAvailable;
17
    private long dataProtectionInsurer; // required
18
    private double dataProtectionAmount; // required
9682 amit.gupta 19
    private String imageUrl; // required
9667 anupam.sin 20
 
21
    public long getItemId() {
22
        return itemId;
23
    }
24
    public void setItemId(long itemId) {
25
        this.itemId = itemId;
26
    }
27
    public double getQuantity() {
28
        return quantity;
29
    }
30
    public void setQuantity(double quantity) {
31
        this.quantity = quantity;
32
    }
33
    public double getActualPrice() {
34
        return actualPrice;
35
    }
36
    public void setActualPrice(double actualPrice) {
37
        this.actualPrice = actualPrice;
38
    }
39
    public double getDiscountedPrice() {
40
        return discountedPrice;
41
    }
42
    public void setDiscountedPrice(double discountedPrice) {
43
        this.discountedPrice = discountedPrice;
44
    }
45
    public boolean isTheftInsuranceAvailable() {
46
        return isTheftInsuranceAvailable;
47
    }
48
    public void setTheftInsuranceAvailable(boolean isTheftInsuranceAvailable) {
49
        this.isTheftInsuranceAvailable = isTheftInsuranceAvailable;
50
    }
51
    public long getInsurer() {
52
        return insurer;
53
    }
54
    public void setInsurer(long insurer) {
55
        this.insurer = insurer;
56
    }
57
    public double getInsuranceAmount() {
58
        return insuranceAmount;
59
    }
60
    public void setInsuranceAmount(double insuranceAmount) {
61
        this.insuranceAmount = insuranceAmount;
62
    }
63
    public boolean isDataProtectionAvailable() {
64
        return isDataProtectionAvailable;
65
    }
66
    public void setDataProtectionAvailable(boolean isDataProtectionAvailable) {
67
        this.isDataProtectionAvailable = isDataProtectionAvailable;
68
    }
69
    public long getDataProtectionInsurer() {
70
        return dataProtectionInsurer;
71
    }
72
    public void setDataProtectionInsurer(long dataProtectionInsurer) {
73
        this.dataProtectionInsurer = dataProtectionInsurer;
74
    }
75
    public double getDataProtectionAmount() {
76
        return dataProtectionAmount;
77
    }
78
    public void setDataProtectionAmount(double dataProtectionAmount) {
79
        this.dataProtectionAmount = dataProtectionAmount;
80
    }
81
    public String getName() {
82
        return name;
83
    }
84
    public void setName(String name) {
85
        this.name = name;
86
    }
87
    public String getColor() {
88
        return color;
89
    }
90
    public void setColor(String color) {
91
        this.color = color;
92
    }
9682 amit.gupta 93
	public void setImageUrl(String imageUrl) {
94
		this.imageUrl = imageUrl;
95
	}
96
	public String getImageUrl() {
97
		return imageUrl;
98
	}
9667 anupam.sin 99
}