Subversion Repositories SmartDukaan

Rev

Rev 9667 | Rev 10482 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9667 Rev 10299
Line 2... Line 2...
2
 
2
 
3
import java.util.List;
3
import java.util.List;
4
 
4
 
5
public class CartPojo {
5
public class CartPojo {
6
 
6
 
7
    private long id; // required
7
    private Long id; // required
8
    private List<CartLinePojo> lines; // required
8
    private List<CartLinePojo> lines; // required
9
    private double totalPrice; // required
9
    private Double totalPrice; // required
10
    private double discountedPrice; // required
10
    private Double discountedPrice; // required
11
    private String couponCode; // required
11
    private String couponCode; // required
12
    private long pickupStoreId; // required
12
    private Long pickupStoreId; // required
13
    private String message; // required
13
    private String message; // required
14
    
14
    
15
    public long getId() {
15
    public Long getId() {
16
        return id;
16
        return id;
17
    }
17
    }
18
    public void setId(long id) {
18
    public void setId(Long id) {
19
        this.id = id;
19
        this.id = id;
20
    }
20
    }
21
    public List<CartLinePojo> getLines() {
21
    public List<CartLinePojo> getLines() {
22
        return lines;
22
        return lines;
23
    }
23
    }
24
    public void setLines(List<CartLinePojo> lines) {
24
    public void setLines(List<CartLinePojo> lines) {
25
        this.lines = lines;
25
        this.lines = lines;
26
    }
26
    }
27
 
27
 
28
    public double getTotalPrice() {
28
    public Double getTotalPrice() {
29
        return totalPrice;
29
        return totalPrice;
30
    }
30
    }
31
    public void setTotalPrice(double totalPrice) {
31
    public void setTotalPrice(Double totalPrice) {
32
        this.totalPrice = totalPrice;
32
        this.totalPrice = totalPrice;
33
    }
33
    }
34
    public double getDiscountedPrice() {
34
    public Double getDiscountedPrice() {
35
        return discountedPrice;
35
        return discountedPrice;
36
    }
36
    }
37
    public void setDiscountedPrice(double discountedPrice) {
37
    public void setDiscountedPrice(Double discountedPrice) {
38
        this.discountedPrice = discountedPrice;
38
        this.discountedPrice = discountedPrice;
39
    }
39
    }
40
    public String getCouponCode() {
40
    public String getCouponCode() {
41
        return couponCode;
41
        return couponCode;
42
    }
42
    }
43
    public void setCouponCode(String couponCode) {
43
    public void setCouponCode(String couponCode) {
44
        this.couponCode = couponCode;
44
        this.couponCode = couponCode;
45
    }
45
    }
46
    public long getPickupStoreId() {
46
    public Long getPickupStoreId() {
47
        return pickupStoreId;
47
        return pickupStoreId;
48
    }
48
    }
49
    public void setPickupStoreId(long pickupStoreId) {
49
    public void setPickupStoreId(Long pickupStoreId) {
50
        this.pickupStoreId = pickupStoreId;
50
        this.pickupStoreId = pickupStoreId;
51
    }
51
    }
52
    public String getMessage() {
52
    public String getMessage() {
53
        return message;
53
        return message;
54
    }
54
    }