Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
36624 amit 1
package com.spice.profitmandi.common.model;
2
 
3
import java.time.LocalDateTime;
4
import in.shop2020.model.v1.order.OrderStatus;
5
 
6
public class CustomOrder {
7
	private Integer id;
8
	private LocalDateTime expectedDeliveryTime;
9
	private LocalDateTime promisedDeliveryTime;
10
	private String retailerName;
11
	private String retailerMobileNumber;
12
	private String retailerPinCode;
13
	private String retailerAddress1;
14
	private String retailerCity;
15
	private String retailerState;
16
	private OrderStatus status;
17
	private String statusDescription;
18
	private Float totalAmount;
19
	private Integer transactionId;
20
	private Float shippingRefund;
21
	private Integer itemId;
22
	private String productGoup;
23
	private String brand;
24
	private String modelNumber;
25
	private String modelName;
26
	private String color;
27
	private Integer quantity;
28
	private Float totalPrice;
29
	private String extraInfo;
30
	private Float shippingCost;
31
	private String imageUrl;
32
	private Boolean cancellable;
33
	private String providerName;
34
	private int providerId;
35
	private String airwayBillNo;
36
	private String delayReason;
37
	private LocalDateTime cancellationTimestamp;
38
	private LocalDateTime billingTimestamp;
39
	private LocalDateTime shippingTimestamp;
40
	private String invoiceNumber;
41
	private LocalDateTime expectedShipping;
42
	private int delayAfterShipping;
43
	private TrackingModel trackingModel;
44
 
45
	public TrackingModel getTrackingModel() {
46
		return trackingModel;
47
	}
48
 
49
	public void setTrackingModel(TrackingModel trackingModel) {
50
		this.trackingModel = trackingModel;
51
	}
52
 
53
	public LocalDateTime getExpectedShipping() {
54
		return expectedShipping;
55
	}
56
 
57
	public void setExpectedShipping(LocalDateTime expectedShipping) {
58
		this.expectedShipping = expectedShipping;
59
	}
60
 
61
	public int getDelayAfterShipping() {
62
		return delayAfterShipping;
63
	}
64
 
65
	public void setDelayAfterShipping(int delayAfterShipping) {
66
		this.delayAfterShipping = delayAfterShipping;
67
	}
68
 
69
	public String getInvoiceNumber() {
70
		return invoiceNumber;
71
	}
72
 
73
	public void setInvoiceNumber(String invoiceNumber) {
74
		this.invoiceNumber = invoiceNumber;
75
	}
76
 
77
	public LocalDateTime getCancellationTimestamp() {
78
		return cancellationTimestamp;
79
	}
80
 
81
	public void setCancellationTimestamp(LocalDateTime cancellationTimestamp) {
82
		this.cancellationTimestamp = cancellationTimestamp;
83
	}
84
 
85
	public LocalDateTime getBillingTimestamp() {
86
		return billingTimestamp;
87
	}
88
 
89
	public void setBillingTimestamp(LocalDateTime billingTimestamp) {
90
		this.billingTimestamp = billingTimestamp;
91
	}
92
 
93
	public LocalDateTime getShippingTimestamp() {
94
		return shippingTimestamp;
95
	}
96
 
97
	public void setShippingTimestamp(LocalDateTime shippingTimestamp) {
98
		this.shippingTimestamp = shippingTimestamp;
99
	}
100
 
101
	public String getDelayReason() {
102
		return delayReason;
103
	}
104
 
105
	public void setDelayReason(String delayReason) {
106
		this.delayReason = delayReason;
107
	}
108
 
109
	public String getProviderName() {
110
		return providerName;
111
	}
112
 
113
	public void setProviderName(String providerName) {
114
		this.providerName = providerName;
115
	}
116
 
117
	public int getProviderId() {
118
		return providerId;
119
	}
120
 
121
	public void setProviderId(int proivderId) {
122
		this.providerId = proivderId;
123
	}
124
 
125
	public String getAirwayBillNo() {
126
		return airwayBillNo;
127
	}
128
 
129
	public void setAirwayBillNo(String airwayBillNo) {
130
		this.airwayBillNo = airwayBillNo;
131
	}
132
 
133
	public Boolean getCancellable() {
134
		return cancellable;
135
	}
136
 
137
	public Boolean isCancellable() {
138
		return cancellable;
139
	}
140
 
141
	public void setCancellable(Boolean cancellable) {
142
		this.cancellable = cancellable;
143
	}
144
 
145
	public String getImageUrl() {
146
		return imageUrl;
147
	}
148
 
149
	public void setImageUrl(String imageUrl) {
150
		this.imageUrl = imageUrl;
151
	}
152
 
153
	private LocalDateTime deliveryTimestamp;
154
 
155
	public LocalDateTime getDeliveryTimestamp() {
156
		return deliveryTimestamp;
157
	}
158
 
159
	public void setDeliveryTimestamp(LocalDateTime deliveryTimestamp) {
160
		this.deliveryTimestamp = deliveryTimestamp;
161
	}
162
 
163
	public Float getShippingCost() {
164
		return shippingCost;
165
	}
166
 
167
	public void setShippingCost(Float shippingCost) {
168
		this.shippingCost = shippingCost;
169
	}
170
 
171
	public LocalDateTime getCreateTimestamp() {
172
		return createTimestamp;
173
	}
174
 
175
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
176
		this.createTimestamp = createTimestamp;
177
	}
