Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
21545 ashik.ali 1
package com.spice.profitmandi.dao.entity;
2
 
3
import java.io.Serializable;
4
import java.time.LocalDateTime;
5
 
6
import javax.persistence.Column;
7
import javax.persistence.Entity;
8
import javax.persistence.EnumType;
9
import javax.persistence.Enumerated;
10
import javax.persistence.GeneratedValue;
11
import javax.persistence.GenerationType;
12
import javax.persistence.Id;
13
import javax.persistence.NamedQueries;
14
import javax.persistence.NamedQuery;
15
import javax.persistence.Table;
16
 
17
import com.spice.profitmandi.dao.enumuration.DelayReason;
18
import com.spice.profitmandi.dao.enumuration.OrderStatus;
19
import com.spice.profitmandi.dao.enumuration.TaxType;
20
 
21
/**
22
 * This class basically contains order details
23
 * 
24
 * @author ashikali
25
 *
26
 */
27
@Entity
28
@Table(name="transaction.`order`", schema = "transaction")
29
@NamedQueries({
30
	@NamedQuery(name="Order.selectAll",query="select o from Order o"),
31
	@NamedQuery(name="Order.selectById",query="select o from Order o where o.id= :id"),
32
	@NamedQuery(name = "Order.selectCountByTransactionId", query = "select count(o) from Order o where o.transactionId = :transactionId"),
33
	@NamedQuery(
21573 ashik.ali 34
		name = "Order.selectByTransactionId", 
35
		query = "select t.id, t.createTimestamp, o.retailerAddress1, o.retailerAddress2, o.retailerCity, "
36
			+ "o.retailerPinCode, o.retailerState, o.shippingCost, o.statusDescription, o.invoiceNumber, o.airwayBillNumber, o.totalAmount, li.brand, li.modelName, "
37
			+ "li.modelNumber, li.color, li.quantity, li.unitPrice, p.id, p.name, o.shippingTimestamp, o.status from Transaction t join Order o on o.transactionId = t.id "
38
			+ "join LineItem li on li.orderId = o.id left join Provider p on p.id = o.logisticsProviderId where o.transactionId = :transactionId"),
39
	@NamedQuery(
21580 ashik.ali 40
		name = "Order.selectByAirwayBillOrInvoiceNumber",
21585 ashik.ali 41
		query = "select li.itemId, li.brand, li.modelName, li.modelNumber, li.color, li.quantity, li.unitPrice, i.type, sum(li.quantity), o.invoiceNumber from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId where (o.airwayBillNumber = :airwayBillOrInvoiceNumber or o.invoiceNumber = :airwayBillOrInvoiceNumber) and o.retailerId = :retailerId group by li.itemId"),
21609 ashik.ali 42
 
43
	@NamedQuery(
44
		name = "Order.selectSerialNumbersByItemIdInvoiceNumberRetailerId",
45
		query = "select li.serialNumber from Order o join LineItem li on li.orderId = o.id where o.retailerId = :retailerId and o.invoiceNumber = :invoiceNumber and li.itemId = :itemId")
21545 ashik.ali 46
})
47
public class Order implements Serializable{
48
 
49
	private static final long serialVersionUID = 1L;
50
 
51
	public Order() {
52
	}
53
 
54
	@Id
55
	@Column(name="id", unique=true, updatable=false)
56
	@GeneratedValue(strategy = GenerationType.IDENTITY)
57
	private int id;
58
 
59
	@Column(name = "warehouse_id")
60
	private int warehouseId;
61
 
62
	@Column(name = "seller_id")
63
	private int sellerId;
64
 
65
	@Column(name = "warehouse_address_id")
66
	private int warehouseAddressId;
67
 
68
	@Column(name = "logistics_provider_id")
69
	private int logisticsProviderId;
70
 
21614 kshitij.so 71
	@Column(name = "airwaybill_no", length = 50)
21545 ashik.ali 72
	private String airwayBillNumber;
73
 
74
	@Column(name = "tracking_id", length = 50)
75
	private String trackingId;
76
 
77
	@Column(name = "expected_delivery_time")
78
	private LocalDateTime expectedDeliveryTime;
79
 
80
	@Column(name = "promised_delivery_time")
81
	private LocalDateTime promisedDeliveryTime;
82
 
83
	@Column(name = "expected_shipping_time")
84
	private LocalDateTime expectedShippingTime;
85
 
86
	@Column(name = "promised_shipping_time")
87
	private LocalDateTime promisedShippingTime;
88
 
89
	@Column(name = "customer_id")
90
	private int retailerId;
91
 
92
	@Column(name = "customer_name", length = 50)
93
	private String retailerName;
94
 
95
	@Column(name = "customer_mobilenumber", length = 20)
96
	private String retailerMobileNumber;
97
 
98
	@Column(name = "customer_pincode", length = 10)
99
	private String retailerPinCode;
100
 
101
	@Column(name = "customer_address1", length = 100)
102
	private String retailerAddress1;
103
 
104
	@Column(name = "customer_address2", length = 100)
105
	private String retailerAddress2;
106
 
107
	@Column(name = "customer_city", length = 100)
108
	private String retailerCity;
109
 
110
	@Column(name = "customer_state", length = 100)
111
	private String retailerState;
112
 
113
	@Column(name = "customer_email", length = 50)
114
	private String retailerEmailId;
115
 
116
	@Column(name = "status")
117
	@Enumerated(EnumType.ORDINAL)
118
	private OrderStatus status;
119
 
120
	@Column(name = "statusDescription", length = 50)
121
	private String statusDescription;
122
 
123
	@Column(name = "total_amount")
124
	private float totalAmount;
125
 
126
	@Column(name = "gvAmount")
127
	private float gvAmount;
128
 
129
	@Column(name = "total_weight")
130
	private float totalWeight;
131
 
132
	@Column(name = "invoice_number", length = 30)
133
	private String invoiceNumber;
134
 
135
	@Column(name = "billed_by", length = 30)
136
	private String billedBy;
137
 
138
	@Column(name = "created_timestamp")
139
	private LocalDateTime createTimestamp;
140
 
141
	@Column(name = "accepted_timestamp")
142
	private LocalDateTime acceptedTimestamp;
143
 
144
	@Column(name = "billing_timestamp")
145
	private LocalDateTime billingTimestamp;
146
 
147
	@Column(name = "shipping_timestamp")
148
	private LocalDateTime shippingTimestamp;
149
 
150
	@Column(name = "pickup_timestamp")
151
	private LocalDateTime pickupTimestamp;
152
 
153
	@Column(name = "delivery_timestamp")
154
	private LocalDateTime deliveryTimestamp;
155
 
156
	@Column(name = "outofstock_timestamp")
157
	private LocalDateTime outOfStockTimestamp;
158
 
159
	@Column(name = "transaction_id")
160
    private int transactionId;
161
 
162
	@Column(name = "jacket_number", length = 10)
163
	private int jacketNumber;
164
 
165
	@Column(name = "receiver", length = 50)
166
	private String receiver;
167
 
168
	@Column(name = "batchNo")
169
	private int batchNumber;
170
 
171
	@Column(name = "serialNo")
172
	private int serialNumber;
173
 
174
	@Column(name = "doaFlag", columnDefinition="tinyint(1) default 0")
175
	private boolean doaFlag;
176
 
177
	@Column(name = "pickupRequestNo")
178
	private int pickupRequestNumber;
179
 
180
	@Column(name = "new_order_id")
181
	private int newOrderId;
182
 
183
	@Column(name = "doa_auth_timestamp")
184
	private LocalDateTime doaAuthTimestamp;
185
 
186
	@Column(name = "doa_pickup_timestamp")
187
	private LocalDateTime doaPickupTimestamp;
188
 
189
	@Column(name = "received_return_timestamp")
190
	private LocalDateTime receiverReturnTimestamp;
191
 
192
	@Column(name = "reship_timestamp")
193
	private LocalDateTime reShipTimestamp;
194
 
195
	@Column(name = "refund_timestamp")
196
	private LocalDateTime refundTimestamp;
197
 
198
	@Column(name = "purchase_order_id")
199
	private int purchaseOrderId;
200
 
201
	@Column(name = "cod", columnDefinition="tinyint(1) default 0")
202
	private boolean cod;
203
 
204
	@Column(name = "verification_timestamp")
205
	private LocalDateTime verificationTimestamp;
206
 
207
	@Column(name = "refund_by", length = 30)
208
	private String refundBy;
209
 
210
	@Column(name = "refund_reason", length = 256)
211
	private String refundReason;
212
 
213
	@Column(name = "delay_reason")
214
	private DelayReason delayReason;
215
 
216
	@Column(name = "cod_reconciliation_timestamp")
217
	private LocalDateTime codReconciliationTimestamp;
218
 
219
	@Column(name = "previous_status")
220
	private int previousStatus;
221
 
222
 
223
	@Column(name = "vendorId")
224
	private int vendorId;
225
 
226
	@Column(name = "delayReasonText", length = 250)
227
	private String delayReasonText;
228
 
229
	@Column(name = "doa_logistics_provider_id")
230
	private int doaLogisticsProviderId;
231
 
232
	@Column(name = "vendor_paid", columnDefinition="tinyint(1) default 0")
233
	private boolean vendorPaid;
234
 
235
	@Column(name = "local_connected_timestamp")
236
	private LocalDateTime localConnectedTimestamp;
237
 
238
	@Column(name = "reached_destination_timestamp")
239
	private LocalDateTime reachedDestinationTimestamp;
240
 
241
	@Column(name = "first_dlvyatmp_timestamp")
242
	private LocalDateTime firstDlvyatmpTimestamp;
243
 
244
	@Column(name = "originalOrderId")
245
	private int originalOrderId;
246
 
247
	@Column(name = "fulfilmentWarehouseId")
248
	private int fulfilmentWarehouseId;
249
 
250
	@Column(name = "orderType")
251
	private int orderType;
252
 
253
	@Column(name = "pickupStoreId")
254
	private int pickupStoreId;
255
 
256
	@Column(name = "otg", columnDefinition="tinyint(1) default 0")
257
	private boolean otg;
258
 
259
	@Column(name = "courier_delivery_time")
260
	private LocalDateTime courierDeliveryTimestamp;
261
 
262
 
263
	@Column(name = "insurer")
264
	private int insurer;
265
 
266
	@Column(name = "insuranceAmount")
267
	private float insuranceAmount;
268
 
269
	@Column(name = "freebieItemId")
270
	private int freebieItemId;
271
 
272
	@Column(name = "source")
273
	private int source;
274
 
275
	@Column(name = "advanceAmount")
276
	private float advanceAmount;
277
 
278
	@Column(name = "storeId")
279
	private int storeId;
280
 
281
	@Column(name = "productCondition")
282
	private int productCondition;
283
 
284
 
285
	@Column(name = "dataProtectionInsurer")
286
	private int dataProtectionInsurer;
287
 
288
	@Column(name = "dataProtectionAmount")
289
	private int dataProtectionAmount;
290
 
291
	@Column(name = "taxType")
292
	@Enumerated(EnumType.STRING)
293
	private TaxType taxType;
294
 
295
	@Column(name = "logisticsTransactionId", length = 100)
296
	private String logisticsTransactionId;
297
 
298
	@Column(name = "shippingCost")
299
	private float shippingCost;
300
 
301
	@Column(name = "codCharges")
302
	private float codCharges;
303
 
304
	@Column(name = "wallet_amount")
305
	private float walletAmount;
306
 
307
	@Column(name = "net_payable_amount")
308
	private float netPayableAmount;
309
 
310
	@Column(name = "shippingRefund")
311
	private float shippingRefund;
312
 
313
	public int getId() {
314
		return id;
315
	}
316
	public void setId(int id) {
317
		this.id = id;
318
	}
319
	public int getWarehouseId() {
320
		return warehouseId;
321
	}
322
	public void setWarehouseId(int warehouseId) {
323
		this.warehouseId = warehouseId;
324
	}
325
	public int getSellerId() {
326
		return sellerId;
327
	}
328
	public void setSellerId(int sellerId) {
329
		this.sellerId = sellerId;
330
	}
331
	public int getWarehouseAddressId() {
332
		return warehouseAddressId;
333
	}
334
	public void setWarehouseAddressId(int warehouseAddressId) {
335
		this.warehouseAddressId = warehouseAddressId;
336
	}
337
	public int getLogisticsProviderId() {
338
		return logisticsProviderId;
339
	}
340
	public void setLogisticsProviderId(int logisticsProviderId) {
341
		this.logisticsProviderId = logisticsProviderId;
342
	}
343
	public String getAirwayBillNumber() {
344
		return airwayBillNumber;
345
	}
346
	public void setAirwayBillNumber(String airwayBillNumber) {
347
		this.airwayBillNumber = airwayBillNumber;
348
	}
349
	public String getTrackingId() {
350
		return trackingId;
351
	}
352
	public void setTrackingId(String trackingId) {
353
		this.trackingId = trackingId;
354
	}
355
	public LocalDateTime getExpectedDeliveryTime() {
356
		return expectedDeliveryTime;
357
	}
358
	public void setExpectedDeliveryTime(LocalDateTime expectedDeliveryTime) {
359
		this.expectedDeliveryTime = expectedDeliveryTime;
360
	}
361
	public LocalDateTime getPromisedDeliveryTime() {
362
		return promisedDeliveryTime;
363
	}
364
	public void setPromisedDeliveryTime(LocalDateTime promisedDeliveryTime) {
365
		this.promisedDeliveryTime = promisedDeliveryTime;
366
	}
367
	public LocalDateTime getExpectedShippingTime() {
368
		return expectedShippingTime;
369
	}
370
	public void setExpectedShippingTime(LocalDateTime expectedShippingTime) {
371
		this.expectedShippingTime = expectedShippingTime;
372
	}
373
	public LocalDateTime getPromisedShippingTime() {
374
		return promisedShippingTime;
375
	}
376
	public void setPromisedShippingTime(LocalDateTime promisedShippingTime) {
377
		this.promisedShippingTime = promisedShippingTime;
378
	}
379
	public int getRetailerId() {
380
		return retailerId;
381
	}
382
	public void setRetailerId(int retailerId) {
383
		this.retailerId = retailerId;
384
	}
385
	public String getRetailerName() {
386
		return retailerName;
387
	}
388
	public void setRetailerName(String retailerName) {
389
		this.retailerName = retailerName;
390
	}
391
	public String getRetailerMobileNumber() {
392
		return retailerMobileNumber;
393
	}
394
	public void setRetailerMobileNumber(String retailerMobileNumber) {
395
		this.retailerMobileNumber = retailerMobileNumber;
396
	}
397
	public String getRetailerPinCode() {
398
		return retailerPinCode;
399
	}
400
	public void setRetailerPinCode(String retailerPinCode) {
401
		this.retailerPinCode = retailerPinCode;
402
	}
403
	public String getRetailerAddress1() {
404
		return retailerAddress1;
405
	}
406
	public void setRetailerAddress1(String retailerAddress1) {
407
		this.retailerAddress1 = retailerAddress1;
408
	}
409
	public String getRetailerAddress2() {
410
		return retailerAddress2;
411
	}
412
	public void setRetailerAddress2(String retailerAddress2) {
413
		this.retailerAddress2 = retailerAddress2;
414
	}
415
	public String getRetailerCity() {
416
		return retailerCity;
417
	}
418
	public void setRetailerCity(String retailerCity) {
419
		this.retailerCity = retailerCity;
420
	}
421
	public String getRetailerState() {
422
		return retailerState;
423
	}
424
	public void setRetailerState(String retailerState) {
425
		this.retailerState = retailerState;
426
	}
427
	public String getRetailerEmailId() {
428
		return retailerEmailId;
429
	}
430
	public void setRetailerEmailId(String retailerEmailId) {
431
		this.retailerEmailId = retailerEmailId;
432
	}
433
	public OrderStatus getStatus() {
434
		return status;
435
	}
436
	public void setStatus(OrderStatus status) {
437
		this.status = status;
438
	}
439
	public String getStatusDescription() {
440
		return statusDescription;
441
	}
442
	public void setStatusDescription(String statusDescription) {
443
		this.statusDescription = statusDescription;
444
	}
445
	public float getTotalAmount() {
446
		return totalAmount;
447
	}
448
	public void setTotalAmount(float totalAmount) {
449
		this.totalAmount = totalAmount;
450
	}
451
	public float getGvAmount() {
452
		return gvAmount;
453
	}
454
	public void setGvAmount(float gvAmount) {
455
		this.gvAmount = gvAmount;
456
	}
457
	public float getTotalWeight() {
458
		return totalWeight;
459
	}
460
	public void setTotalWeight(float totalWeight) {
461
		this.totalWeight = totalWeight;
462
	}
463
	public String getInvoiceNumber() {
464
		return invoiceNumber;
465
	}
466
	public void setInvoiceNumber(String invoiceNumber) {
467
		this.invoiceNumber = invoiceNumber;
468
	}
469
	public String getBilledBy() {
470
		return billedBy;
471
	}
472
	public void setBilledBy(String billedBy) {
473
		this.billedBy = billedBy;
474
	}
475
	public LocalDateTime getCreateTimestamp() {
476
		return createTimestamp;
477
	}
478
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
479
		this.createTimestamp = createTimestamp;
480
	}
