Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
36376 aman 1
package com.spice.profitmandi.dao.cart.v2;
2
 
3
import java.math.BigDecimal;
4
 
5
public class CartBlocker {
6
 
7
	private Integer lineId;
8
	private Integer productId;
9
	private BlockerType type;
10
	private String message;
11
	private BigDecimal oldPrice;
12
	private BigDecimal newPrice;
13
	private Integer requestedQty;
14
	private Integer availableQty;
15
 
16
	public CartBlocker() {}
17
 
18
	public CartBlocker(BlockerType type, Integer lineId, String message) {
19
		this.type = type;
20
		this.lineId = lineId;
21
		this.message = message;
22
	}
23
 
24
	public Integer getLineId() { return lineId; }
25
	public void setLineId(Integer lineId) { this.lineId = lineId; }
26
 
27
	public Integer getProductId() { return productId; }
28
	public void setProductId(Integer productId) { this.productId = productId; }
29
 
30
	public BlockerType getType() { return type; }
31
	public void setType(BlockerType type) { this.type = type; }
32
 
33
	public String getMessage() { return message; }
34
	public void setMessage(String message) { this.message = message; }
35
 
36
	public BigDecimal getOldPrice() { return oldPrice; }
37
	public void setOldPrice(BigDecimal oldPrice) { this.oldPrice = oldPrice; }
38
 
39
	public BigDecimal getNewPrice() { return newPrice; }
40
	public void setNewPrice(BigDecimal newPrice) { this.newPrice = newPrice; }
41
 
42
	public Integer getRequestedQty() { return requestedQty; }
43
	public void setRequestedQty(Integer requestedQty) { this.requestedQty = requestedQty; }
44
 
45
	public Integer getAvailableQty() { return availableQty; }
46
	public void setAvailableQty(Integer availableQty) { this.availableQty = availableQty; }
47
}