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;
15
 
16
 
17
	@SuppressWarnings("unused")
18
	private Order(){ }
19
 
20
	public Order(long customerId, long transactionId, long createdOn, long expectedDeliveryTime, String status, String message){
21
		this.customerId = customerId;
22
		this.transactionId = transactionId;
23
		this.createdOn = createdOn;
24
		this.expectedDeliveryTime = expectedDeliveryTime;
25
		this.status = status;
26
		this.statusMessage = message;
27
	}
28
 
29
	public long getCustomerId() {
30
		return customerId;
31
	}
32
 
33
	public long getTransactionId() {
34
		return transactionId;
35
	}
36
 
37
	public long getCreatedOn() {
38
		return createdOn;
39
	}
40
 
41
	public long getExpectedDeliveryTime() {
42
		return expectedDeliveryTime;
43
	}
44
 
45
	public String getStatus() {
46
		return status;
47
	}
48
 
49
	public String getStatusMessage() {
50
		return statusMessage;
51
	}	
52
}