Subversion Repositories SmartDukaan

Rev

Rev 10482 | 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;
10775 amit.gupta 15
    private Boolean locationServiceable;
16
    private String locationServiceableMessage;
9667 anupam.sin 17
 
10299 amit.gupta 18
    public Long getId() {
9667 anupam.sin 19
        return id;
20
    }
10299 amit.gupta 21
    public void setId(Long id) {
9667 anupam.sin 22
        this.id = id;
23
    }
24
    public List<CartLinePojo> getLines() {
25
        return lines;
26
    }
27
    public void setLines(List<CartLinePojo> lines) {
28
        this.lines = lines;
29
    }
30
 
10299 amit.gupta 31
    public Double getTotalPrice() {
9667 anupam.sin 32
        return totalPrice;
33
    }
10299 amit.gupta 34
    public void setTotalPrice(Double totalPrice) {
9667 anupam.sin 35
        this.totalPrice = totalPrice;
36
    }
10299 amit.gupta 37
    public Double getDiscountedPrice() {
9667 anupam.sin 38
        return discountedPrice;
39
    }
10299 amit.gupta 40
    public void setDiscountedPrice(Double discountedPrice) {
9667 anupam.sin 41
        this.discountedPrice = discountedPrice;
42
    }
43
    public String getCouponCode() {
44
        return couponCode;
45
    }
46
    public void setCouponCode(String couponCode) {
47
        this.couponCode = couponCode;
48
    }
10299 amit.gupta 49
    public Long getPickupStoreId() {
9667 anupam.sin 50
        return pickupStoreId;
51
    }
10299 amit.gupta 52
    public void setPickupStoreId(Long pickupStoreId) {
9667 anupam.sin 53
        this.pickupStoreId = pickupStoreId;
54
    }
55
    public String getMessage() {
56
        return message;
57
    }
58
    public void setMessage(String message) {
59
        this.message = message;
60
    }
10482 amit.gupta 61
	public void setNeedInsuranceInfo(Boolean needInsuranceInfo) {
62
		this.needInsuranceInfo = needInsuranceInfo;
63
	}
64
	public Boolean getNeedInsuranceInfo() {
65
		return needInsuranceInfo;
66
	}
10775 amit.gupta 67
	public void setLocationServiceable(Boolean locationServiceable) {
68
		this.locationServiceable = locationServiceable;
69
	}
70
	public Boolean getLocationServiceable() {
71
		return locationServiceable;
72
	}
73
	public void setLocationServiceableMessage(String locationServiceableMessage) {
74
		this.locationServiceableMessage = locationServiceableMessage;
75
	}
76
	public String getLocationServiceableMessage() {
77
		return locationServiceableMessage;
78
	}
9667 anupam.sin 79
 
80
}