Subversion Repositories SmartDukaan

Rev

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