481
	public LocalDateTime getAcceptedTimestamp() {
482
		return acceptedTimestamp;
483
	}
484
	public void setAcceptedTimestamp(LocalDateTime acceptedTimestamp) {
485
		this.acceptedTimestamp = acceptedTimestamp;
486
	}
487
	public LocalDateTime getBillingTimestamp() {
488
		return billingTimestamp;
489
	}
490
	public void setBillingTimestamp(LocalDateTime billingTimestamp) {
491
		this.billingTimestamp = billingTimestamp;
492
	}
493
	public LocalDateTime getShippingTimestamp() {
494
		return shippingTimestamp;
495
	}
496
	public void setShippingTimestamp(LocalDateTime shippingTimestamp) {
497
		this.shippingTimestamp = shippingTimestamp;
498
	}
499
	public LocalDateTime getPickupTimestamp() {
500
		return pickupTimestamp;
501
	}
502
	public void setPickupTimestamp(LocalDateTime pickupTimestamp) {
503
		this.pickupTimestamp = pickupTimestamp;
504
	}
505
	public LocalDateTime getDeliveryTimestamp() {
506
		return deliveryTimestamp;
507
	}
508
	public void setDeliveryTimestamp(LocalDateTime deliveryTimestamp) {
509
		this.deliveryTimestamp = deliveryTimestamp;
510
	}
