Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
167 ashish 1
package in.shop2020.hotspot.dashbaord.shared.actions;
2
 
3
import com.google.gwt.user.client.rpc.IsSerializable;
4
 
5
public class Order implements IsSerializable{
6
 
7
	private static final long serialVersionUID = 5804421607858217477L;
8
 
9
	private long customerId;
10
	private long transactionId;
11
	private long createdOn;
12
	private long expectedDeliveryTime;
13
	private String status;
14
	private String statusMessage;
306 ashish 15
	private boolean alert;
167 ashish 16
 
306 ashish 17
	//For extra info
18
	private long sku_id;
19
	private String model;
20
	private String colour;
21
	private String vendor;
167 ashish 22
 
306 ashish 23
	private Shipment shipment;
24
 
25
 
167 ashish 26
	@SuppressWarnings("unused")
27
	private Order(){ }
28
 
306 ashish 29
	public Order(long customerId, long transactionId, long createdOn, long expectedDeliveryTime, String status, String message, String model, String colour, String vendor, long sku_id){
167 ashish 30
		this.customerId = customerId;
31
		this.transactionId = transactionId;
32
		this.createdOn = createdOn;
33
		this.expectedDeliveryTime = expectedDeliveryTime;
34
		this.status = status;
35
		this.statusMessage = message;
306 ashish 36
		this.sku_id = sku_id;
37
		this.model = model;
38
		this.colour = colour;
39
		this.vendor = vendor;
167 ashish 40
	}
41
 
42
	public long getCustomerId() {
43
		return customerId;
44
	}
45
 
46
	public long getTransactionId() {
47
		return transactionId;
48
	}
49
 
50
	public long getCreatedOn() {
51
		return createdOn;
52
	}
53
 
54
	public long getExpectedDeliveryTime() {
55
		return expectedDeliveryTime;
56
	}
57
 
58
	public String getStatus() {
59
		return status;
60
	}
61
 
306 ashish 62
	public void setStatusMessage(String message){
63
		this.statusMessage = message;
64
	}
65
 
167 ashish 66
	public String getStatusMessage() {
67
		return statusMessage;
306 ashish 68
	}
69
 
70
	public boolean isAlert() {
71
		return alert;
72
	}
73
 
74
	public void setAlert(boolean alert) {
75
		this.alert = alert;
76
	}
77
 
78
	public long getSku_id() {
79
		return sku_id;
80
	}
81
 
82
	public String getModel() {
83
		return model;
84
	}
85
 
86
	public String getColour() {
87
		return colour;
88
	}
89
 
90
	public String getVendor() {
91
		return vendor;
92
	}
93
 
94
	public Shipment getShipment() {
95
		return shipment;
96
	}
97
 
98
	public void setShipment(Shipment shipment) {
99
		this.shipment = shipment;
167 ashish 100
	}	
101
}