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
 
484 rajveer 9
	private long orderId;
167 ashish 10
	private long customerId;
484 rajveer 11
	private String customerName;
12
	private String customerMobileNumber;
13
	private String customerPincode;
14
	private String customerAddress;
15
	private String customerEmail;
16
 
167 ashish 17
	private long createdOn;
18
	private long expectedDeliveryTime;
484 rajveer 19
 
20
	private long status;
167 ashish 21
	private String statusMessage;
22
 
484 rajveer 23
	private String skuId;
306 ashish 24
	private String vendor;
484 rajveer 25
	private String modelName;
26
	private String modelNumber;
27
	private String extraInfo;
167 ashish 28
 
484 rajveer 29
	private double totalAmount;
30
	private double totalWeight;
306 ashish 31
 
486 rajveer 32
	private String airwayBillNo;
33
	private String billedBy;
34
	private String invoiceNumber;
35
 
484 rajveer 36
	private boolean alert;
306 ashish 37
 
167 ashish 38
	@SuppressWarnings("unused")
39
	private Order(){ }
484 rajveer 40
 
41
	public Order(long orderId, long customerId, String customerName,
42
			String customerMobileNumber, String customerPincode,
43
			String customerAddress, String customerEmail, long createdOn,
44
			long expectedDeliveryTime, long status, String statusMessage,
45
			String skuId, String vendor, String modelName,
46
			String modelNumber, String extraInfo, double totalAmount,
486 rajveer 47
			double totalWeight, String airwayBillNo, String billedBy,
48
			String invoiceNumber, boolean alert) {
484 rajveer 49
		super();
50
		this.orderId = orderId;
167 ashish 51
		this.customerId = customerId;
484 rajveer 52
		this.customerName = customerName;
53
		this.customerMobileNumber = customerMobileNumber;
54
		this.customerPincode = customerPincode;
55
		this.customerAddress = customerAddress;
56
		this.customerEmail = customerEmail;
167 ashish 57
		this.createdOn = createdOn;
58
		this.expectedDeliveryTime = expectedDeliveryTime;
484 rajveer 59
		this.setStatus(status);
60
		this.statusMessage = statusMessage;
61
		this.skuId = skuId;
306 ashish 62
		this.vendor = vendor;
484 rajveer 63
		this.modelName = modelName;
64
		this.modelNumber = modelNumber;
65
		this.extraInfo = extraInfo;
66
		this.totalAmount = totalAmount;
67
		this.totalWeight = totalWeight;
486 rajveer 68
		this.airwayBillNo = airwayBillNo;
69
		this.billedBy = billedBy;
70
		this.invoiceNumber = invoiceNumber; 
484 rajveer 71
		this.alert = alert;
167 ashish 72
	}
73
 
74
	public long getCustomerId() {
75
		return customerId;
76
	}
77
 
78
 
79
	public long getCreatedOn() {
80
		return createdOn;
81
	}
82
 
83
	public long getExpectedDeliveryTime() {
84
		return expectedDeliveryTime;
85
	}
86
 
306 ashish 87
	public void setStatusMessage(String message){
88
		this.statusMessage = message;
89
	}
90
 
167 ashish 91
	public String getStatusMessage() {
92
		return statusMessage;
306 ashish 93
	}
94
 
95
	public boolean isAlert() {
96
		return alert;
97
	}
98
 
99
	public void setAlert(boolean alert) {
100
		this.alert = alert;
101
	}
102
 
484 rajveer 103
	public void setOrderId(long orderId) {
104
		this.orderId = orderId;
306 ashish 105
	}
106
 
484 rajveer 107
	public long getOrderId() {
108
		return orderId;
306 ashish 109
	}
110
 
484 rajveer 111
	public void setCustomerName(String customerName) {
112
		this.customerName = customerName;
306 ashish 113
	}
114
 
484 rajveer 115
	public String getCustomerName() {
116
		return customerName;
117
	}
118
 
119
	public void setCustomerMobileNumber(String customerMobileNumber) {
120
		this.customerMobileNumber = customerMobileNumber;
121
	}
122
 
123
	public String getCustomerMobileNumber() {
124
		return customerMobileNumber;
125
	}
126
 
127
	public void setCustomerPincode(String customerPincode) {
128
		this.customerPincode = customerPincode;
129
	}
130
 
131
	public String getCustomerPincode() {
132
		return customerPincode;
133
	}
134
 
135
	public void setCustomerEmail(String customerEmail) {
136
		this.customerEmail = customerEmail;
137
	}
138
 
139
	public String getCustomerEmail() {
140
		return customerEmail;
141
	}
142
 
143
	public void setCustomerAddress(String customerAddress) {
144
		this.customerAddress = customerAddress;
145
	}
146
 
147
	public String getCustomerAddress() {
148
		return customerAddress;
149
	}
150
 
151
	public void setSkuId(String skuId) {
152
		this.skuId = skuId;
153
	}
154
 
155
	public String getSkuId() {
156
		return skuId;
157
	}
158
 
159
	public void setModelName(String modelName) {
160
		this.modelName = modelName;
161
	}
162
 
163
	public String getModelName() {
164
		return modelName;
165
	}
166
 
167
	public void setTotalWeight(double totalWeight) {
168
		this.totalWeight = totalWeight;
169
	}
170
 
171
	public double getTotalWeight() {
172
		return totalWeight;
173
	}
174
 
175
	public void setExtraInfo(String extraInfo) {
176
		this.extraInfo = extraInfo;
177
	}
178
 
179
	public String getExtraInfo() {
180
		return extraInfo;
181
	}
182
 
183
	public void setModelNumber(String modelNumber) {
184
		this.modelNumber = modelNumber;
185
	}
186
 
187
	public String getModelNumber() {
188
		return modelNumber;
189
	}
190
 
191
	public void setTotalAmount(double totalAmount) {
192
		this.totalAmount = totalAmount;
193
	}
194
 
195
	public double getTotalAmount() {
196
		return totalAmount;
197
	}
198
 
199
	public void setVendor(String vendor) {
200
		this.vendor = vendor;
201
	}
202
 
306 ashish 203
	public String getVendor() {
204
		return vendor;
205
	}
206
 
484 rajveer 207
	public void setStatus(long status) {
208
		this.status = status;
306 ashish 209
	}
210
 
484 rajveer 211
	public long getStatus() {
212
		return status;
213
	}
214
 
486 rajveer 215
	public void setAirwayBillNo(String airwayBillNo) {
216
		this.airwayBillNo = airwayBillNo;
217
	}
218
 
219
	public String getAirwayBillNo() {
220
		return airwayBillNo;
221
	}
222
 
223
	public void setBilledBy(String billedBy) {
224
		this.billedBy = billedBy;
225
	}
226
 
227
	public String getBilledBy() {
228
		return billedBy;
229
	}
230
 
231
	public void setInvoiceNumber(String invoiceNumber) {
232
		this.invoiceNumber = invoiceNumber;
233
	}
234
 
235
	public String getInvoiceNumber() {
236
		return invoiceNumber;
237
	}
238
 
167 ashish 239
}