511
	public LocalDateTime getOutOfStockTimestamp() {
512
		return outOfStockTimestamp;
513
	}
514
	public void setOutOfStockTimestamp(LocalDateTime outOfStockTimestamp) {
515
		this.outOfStockTimestamp = outOfStockTimestamp;
516
	}
517
	public int getTransactionId() {
518
		return transactionId;
519
	}
520
	public void setTransactionId(int transactionId) {
521
		this.transactionId = transactionId;
522
	}
523
 
524
 
525
	public int getJacketNumber() {
526
		return jacketNumber;
527
	}
528
	public void setJacketNumber(int jacketNumber) {
529
		this.jacketNumber = jacketNumber;
530
	}
531
	public String getReceiver() {
532
		return receiver;
533
	}
534
	public void setReceiver(String receiver) {
535
		this.receiver = receiver;
536
	}
537
	public int getBatchNumber() {
538
		return batchNumber;
539
	}
540
	public void setBatchNumber(int batchNumber) {
541
		this.batchNumber = batchNumber;
542
	}
543
	public int getSerialNumber() {
544
		return serialNumber;
545
	}
546
	public void setSerialNumber(int serialNumber) {
547
		this.serialNumber = serialNumber;
548
	}
549
	public boolean isDoaFlag() {
550
		return doaFlag;
551
	}
