Subversion Repositories SmartDukaan

Rev

Rev 10299 | 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
import java.util.List;
4
 
5
public class CartPojo {
6
 
10299 amit.gupta 7
    private Long id; // required
9667 anupam.sin 8
    private List<CartLinePojo> lines; // required
10299 amit.gupta 9
    private Double totalPrice; // required
10
    private Double discountedPrice; // required
9667 anupam.sin 11
    private String couponCode; // required
10299 amit.gupta 12
    private Long pickupStoreId; // required
9667 anupam.sin 13
    private String message; // required
10482 amit.gupta 14
    private Boolean needInsuranceInfo;
9667 anupam.sin 15
 
10299 amit.gupta 16
    public Long getId() {
9667 anupam.sin 17
        return id;
18
    }
10299 amit.gupta 19
    public void setId(Long id) {
9667 anupam.sin 20
        this.id = id;
21
    }
22
    public List<CartLinePojo> getLines() {
23
        return lines;
24
    }
25
    public void setLines(List<CartLinePojo> lines) {
26
        this.lines = lines;
27
    }
28
 
10299 amit.gupta 29
    public Double getTotalPrice() {
9667 anupam.sin 30
        return totalPrice;
31
    }
10299 amit.gupta 32
    public void setTotalPrice(Double totalPrice) {
9667 anupam.sin 33
        this.totalPrice = totalPrice;
34
    }
10299 amit.gupta 35
    public Double getDiscountedPrice() {
9667 anupam.sin 36
        return discountedPrice;
37
    }
10299 amit.gupta 38
    public void setDiscountedPrice(Double discountedPrice) {
9667 anupam.sin 39
        this.discountedPrice = discountedPrice;
40
    }
41
    public String getCouponCode() {
42
        return couponCode;
43
    }
44
    public void setCouponCode(String couponCode) {
45
        this.couponCode = couponCode;
46
    }
10299 amit.gupta 47
    public Long getPickupStoreId() {
9667 anupam.sin 48
        return pickupStoreId;
49
    }
10299 amit.gupta 50
    public void setPickupStoreId(Long pickupStoreId) {
9667 anupam.sin 51
        this.pickupStoreId = pickupStoreId;
52
    }
53
    public String getMessage() {
54
        return message;
55
    }
56
    public void setMessage(String message) {
57
        this.message = message;
58
    }
10482 amit.gupta 59
	public void setNeedInsuranceInfo(Boolean needInsuranceInfo) {
60
		this.needInsuranceInfo = needInsuranceInfo;
61
	}
62
	public Boolean getNeedInsuranceInfo() {
63
		return needInsuranceInfo;
64
	}
9667 anupam.sin 65
 
66
}