178
 
179
	private LocalDateTime createTimestamp;
180
 
181
	public Integer getId() {
182
		return id;
183
	}
184
 
185
	public void setId(Integer id) {
186
		this.id = id;
187
	}
188
 
189
	public LocalDateTime getExpectedDeliveryTime() {
190
		return expectedDeliveryTime;
191
	}
192
 
193
	public void setExpectedDeliveryTime(LocalDateTime expectedDeliveryTime) {
194
		this.expectedDeliveryTime = expectedDeliveryTime;
195
	}
196
 
197
	public LocalDateTime getPromisedDeliveryTime() {
198
		return promisedDeliveryTime;
199
	}
200
 
201
	public void setPromisedDeliveryTime(LocalDateTime promisedDeliveryTime) {
202
		this.promisedDeliveryTime = promisedDeliveryTime;
203
	}
204
 
205
	public String getRetailerName() {
206
		return retailerName;
207
	}
208
 
209
	public void setRetailerName(String retailerName) {
210
		this.retailerName = retailerName;
211
	}
212
 
213
	public String getRetailerMobileNumber() {
214
		return retailerMobileNumber;
215
	}
216
 
217
	public void setRetailerMobileNumber(String retailerMobileNumber) {
218
		this.retailerMobileNumber = retailerMobileNumber;
219
	}
220
 
221
	public String getRetailerPinCode() {
222
		return retailerPinCode;
223
	}
224
 
225
	public void setRetailerPinCode(String retailerPinCode) {
226
		this.retailerPinCode = retailerPinCode;
227
	}
228
 
229
	public String getRetailerAddress1() {
230
		return retailerAddress1;
231
	}
232
 
233
	public void setRetailerAddress1(String retailerAddress1) {
234
		this.retailerAddress1 = retailerAddress1;
235
	}
236
 
237
	public String getRetailerCity() {
238
		return retailerCity;
239
	}
240
 
241
	public void setRetailerCity(String retailerCity) {
242
		this.retailerCity = retailerCity;
243
	}
244
 
245
	public String getRetailerState() {
246
		return retailerState;
247
	}
248
 
249
	public void setRetailerState(String retailerState) {
250
		this.retailerState = retailerState;
251
	}
252
 
253
	public OrderStatus getStatus() {
254
		return status;
255
	}
256
 
257
	public void setStatus(OrderStatus status) {
258
		this.status = status;
259
	}
260
 
261
	public String getStatusDescription() {
262
		return statusDescription;
263
	}
264
 
265
	public void setStatusDescription(String statusDescription) {
266
		this.statusDescription = statusDescription;
267
	}
268
 
269
	public Float getTotalAmount() {
270
		return totalAmount;
271
	}