552
	public void setDoaFlag(boolean doaFlag) {
553
		this.doaFlag = doaFlag;
554
	}
555
	public int getPickupRequestNumber() {
556
		return pickupRequestNumber;
557
	}
558
	public void setPickupRequestNumber(int pickupRequestNumber) {
559
		this.pickupRequestNumber = pickupRequestNumber;
560
	}
561
	public int getNewOrderId() {
562
		return newOrderId;
563
	}
564
	public void setNewOrderId(int newOrderId) {
565
		this.newOrderId = newOrderId;
566
	}
567
	public LocalDateTime getDoaAuthTimestamp() {
568
		return doaAuthTimestamp;
569
	}
570
	public void setDoaAuthTimestamp(LocalDateTime doaAuthTimestamp) {
571
		this.doaAuthTimestamp = doaAuthTimestamp;
572
	}
573
	public LocalDateTime getDoaPickupTimestamp() {
574
		return doaPickupTimestamp;
575
	}
576
	public void setDoaPickupTimestamp(LocalDateTime doaPickupTimestamp) {
577
		this.doaPickupTimestamp = doaPickupTimestamp;
578
	}
579
	public LocalDateTime getReceiverReturnTimestamp() {
580
		return receiverReturnTimestamp;
581
	}
582
	public void setReceiverReturnTimestamp(LocalDateTime receiverReturnTimestamp) {
583
		this.receiverReturnTimestamp = receiverReturnTimestamp;
584
	}
