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