272
 
273
	public void setTotalAmount(Float totalAmount) {
274
		this.totalAmount = totalAmount;
275
	}
276
 
277
	public Integer getTransactionId() {
278
		return transactionId;
279
	}
280
 
281
	public void setTransactionId(Integer transactionId) {
282
		this.transactionId = transactionId;
283
	}
284
 
285
	public Float getShippingRefund() {
286
		return shippingRefund;
287
	}
288
 
289
	public void setShippingRefund(Float shippingRefund) {
290
		this.shippingRefund = shippingRefund;
291
	}
292
 
293
	public Integer getItemId() {
294
		return itemId;
295
	}
296
 
297
	public void setItemId(Integer itemId) {
298
		this.itemId = itemId;
299
	}
300
 
301
	public String getProductGoup() {
302
		return productGoup;
303
	}
304
 
305
	public void setProductGoup(String productGoup) {
306
		this.productGoup = productGoup;
307
	}
308
 
309
	public String getBrand() {
310
		return brand;
311
	}
312
 
313
	public void setBrand(String brand) {
314
		this.brand = brand;
315
	}
316
 
317
	public String getModelNumber() {
318
		return modelNumber;
319
	}
320
 
321
	public void setModelNumber(String modelNumber) {
322
		this.modelNumber = modelNumber;
323
	}
324
 
325
	public String getModelName() {
326
		return modelName;
327
	}
328
 
329
	public void setModelName(String modelName) {
330
		this.modelName = modelName;
331
	}
332
 
333
	public String getColor() {
334
		return color;
335
	}
336
 
337
	public void setColor(String color) {
338
		this.color = color;
339
	}
340
 
341
	public Integer getQuantity() {
342
		return quantity;
343
	}
344
 
345
	public void setQuantity(Integer quantity) {
346
		this.quantity = quantity;
347
	}
348
 
349
	public Float getTotalPrice() {
350
		return totalPrice;
351
	}
352
 
353
	public void setTotalPrice(Float totalPrice) {
354
		this.totalPrice = totalPrice;
355
	}
356
 
357
	public String getExtraInfo() {
358
		return extraInfo;
359
	}
360
 
361
	public void setExtraInfo(String extraInfo) {
362
		this.extraInfo = extraInfo;
363
	}
364
 
365
	@Override
366
	public String toString() {
367
		return "CustomOrder [id=" + id + ", expectedDeliveryTime=" + expectedDeliveryTime + ", promisedDeliveryTime="
368
				+ promisedDeliveryTime + ", retailerName=" + retailerName + ", retailerMobileNumber="
369
				+ retailerMobileNumber + ", retailerPinCode=" + retailerPinCode + ", retailerAddress1="
370
				+ retailerAddress1 + ", retailerCity=" + retailerCity + ", retailerState=" + retailerState + ", status="
371
				+ status + ", statusDescription=" + statusDescription + ", totalAmount=" + totalAmount
372
				+ ", transactionId=" + transactionId + ", shippingRefund=" + shippingRefund + ", itemId=" + itemId
373
				+ ", productGoup=" + productGoup + ", brand=" + brand + ", modelNumber=" + modelNumber + ", modelName="
374
				+ modelName + ", color=" + color + ", quantity=" + quantity + ", totalPrice=" + totalPrice
375
				+ ", extraInfo=" + extraInfo + ", shippingCost=" + shippingCost + ", imageUrl=" + imageUrl
376
				+ ", cancellable=" + cancellable + ", providerName=" + providerName + ", providerId=" + providerId
377
				+ ", airwayBillNo=" + airwayBillNo + ", delayReason=" + delayReason + ", cancellationTimestamp="
378
				+ cancellationTimestamp + ", billingTimestamp=" + billingTimestamp + ", shippingTimestamp="
379
				+ shippingTimestamp + ", invoiceNumber=" + invoiceNumber + ", delayAfterShipping=" + delayAfterShipping
380
				+ ", deliveryTimestamp=" + deliveryTimestamp + ", createTimestamp=" + createTimestamp + "]";
381
	}
382
 
383
}