585
	public LocalDateTime getReShipTimestamp() {
586
		return reShipTimestamp;
587
	}
588
	public void setReShipTimestamp(LocalDateTime reShipTimestamp) {
589
		this.reShipTimestamp = reShipTimestamp;
590
	}
591
	public LocalDateTime getRefundTimestamp() {
592
		return refundTimestamp;
593
	}
594
	public void setRefundTimestamp(LocalDateTime refundTimestamp) {
595
		this.refundTimestamp = refundTimestamp;
596
	}
597
	public int getPurchaseOrderId() {
598
		return purchaseOrderId;
599
	}
600
	public void setPurchaseOrderId(int purchaseOrderId) {
601
		this.purchaseOrderId = purchaseOrderId;
602
	}
603
	public boolean isCod() {
604
		return cod;
605
	}
606
	public void setCod(boolean cod) {
607
		this.cod = cod;
608
	}
609
	public LocalDateTime getVerificationTimestamp() {
610
		return verificationTimestamp;
611
	}
612
	public void setVerificationTimestamp(LocalDateTime verificationTimestamp) {
613
		this.verificationTimestamp = verificationTimestamp;
614
	}
615
	public String getRefundBy() {
616
		return refundBy;
617
	}
618
	public void setRefundBy(String refundBy) {
619
		this.refundBy = refundBy;
620
	}
621
	public String getRefundReason() {
622
		return refundReason;
623
	}
624
	public void setRefundReason(String refundReason) {
625
		this.refundReason = refundReason;
626
	}
627
	public DelayReason getDelayReason() {
628
		return delayReason;
629
	}
630
	public void setDelayReason(DelayReason delayReason) {
631
		this.delayReason = delayReason;
632
	}
633
	public LocalDateTime getCodReconciliationTimestamp() {
634
		return codReconciliationTimestamp;
635
	}
636
	public void setCodReconciliationTimestamp(LocalDateTime codReconciliationTimestamp) {
637
		this.codReconciliationTimestamp = codReconciliationTimestamp;
638
	}
639
	public int getPreviousStatus() {
640
		return previousStatus;
641
	}
642
	public void setPreviousStatus(int previousStatus) {
643
		this.previousStatus = previousStatus;
644
	}
645
	public int getVendorId() {
646
		return vendorId;
647
	}
648
	public void setVendorId(int vendorId) {
649
		this.vendorId = vendorId;
650
	}
651
	public String getDelayReasonText() {
652
		return delayReasonText;
653
	}
654
	public void setDelayReasonText(String delayReasonText) {
655
		this.delayReasonText = delayReasonText;
656
	}
657
	public int getDoaLogisticsProviderId() {
658
		return doaLogisticsProviderId;
659
	}
660
	public void setDoaLogisticsProviderId(int doaLogisticsProviderId) {
661
		this.doaLogisticsProviderId = doaLogisticsProviderId;
662
	}
663
	public boolean isVendorPaid() {
664
		return vendorPaid;
665
	}
666
	public void setVendorPaid(boolean vendorPaid) {
667
		this.vendorPaid = vendorPaid;
668
	}
669
	public LocalDateTime getLocalConnectedTimestamp() {
670
		return localConnectedTimestamp;
671
	}
672
	public void setLocalConnectedTimestamp(LocalDateTime localConnectedTimestamp) {
673
		this.localConnectedTimestamp = localConnectedTimestamp;
674
	}
675
	public LocalDateTime getReachedDestinationTimestamp() {
676
		return reachedDestinationTimestamp;
677
	}
678
	public void setReachedDestinationTimestamp(LocalDateTime reachedDestinationTimestamp) {
679
		this.reachedDestinationTimestamp = reachedDestinationTimestamp;
680
	}
681
	public LocalDateTime getFirstDlvyatmpTimestamp() {
682
		return firstDlvyatmpTimestamp;
683
	}
684
	public void setFirstDlvyatmpTimestamp(LocalDateTime firstDlvyatmpTimestamp) {
685
		this.firstDlvyatmpTimestamp = firstDlvyatmpTimestamp;
686
	}
687
	public int getOriginalOrderId() {
688
		return originalOrderId;
689
	}
690
	public void setOriginalOrderId(int originalOrderId) {
691
		this.originalOrderId = originalOrderId;
692
	}
693
	public int getFulfilmentWarehouseId() {
694
		return fulfilmentWarehouseId;
695
	}
696
	public void setFulfilmentWarehouseId(int fulfilmentWarehouseId) {
697
		this.fulfilmentWarehouseId = fulfilmentWarehouseId;
698
	}
699
	public int getOrderType() {
700
		return orderType;
701
	}
702
	public void setOrderType(int orderType) {
703
		this.orderType = orderType;
704
	}
705
	public int getPickupStoreId() {
706
		return pickupStoreId;
707
	}
708
	public void setPickupStoreId(int pickupStoreId) {
709
		this.pickupStoreId = pickupStoreId;
710
	}
711
	public boolean isOtg() {
712
		return otg;
713
	}
714
	public void setOtg(boolean otg) {
715
		this.otg = otg;
716
	}
717
	public LocalDateTime getCourierDeliveryTimestamp() {
718
		return courierDeliveryTimestamp;
719
	}
720
	public void setCourierDeliveryTimestamp(LocalDateTime courierDeliveryTimestamp) {
721
		this.courierDeliveryTimestamp = courierDeliveryTimestamp;
722
	}
723
	public int getInsurer() {
724
		return insurer;
725
	}
726
	public void setInsurer(int insurer) {
727
		this.insurer = insurer;
728
	}
729
	public float getInsuranceAmount() {
730
		return insuranceAmount;
731
	}
732
	public void setInsuranceAmount(float insuranceAmount) {
733
		this.insuranceAmount = insuranceAmount;
734
	}
735
	public int getFreebieItemId() {
736
		return freebieItemId;
737
	}
738
	public void setFreebieItemId(int freebieItemId) {
739
		this.freebieItemId = freebieItemId;
740
	}
741
	public int getSource() {
742
		return source;
743
	}
744
	public void setSource(int source) {
745
		this.source = source;
746
	}
747
	public float getAdvanceAmount() {
748
		return advanceAmount;
749
	}
750
	public void setAdvanceAmount(float advanceAmount) {
751
		this.advanceAmount = advanceAmount;
752
	}
753
	public int getStoreId() {
754
		return storeId;
755
	}
756
	public void setStoreId(int storeId) {
757
		this.storeId = storeId;
758
	}
759
	public int getProductCondition() {
760
		return productCondition;
761
	}
762
	public void setProductCondition(int productCondition) {
763
		this.productCondition = productCondition;
764
	}
765
	public int getDataProtectionInsurer() {
766
		return dataProtectionInsurer;
767
	}
768
	public void setDataProtectionInsurer(int dataProtectionInsurer) {
769
		this.dataProtectionInsurer = dataProtectionInsurer;
770
	}
771
	public int getDataProtectionAmount() {
772
		return dataProtectionAmount;
773
	}
774
	public void setDataProtectionAmount(int dataProtectionAmount) {
775
		this.dataProtectionAmount = dataProtectionAmount;
776
	}
777
	public TaxType getTaxType() {
778
		return taxType;
779
	}
780
	public void setTaxType(TaxType taxType) {
781
		this.taxType = taxType;
782
	}
783
	public String getLogisticsTransactionId() {
784
		return logisticsTransactionId;
785
	}
786
	public void setLogisticsTransactionId(String logisticsTransactionId) {
787
		this.logisticsTransactionId = logisticsTransactionId;
788
	}
789
	public float getShippingCost() {
790
		return shippingCost;
791
	}
792
	public void setShippingCost(float shippingCost) {
793
		this.shippingCost = shippingCost;
794
	}
795
	public float getCodCharges() {
796
		return codCharges;
797
	}
798
	public void setCodCharges(float codCharges) {
799
		this.codCharges = codCharges;
800
	}
801
	public float getWalletAmount() {
802
		return walletAmount;
803
	}
804
	public void setWalletAmount(float walletAmount) {
805
		this.walletAmount = walletAmount;
806
	}
807
	public float getNetPayableAmount() {
808
		return netPayableAmount;
809
	}
810
	public void setNetPayableAmount(float netPayableAmount) {
811
		this.netPayableAmount = netPayableAmount;
812
	}
813
	public float getShippingRefund() {
814
		return shippingRefund;
815
	}
816
	public void setShippingRefund(float shippingRefund) {
817
		this.shippingRefund = shippingRefund;
818
	}
819
	@Override
820
	public String toString() {
821
		return "Order [id=" + id + ", warehouseId=" + warehouseId + ", sellerId=" + sellerId + ", warehouseAddressId="
822
				+ warehouseAddressId + ", logisticsProviderId=" + logisticsProviderId + ", airwayBillNumber="
823
				+ airwayBillNumber + ", trackingId=" + trackingId + ", expectedDeliveryTime=" + expectedDeliveryTime
824
				+ ", promisedDeliveryTime=" + promisedDeliveryTime + ", expectedShippingTime=" + expectedShippingTime
825
				+ ", promisedShippingTime=" + promisedShippingTime + ", retailerId=" + retailerId + ", retailerName="
826
				+ retailerName + ", retailerMobileNumber=" + retailerMobileNumber + ", retailerPinCode="
827
				+ retailerPinCode + ", retailerAddress1=" + retailerAddress1 + ", retailerAddress2=" + retailerAddress2
828
				+ ", retailerCity=" + retailerCity + ", retailerState=" + retailerState + ", retailerEmailId="
829
				+ retailerEmailId + ", status=" + status + ", statusDescription=" + statusDescription + ", totalAmount="
830
				+ totalAmount + ", gvAmount=" + gvAmount + ", totalWeight=" + totalWeight + ", invoiceNumber="
831
				+ invoiceNumber + ", billedBy=" + billedBy + ", createTimestamp=" + createTimestamp
832
				+ ", acceptedTimestamp=" + acceptedTimestamp + ", billingTimestamp=" + billingTimestamp
833
				+ ", shippingTimestamp=" + shippingTimestamp + ", pickupTimestamp=" + pickupTimestamp
834
				+ ", deliveryTimestamp=" + deliveryTimestamp + ", outOfStockTimestamp=" + outOfStockTimestamp
835
				+ ", jacketNumber=" + jacketNumber + ", receiver=" + receiver
836
				+ ", batchNumber=" + batchNumber + ", serialNumber=" + serialNumber + ", doaFlag=" + doaFlag
837
				+ ", pickupRequestNumber=" + pickupRequestNumber + ", newOrderId=" + newOrderId + ", doaAuthTimestamp="
838
				+ doaAuthTimestamp + ", doaPickupTimestamp=" + doaPickupTimestamp + ", receiverReturnTimestamp="
839
				+ receiverReturnTimestamp + ", reShipTimestamp=" + reShipTimestamp + ", refundTimestamp="
840
				+ refundTimestamp + ", purchaseOrderId=" + purchaseOrderId + ", cod=" + cod + ", verificationTimestamp="
841
				+ verificationTimestamp + ", refundBy=" + refundBy + ", refundReason=" + refundReason + ", delayReason="
842
				+ delayReason + ", codReconciliationTimestamp=" + codReconciliationTimestamp + ", previousStatus="
843
				+ previousStatus + ", vendorId=" + vendorId + ", delayReasonText=" + delayReasonText
844
				+ ", doaLogisticsProviderId=" + doaLogisticsProviderId + ", vendorPaid=" + vendorPaid
845
				+ ", localConnectedTimestamp=" + localConnectedTimestamp + ", reachedDestinationTimestamp="
846
				+ reachedDestinationTimestamp + ", firstDlvyatmpTimestamp=" + firstDlvyatmpTimestamp
847
				+ ", originalOrderId=" + originalOrderId + ", fulfilmentWarehouseId=" + fulfilmentWarehouseId
848
				+ ", orderType=" + orderType + ", pickupStoreId=" + pickupStoreId + ", otg=" + otg
849
				+ ", courierDeliveryTimestamp=" + courierDeliveryTimestamp + ", insurer=" + insurer
850
				+ ", insuranceAmount=" + insuranceAmount + ", freebieItemId=" + freebieItemId + ", source=" + source
851
				+ ", advanceAmount=" + advanceAmount + ", storeId=" + storeId + ", productCondition=" + productCondition
852
				+ ", dataProtectionInsurer=" + dataProtectionInsurer + ", dataProtectionAmount=" + dataProtectionAmount
853
				+ ", taxType=" + taxType + ", logisticsTransactionId=" + logisticsTransactionId + ", shippingCost="
854
				+ shippingCost + ", codCharges=" + codCharges + ", walletAmount=" + walletAmount + ", netPayableAmount="
855
				+ netPayableAmount + ", shippingRefund=" + shippingRefund + "]";
856
	}
857
 
858
 
859
 
860
 
861
}