| 21716 |
ashik.ali |
1 |
package com.spice.profitmandi.dao.entity.transaction;
|
| 21545 |
ashik.ali |
2 |
|
| 29966 |
amit.gupta |
3 |
import com.spice.profitmandi.dao.convertor.LocalDateTimeAttributeConverter;
|
|
|
4 |
import in.shop2020.model.v1.order.OrderStatus;
|
|
|
5 |
import in.shop2020.model.v1.order.TaxType;
|
|
|
6 |
|
|
|
7 |
import javax.persistence.*;
|
| 21545 |
ashik.ali |
8 |
import java.io.Serializable;
|
|
|
9 |
import java.time.LocalDateTime;
|
| 23075 |
ashik.ali |
10 |
import java.time.format.DateTimeFormatter;
|
| 21545 |
ashik.ali |
11 |
|
|
|
12 |
/**
|
|
|
13 |
* This class basically contains order details
|
| 29966 |
amit.gupta |
14 |
*
|
| 21545 |
ashik.ali |
15 |
* @author ashikali
|
|
|
16 |
*/
|
| 21634 |
ashik.ali |
17 |
|
| 21545 |
ashik.ali |
18 |
@Entity
|
| 27723 |
tejbeer |
19 |
@Table(name = "transaction.`order`", schema = "transaction")
|
| 30003 |
tejbeer |
20 |
@NamedQueries({ @NamedQuery(name = "Order.selectAll", query = "select o from Order o"),
|
| 27723 |
tejbeer |
21 |
@NamedQuery(name = "Order.selectById", query = "select o from Order o where o.id= :id"),
|
|
|
22 |
@NamedQuery(name = "Order.selectByTransactionId", query = "select t.id, t.createTimestamp, o.retailerAddress1, o.retailerAddress2, o.retailerCity, "
|
|
|
23 |
+ "o.retailerPinCode, o.retailerState, o.shippingCost, o.statusDescription, o.invoiceNumber, o.airwayBillNumber, o.totalAmount, li.brand, li.modelName, "
|
|
|
24 |
+ "li.modelNumber, li.color, li.quantity, li.unitPrice, p.id, p.name, o.shippingTimestamp, o.status, o.promisedDeliveryTime, o.retailerName, t.status, i.catalogItemId from Transaction t join Order o on o.transactionId = t.id "
|
|
|
25 |
+ "join LineItem li on li.orderId = o.id left join Provider p on p.id = o.logisticsProviderId join Item i on i.id=li.itemId where o.transactionId = :transactionId"),
|
|
|
26 |
|
|
|
27 |
@NamedQuery(name = "Order.selectItemIdTypeQuantity", query = "select new com.spice.profitmandi.dao.model.ItemIdTypeQuantity(li.itemId, i.type, li.quantity) from Order o join LineItem li on li.orderId = o.id join Item i on i.id = li.itemId where o.invoiceNumber = :invoiceNumber and o.retailerId = :retailerId"),
|
|
|
28 |
|
|
|
29 |
@NamedQuery(name = "Order.selectAllBilledOrderGroupByBrand", query = "select new com.spice.profitmandi.dao.model.SecondaryOrderBillingModel(li.brand, "
|
| 30017 |
amit.gupta |
30 |
+ "sum(case when o.billingTimestamp >= :today then CAST(o.totalAmount AS integer) else 0 end),"
|
|
|
31 |
+ "sum(case when o.billingTimestamp >= :threedays and o.billingTimestamp < :endDate then CAST(o.totalAmount AS integer) else 0 end),"
|
|
|
32 |
+ "sum(case when concat(year(o.billingTimestamp ), month(o.billingTimestamp ))= :mtd then CAST(o.totalAmount AS integer) else 0 end),"
|
|
|
33 |
+ "sum(case when o.billingTimestamp between :lmtdStartDate and :lmtdEndDate then CAST(o.totalAmount AS integer) else 0 end),"
|
|
|
34 |
+ "sum(case when o.billingTimestamp between :lmtdStartDate and :lmsEndDate then CAST(o.totalAmount AS integer) else 0 end),"
|
| 27723 |
tejbeer |
35 |
+ " sum(case when o.billingTimestamp >= :today then li.quantity else 0 end),"
|
| 27726 |
tejbeer |
36 |
+ " sum(case when o.billingTimestamp >= :threedays and o.billingTimestamp < :endDate then li.quantity else 0 end),"
|
| 27723 |
tejbeer |
37 |
+ " sum(case when concat(year(o.billingTimestamp), month(o.billingTimestamp))= :mtd then li.quantity else 0 end),"
|
| 27749 |
tejbeer |
38 |
+ " sum(case when o.billingTimestamp between :lmtdStartDate and :lmtdEndDate then li.quantity else 0 end),"
|
|
|
39 |
+ " sum(case when o.billingTimestamp between :lmtdStartDate and :lmsEndDate then li.quantity else 0 end)"
|
|
|
40 |
+ " )"
|
| 27832 |
amit.gupta |
41 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 27903 |
tejbeer |
42 |
+ " and o.billingTimestamp >= :lmtdStartDate and fs.warehouseId in :warehouseId and fs.internal = 0 group by li.brand"),
|
| 27723 |
tejbeer |
43 |
|
| 28468 |
tejbeer |
44 |
@NamedQuery(name = "Order.selectAllBilledOrderGroupByBrandFofoId", query = "select new com.spice.profitmandi.dao.model.BrandWiseModel(li.brand,"
|
| 30017 |
amit.gupta |
45 |
+ " DATE_FORMAT(o.billingTimestamp, '%m-%Y'),sum(cast(o.totalAmount AS integer)))"
|
| 28439 |
tejbeer |
46 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 28468 |
tejbeer |
47 |
+ " and o.billingTimestamp >= :startDate and o.retailerId =:fofoId group by li.brand,DATE_FORMAT(o.billingTimestamp, '%m-%Y')"),
|
| 28439 |
tejbeer |
48 |
|
| 27867 |
tejbeer |
49 |
@NamedQuery(name = "Order.selectAllBilledOrderGroupByBrandWarehouse", query = "select new com.spice.profitmandi.dao.model.SecondaryWarehouseWiseOrderBilllingModel(fs.warehouseId,date(o.billingTimestamp), li.brand, "
|
| 30017 |
amit.gupta |
50 |
+ "sum(CAST(o.totalAmount AS integer)),sum( li.quantity))"
|
| 27867 |
tejbeer |
51 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 27903 |
tejbeer |
52 |
+ " and o.billingTimestamp >= :startDate and o.billingTimestamp < :endDate and (null is :brand or li.brand = :brand) and fs.internal = 0 group by fs.warehouseId, date(o.billingTimestamp), li.brand"),
|
| 27867 |
tejbeer |
53 |
|
| 27749 |
tejbeer |
54 |
@NamedQuery(name = "Order.selectAllBilledOrderItemByBrand", query = "select new com.spice.profitmandi.dao.model.SecondaryOrderItemBillingModel(o.retailerName,li.brand,i.modelName, "
|
| 27738 |
tejbeer |
55 |
+ " i.modelNumber, i.color," + "o.totalAmount," + " li.quantity)"
|
| 27832 |
amit.gupta |
56 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 27903 |
tejbeer |
57 |
+ " and date(o.billingTimestamp) in :date and fs.warehouseId in :warehouseId and li.brand = :brand and fs.internal = 0 order by li.itemId desc"),
|
| 27738 |
tejbeer |
58 |
|
| 27749 |
tejbeer |
59 |
@NamedQuery(name = "Order.selectTodayBilledOrderItemByBrand", query = "select new com.spice.profitmandi.dao.model.SecondaryOrderItemBillingModel(o.retailerName,li.brand,i.modelName, "
|
| 27738 |
tejbeer |
60 |
+ " i.modelNumber, i.color," + "o.totalAmount," + " li.quantity)"
|
| 27832 |
amit.gupta |
61 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 27893 |
tejbeer |
62 |
+ " and o.billingTimestamp >= :startDate and fs.warehouseId in :warehouseId and li.brand in :brand order by li.itemId desc"),
|
| 27738 |
tejbeer |
63 |
|
| 27893 |
tejbeer |
64 |
@NamedQuery(name = "Order.selectAllBilledOrderBrandByFofoId", query = "select new com.spice.profitmandi.dao.model.InStockBrandModel(li.brand,"
|
| 30017 |
amit.gupta |
65 |
+ " Sum(li.quantity),Sum(CAST(o.totalAmount AS integer)))"
|
| 27893 |
tejbeer |
66 |
+ " from Order o join LineItem li on o.id = li.orderId where o.status in (7,9,10,12)"
|
|
|
67 |
+ " and o.billingTimestamp >= :startDate and o.billingTimestamp <= :endDate and o.retailerId = :fofoId group by li.brand"),
|
|
|
68 |
|
|
|
69 |
@NamedQuery(name = "Order.selectAllBilledOrderBrandItemByFofoId", query = "select new com.spice.profitmandi.dao.model.InStockBrandItemModel("
|
| 30017 |
amit.gupta |
70 |
+ " i.brand, i.modelName, i.modelNumber, i.color,Sum(li.quantity), Sum(CAST(o.totalAmount AS integer)))"
|
| 27893 |
tejbeer |
71 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId where o.status in (7,9,10,12)"
|
|
|
72 |
+ " and o.billingTimestamp >= :startDate and o.billingTimestamp <= :endDate and o.retailerId = :fofoId group by i.id"),
|
|
|
73 |
|
| 28004 |
tejbeer |
74 |
@NamedQuery(name = "Order.selectAllGrnPendingOrderByCatalogId", query = "select new com.spice.profitmandi.dao.model.FofoIdQtyModel("
|
| 28020 |
tejbeer |
75 |
+ " fs.warehouseId,fs.id,sum(li.quantity )) from FofoStore fs join Order o on fs.id = o.retailerId "
|
| 28004 |
tejbeer |
76 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
|
|
77 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = 1 and fs.internal = 0 and"
|
| 29715 |
tejbeer |
78 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28020 |
tejbeer |
79 |
+ " and i.catalogItemId in :catalogItemId group by fs.id"),
|
| 28004 |
tejbeer |
80 |
|
|
|
81 |
@NamedQuery(name = "Order.selectAllPendingIndentOrderByCatalogId", query = "select new com.spice.profitmandi.dao.model.FofoIdQtyModel("
|
| 28020 |
tejbeer |
82 |
+ " fs.warehouseId,fs.id,sum(case when li.quantity is null then 0 else li.quantity end))"
|
| 28004 |
tejbeer |
83 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
84 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
85 |
+ " join Item i on i.id = tl.itemId where "
|
| 28020 |
tejbeer |
86 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4) and i.catalogItemId in :catalogItemId group by fs.id"),
|
| 28004 |
tejbeer |
87 |
|
| 28486 |
tejbeer |
88 |
@NamedQuery(name = "Order.selectGrnPendingOrdersByCatalogId", query = "select new com.spice.profitmandi.dao.model.FofoIdCatalogQtyModel("
|
| 28474 |
tejbeer |
89 |
+ " fs.warehouseId,fs.id,i.catalogItemId,sum(li.quantity )) from FofoStore fs join Order o on fs.id = o.retailerId "
|
|
|
90 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
|
|
91 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = 1 and fs.internal = 0 and"
|
| 29715 |
tejbeer |
92 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28477 |
tejbeer |
93 |
+ " and i.catalogItemId in :catalogItemId and fs.warehouseId in :warehouseId group by i.catalogItemId, fs.id"),
|
| 28474 |
tejbeer |
94 |
|
| 28486 |
tejbeer |
95 |
@NamedQuery(name = "Order.selectPendingIndentOrdersByCatalogId", query = "select new com.spice.profitmandi.dao.model.FofoIdCatalogQtyModel("
|
| 28474 |
tejbeer |
96 |
+ " fs.warehouseId,fs.id,i.catalogItemId,sum(case when li.quantity is null then 0 else li.quantity end))"
|
|
|
97 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
98 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
99 |
+ " join Item i on i.id = tl.itemId where "
|
| 28477 |
tejbeer |
100 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4) and i.catalogItemId in :catalogItemId and fs.warehouseId in :warehouseId group by i.catalogItemId, fs.id"),
|
| 28474 |
tejbeer |
101 |
|
| 28004 |
tejbeer |
102 |
@NamedQuery(name = "Order.selectAllGrnPendingOrderByRange", query = "select new com.spice.profitmandi.dao.model.FofoIdItemDetailModel("
|
| 28020 |
tejbeer |
103 |
+ " fs.warehouseId,fs.id,sum(li.quantity ),i.brand,i.modelName,i.modelNumber,i.catalogItemId) from FofoStore fs join Order o on fs.id = o.retailerId "
|
| 28004 |
tejbeer |
104 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
|
|
105 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = 1 and fs.internal = 0 and"
|
| 29715 |
tejbeer |
106 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28004 |
tejbeer |
107 |
+ " and tl.mop between :startPrice and :endPrice and i.categoryId=10006 group by fs.id,i.catalogItemId,i.brand,i.modelName,i.modelNumber"),
|
|
|
108 |
|
|
|
109 |
@NamedQuery(name = "Order.selectAllPendingIndentOrderByRange", query = "select new com.spice.profitmandi.dao.model.FofoIdItemDetailModel("
|
| 28020 |
tejbeer |
110 |
+ " fs.warehouseId, fs.id,sum(case when li.quantity is null then 0 else li.quantity end),i.brand,i.modelName,i.modelNumber,i.catalogItemId)"
|
| 28004 |
tejbeer |
111 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
112 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
113 |
+ " join Item i on i.id = tl.itemId where "
|
|
|
114 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4) and tl.mop between :startPrice and :endPrice and i.categoryId=10006 group by fs.id,i.catalogItemId,i.brand,i.modelName,i.modelNumber"),
|
|
|
115 |
|
| 28032 |
tejbeer |
116 |
@NamedQuery(name = "Order.selectAllGrnPendingOrderItemByCatalogIdFofoId", query = "select new com.spice.profitmandi.dao.model.FofoIdItemDetailModel("
|
|
|
117 |
+ " fs.warehouseId, fs.id, sum(li.quantity), i.brand, i.modelName, i.modelNumber, i.catalogItemId) from FofoStore fs join Order o on fs.id = o.retailerId "
|
|
|
118 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
| 30017 |
amit.gupta |
119 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = true and fs.internal = 0 and"
|
| 29715 |
tejbeer |
120 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28032 |
tejbeer |
121 |
+ " and i.catalogItemId in :catalogItemId and i.categoryId=10006 and fs.id = :fofoId group by i.catalogItemId, i.brand,i.modelName,i.modelNumber"),
|
|
|
122 |
|
|
|
123 |
@NamedQuery(name = "Order.selectAllPendingIndentOrderItemByCatalogIdFofoId", query = "select new com.spice.profitmandi.dao.model.FofoIdItemDetailModel("
|
|
|
124 |
+ " fs.warehouseId, fs.id, sum(li.quantity), i.brand, i.modelName, i.modelNumber, i.catalogItemId)"
|
|
|
125 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
126 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
127 |
+ " join Item i on i.id = tl.itemId where "
|
|
|
128 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4) and i.catalogItemId in :catalogItemId and i.categoryId=10006 and fs.id = :fofoId group by i.catalogItemId, i.brand,i.modelName,i.modelNumber"),
|
|
|
129 |
|
| 28461 |
tejbeer |
130 |
@NamedQuery(name = "Order.selectGroupByBrandLmp", query = "select new com.spice.profitmandi.dao.model.BrandWiseModel(li.brand,"
|
| 30017 |
amit.gupta |
131 |
+ " DATE_FORMAT(o.billingTimestamp, '%m-%Y'),sum(cast(o.totalAmount AS integer)))"
|
| 28461 |
tejbeer |
132 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
|
|
133 |
+ " and o.billingTimestamp >= :lmsStartDate and fs.id in :fofoId and fs.warehouseId in :warehouseId and fs.internal = 0 group by li.brand,DATE_FORMAT(o.billingTimestamp, '%m-%Y')"),
|
|
|
134 |
|
| 28486 |
tejbeer |
135 |
@NamedQuery(name = "Order.selectGrnPendingOrderQtyByCatalogId", query = "select sum(case when li.quantity is null then 0 else li.quantity end)"
|
|
|
136 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId "
|
|
|
137 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
|
|
138 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = 1 and fs.internal = 0 and"
|
| 29715 |
tejbeer |
139 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28486 |
tejbeer |
140 |
+ " and i.catalogItemId = :catalogItemId and fs.id = :fofoId group by i.catalogItemId, fs.id"),
|
|
|
141 |
|
|
|
142 |
@NamedQuery(name = "Order.selectPendingIndentOrderQtyByCatalogId", query = "select sum(case when li.quantity is null then 0 else li.quantity end)"
|
|
|
143 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
144 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
145 |
+ " join Item i on i.id = tl.itemId where "
|
|
|
146 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4)and i.catalogItemId = :catalogItemId and fs.id = :fofoId group by i.catalogItemId, fs.id"),
|
|
|
147 |
|
| 29966 |
amit.gupta |
148 |
@NamedQuery(name = "Order.selectTodayOrders", query = "select new com.spice.profitmandi.dao.model.BrandRegionPOModel(fs.warehouseId, li.brand, "
|
| 30017 |
amit.gupta |
149 |
+ " sum(case when (o.createTimestamp between :startDate and :endDate) then cast(o.totalAmount AS integer ) else 0 end),"
|
|
|
150 |
+ " sum(case when (o.billingTimestamp is not null and (o.createTimestamp between :startDate and :endDate)) then cast(o.totalAmount AS integer) else 0 end),"
|
|
|
151 |
+ " sum(case when o.billingTimestamp is not null then cast(o.totalAmount AS integer ) else 0 end))"
|
| 29966 |
amit.gupta |
152 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId "
|
|
|
153 |
+ " where o.refundTimestamp is null and ((o.createTimestamp between :startDate and :endDate) or (o.billingTimestamp between :startDate and :endDate)) and fs.internal = 0 and li.brand not in ('Smartdukaan','Dummy')"
|
|
|
154 |
+ " group by fs.warehouseId , li.brand"),
|
|
|
155 |
|
| 30003 |
tejbeer |
156 |
@NamedQuery(name = "Order.selectAllPendingIndentAccessoriesTvGroupByFofoId", query = "select new com.spice.profitmandi.dao.model.InStockAccessoriesTvFofoIdModel("
|
| 30017 |
amit.gupta |
157 |
+ " o.retailerId, SUM(case when c.parentCategoryId = 10011 then CAST(o.totalAmount AS integer) else 0 end), SUM(case when c.parentCategoryId = 14200 then CAST(o.totalAmount AS integer) else 0 end))"
|
| 30003 |
tejbeer |
158 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId join Category c on c.id = i.categoryId "
|
|
|
159 |
+ " where o.retailerId in :fofoIds and o.status in (3,4) and i.categoryId != 10006 group by o.retailerId"),
|
|
|
160 |
|
|
|
161 |
@NamedQuery(name = "Order.selectAllGrnPendingAccessoriesTvGroupByFofoId", query = "select new com.spice.profitmandi.dao.model.InStockAccessoriesTvFofoIdModel("
|
| 30017 |
amit.gupta |
162 |
+ " o.retailerId, SUM(case when c.parentCategoryId = 10011 then CAST(o.totalAmount AS integer) else 0 end), SUM(case when c.parentCategoryId = 14200 then CAST(o.totalAmount AS integer) else 0 end))"
|
| 30003 |
tejbeer |
163 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId join Category c on c.id = i.categoryId "
|
|
|
164 |
+ " where o.retailerId in :fofoIds and o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null and i.categoryId != 10006 group by o.retailerId"),
|
|
|
165 |
|
| 30077 |
tejbeer |
166 |
@NamedQuery(name = "Order.selectPartnerSecondaryGroupByBrand", query = "select new com.spice.profitmandi.dao.model.PartnerSecondaryPlanModel(o.retailerId,li.brand, "
|
|
|
167 |
+ " case when psp.secondaryPlan is not null then cast(psp.secondaryPlan As long) else 0 end , sum(cast(o.totalAmount AS integer)) )"
|
|
|
168 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId "
|
|
|
169 |
+ " left join PartnerSecondaryPlan psp on (psp.fofoId = fs.id and li.brand = psp.brand and psp.createTimestamp > :startDate)"
|
|
|
170 |
+ " where o.status in (7,9,10,12)"
|
|
|
171 |
+ " and o.billingTimestamp >= :startDate and fs.id in :fofoIds group by li.brand,fs.id"),
|
|
|
172 |
|
| 21545 |
ashik.ali |
173 |
})
|
| 27723 |
tejbeer |
174 |
public class Order implements Serializable {
|
|
|
175 |
|
| 21545 |
ashik.ali |
176 |
private static final long serialVersionUID = 1L;
|
| 27723 |
tejbeer |
177 |
|
| 21545 |
ashik.ali |
178 |
public Order() {
|
|
|
179 |
}
|
| 27723 |
tejbeer |
180 |
|
| 21545 |
ashik.ali |
181 |
@Id
|
| 27723 |
tejbeer |
182 |
@Column(name = "id", unique = true, updatable = false)
|
| 21545 |
ashik.ali |
183 |
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
| 21629 |
kshitij.so |
184 |
private Integer id;
|
| 27723 |
tejbeer |
185 |
|
| 21545 |
ashik.ali |
186 |
@Column(name = "warehouse_id")
|
| 21629 |
kshitij.so |
187 |
private Integer warehouseId;
|
| 27723 |
tejbeer |
188 |
|
| 21545 |
ashik.ali |
189 |
@Column(name = "seller_id")
|
| 21629 |
kshitij.so |
190 |
private Integer sellerId;
|
| 27723 |
tejbeer |
191 |
|
| 21545 |
ashik.ali |
192 |
@Column(name = "warehouse_address_id")
|
| 21629 |
kshitij.so |
193 |
private Integer warehouseAddressId;
|
| 27723 |
tejbeer |
194 |
|
| 21545 |
ashik.ali |
195 |
@Column(name = "logistics_provider_id")
|
| 21629 |
kshitij.so |
196 |
private Integer logisticsProviderId;
|
| 27723 |
tejbeer |
197 |
|
| 21614 |
kshitij.so |
198 |
@Column(name = "airwaybill_no", length = 50)
|
| 21545 |
ashik.ali |
199 |
private String airwayBillNumber;
|
| 27723 |
tejbeer |
200 |
|
| 21545 |
ashik.ali |
201 |
@Column(name = "tracking_id", length = 50)
|
|
|
202 |
private String trackingId;
|
| 27723 |
tejbeer |
203 |
|
| 22009 |
ashik.ali |
204 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
205 |
@Column(name = "expected_delivery_time")
|
|
|
206 |
private LocalDateTime expectedDeliveryTime;
|
| 27723 |
tejbeer |
207 |
|
| 22009 |
ashik.ali |
208 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
209 |
@Column(name = "promised_delivery_time")
|
|
|
210 |
private LocalDateTime promisedDeliveryTime;
|
| 27723 |
tejbeer |
211 |
|
| 22009 |
ashik.ali |
212 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
213 |
@Column(name = "expected_shipping_time")
|
|
|
214 |
private LocalDateTime expectedShippingTime;
|
| 27723 |
tejbeer |
215 |
|
| 22009 |
ashik.ali |
216 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
217 |
@Column(name = "promised_shipping_time")
|
|
|
218 |
private LocalDateTime promisedShippingTime;
|
| 27723 |
tejbeer |
219 |
|
| 23884 |
amit.gupta |
220 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
|
|
221 |
@Column(name = "partner_grn_timestamp")
|
|
|
222 |
private LocalDateTime partnerGrnTimestamp;
|
| 27723 |
tejbeer |
223 |
|
| 23902 |
amit.gupta |
224 |
public LocalDateTime getPartnerGrnTimestamp() {
|
| 23884 |
amit.gupta |
225 |
return partnerGrnTimestamp;
|
|
|
226 |
}
|
| 27723 |
tejbeer |
227 |
|
| 23902 |
amit.gupta |
228 |
public void setPartnerGrnTimestamp(LocalDateTime partnerGrnTimestamp) {
|
| 23884 |
amit.gupta |
229 |
this.partnerGrnTimestamp = partnerGrnTimestamp;
|
|
|
230 |
}
|
|
|
231 |
|
| 21545 |
ashik.ali |
232 |
@Column(name = "customer_id")
|
| 21629 |
kshitij.so |
233 |
private Integer retailerId;
|
| 27723 |
tejbeer |
234 |
|
| 21545 |
ashik.ali |
235 |
@Column(name = "customer_name", length = 50)
|
|
|
236 |
private String retailerName;
|
| 27723 |
tejbeer |
237 |
|
| 21545 |
ashik.ali |
238 |
@Column(name = "customer_mobilenumber", length = 20)
|
|
|
239 |
private String retailerMobileNumber;
|
| 27723 |
tejbeer |
240 |
|
| 21545 |
ashik.ali |
241 |
@Column(name = "customer_pincode", length = 10)
|
|
|
242 |
private String retailerPinCode;
|
| 27723 |
tejbeer |
243 |
|
| 21545 |
ashik.ali |
244 |
@Column(name = "customer_address1", length = 100)
|
|
|
245 |
private String retailerAddress1;
|
| 27723 |
tejbeer |
246 |
|
| 21545 |
ashik.ali |
247 |
@Column(name = "customer_address2", length = 100)
|
|
|
248 |
private String retailerAddress2;
|
| 27723 |
tejbeer |
249 |
|
| 21545 |
ashik.ali |
250 |
@Column(name = "customer_city", length = 100)
|
|
|
251 |
private String retailerCity;
|
| 27723 |
tejbeer |
252 |
|
| 21545 |
ashik.ali |
253 |
@Column(name = "customer_state", length = 100)
|
|
|
254 |
private String retailerState;
|
| 27723 |
tejbeer |
255 |
|
| 21545 |
ashik.ali |
256 |
@Column(name = "customer_email", length = 50)
|
|
|
257 |
private String retailerEmailId;
|
| 27723 |
tejbeer |
258 |
|
| 21545 |
ashik.ali |
259 |
@Column(name = "status")
|
|
|
260 |
@Enumerated(EnumType.ORDINAL)
|
|
|
261 |
private OrderStatus status;
|
| 27723 |
tejbeer |
262 |
|
| 21545 |
ashik.ali |
263 |
@Column(name = "statusDescription", length = 50)
|
|
|
264 |
private String statusDescription;
|
| 27723 |
tejbeer |
265 |
|
| 21545 |
ashik.ali |
266 |
@Column(name = "total_amount")
|
| 21629 |
kshitij.so |
267 |
private Float totalAmount;
|
| 27723 |
tejbeer |
268 |
|
| 21545 |
ashik.ali |
269 |
@Column(name = "gvAmount")
|
| 21629 |
kshitij.so |
270 |
private Float gvAmount;
|
| 27723 |
tejbeer |
271 |
|
| 21545 |
ashik.ali |
272 |
@Column(name = "total_weight")
|
| 21629 |
kshitij.so |
273 |
private Float totalWeight;
|
| 27723 |
tejbeer |
274 |
|
| 21545 |
ashik.ali |
275 |
@Column(name = "invoice_number", length = 30)
|
|
|
276 |
private String invoiceNumber;
|
| 27723 |
tejbeer |
277 |
|
| 21545 |
ashik.ali |
278 |
@Column(name = "billed_by", length = 30)
|
|
|
279 |
private String billedBy;
|
| 27723 |
tejbeer |
280 |
|
| 22009 |
ashik.ali |
281 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
282 |
@Column(name = "created_timestamp")
|
|
|
283 |
private LocalDateTime createTimestamp;
|
| 27723 |
tejbeer |
284 |
|
| 22009 |
ashik.ali |
285 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
286 |
@Column(name = "accepted_timestamp")
|
|
|
287 |
private LocalDateTime acceptedTimestamp;
|
| 27723 |
tejbeer |
288 |
|
| 22009 |
ashik.ali |
289 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
290 |
@Column(name = "billing_timestamp")
|
|
|
291 |
private LocalDateTime billingTimestamp;
|
| 27723 |
tejbeer |
292 |
|
| 22009 |
ashik.ali |
293 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
294 |
@Column(name = "shipping_timestamp")
|
|
|
295 |
private LocalDateTime shippingTimestamp;
|
| 27723 |
tejbeer |
296 |
|
| 22009 |
ashik.ali |
297 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
298 |
@Column(name = "pickup_timestamp")
|
|
|
299 |
private LocalDateTime pickupTimestamp;
|
| 27723 |
tejbeer |
300 |
|
| 22009 |
ashik.ali |
301 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
302 |
@Column(name = "delivery_timestamp")
|
|
|
303 |
private LocalDateTime deliveryTimestamp;
|
| 27723 |
tejbeer |
304 |
|
| 22009 |
ashik.ali |
305 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
306 |
@Column(name = "outofstock_timestamp")
|
|
|
307 |
private LocalDateTime outOfStockTimestamp;
|
| 27723 |
tejbeer |
308 |
|
| 21545 |
ashik.ali |
309 |
@Column(name = "transaction_id")
|
| 27723 |
tejbeer |
310 |
private Integer transactionId;
|
|
|
311 |
|
|
|
312 |
/*
|
|
|
313 |
* @Column(name = "jacket_number", length = 10) private Integer jacketNumber;
|
|
|
314 |
*/
|
|
|
315 |
|
| 21545 |
ashik.ali |
316 |
@Column(name = "receiver", length = 50)
|
|
|
317 |
private String receiver;
|
| 27723 |
tejbeer |
318 |
|
| 21545 |
ashik.ali |
319 |
@Column(name = "batchNo")
|
| 21629 |
kshitij.so |
320 |
private Integer batchNumber;
|
| 27723 |
tejbeer |
321 |
|
| 21545 |
ashik.ali |
322 |
@Column(name = "serialNo")
|
| 21629 |
kshitij.so |
323 |
private Integer serialNumber;
|
| 27723 |
tejbeer |
324 |
|
|
|
325 |
@Column(name = "doaFlag", columnDefinition = "tinyInteger(1) default 0")
|
| 21629 |
kshitij.so |
326 |
private Boolean doaFlag;
|
| 27723 |
tejbeer |
327 |
|
| 21545 |
ashik.ali |
328 |
@Column(name = "pickupRequestNo")
|
| 21629 |
kshitij.so |
329 |
private Integer pickupRequestNumber;
|
| 27723 |
tejbeer |
330 |
|
| 21545 |
ashik.ali |
331 |
@Column(name = "new_order_id")
|
| 21629 |
kshitij.so |
332 |
private Integer newOrderId;
|
| 27723 |
tejbeer |
333 |
|
| 21545 |
ashik.ali |
334 |
@Column(name = "doa_auth_timestamp")
|
|
|
335 |
private LocalDateTime doaAuthTimestamp;
|
| 27723 |
tejbeer |
336 |
|
| 22009 |
ashik.ali |
337 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
338 |
@Column(name = "doa_pickup_timestamp")
|
|
|
339 |
private LocalDateTime doaPickupTimestamp;
|
| 27723 |
tejbeer |
340 |
|
| 22009 |
ashik.ali |
341 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
342 |
@Column(name = "received_return_timestamp")
|
|
|
343 |
private LocalDateTime receiverReturnTimestamp;
|
| 27723 |
tejbeer |
344 |
|
| 22009 |
ashik.ali |
345 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
346 |
@Column(name = "reship_timestamp")
|
|
|
347 |
private LocalDateTime reShipTimestamp;
|
| 27723 |
tejbeer |
348 |
|
| 22009 |
ashik.ali |
349 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
350 |
@Column(name = "refund_timestamp")
|
|
|
351 |
private LocalDateTime refundTimestamp;
|
| 27723 |
tejbeer |
352 |
|
| 21545 |
ashik.ali |
353 |
@Column(name = "purchase_order_id")
|
| 21629 |
kshitij.so |
354 |
private Integer purchaseOrderId;
|
| 27723 |
tejbeer |
355 |
|
|
|
356 |
@Column(name = "cod", columnDefinition = "tinyInteger(1) default 0")
|
| 21629 |
kshitij.so |
357 |
private Boolean cod;
|
| 27723 |
tejbeer |
358 |
|
| 22009 |
ashik.ali |
359 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
360 |
@Column(name = "verification_timestamp")
|
|
|
361 |
private LocalDateTime verificationTimestamp;
|
| 27723 |
tejbeer |
362 |
|
| 21629 |
kshitij.so |
363 |
@Column(name = "refunded_by", length = 30)
|
| 21545 |
ashik.ali |
364 |
private String refundBy;
|
| 27723 |
tejbeer |
365 |
|
| 21545 |
ashik.ali |
366 |
@Column(name = "refund_reason", length = 256)
|
|
|
367 |
private String refundReason;
|
| 27723 |
tejbeer |
368 |
|
|
|
369 |
/*
|
|
|
370 |
* @Column(name = "delay_reason") private DelayReason delayReason;
|
|
|
371 |
*/
|
|
|
372 |
|
| 22009 |
ashik.ali |
373 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
374 |
@Column(name = "cod_reconciliation_timestamp")
|
|
|
375 |
private LocalDateTime codReconciliationTimestamp;
|
| 27723 |
tejbeer |
376 |
|
| 21629 |
kshitij.so |
377 |
private Integer previousStatus;
|
| 27723 |
tejbeer |
378 |
|
| 21545 |
ashik.ali |
379 |
@Column(name = "vendorId")
|
| 21629 |
kshitij.so |
380 |
private Integer vendorId;
|
| 27723 |
tejbeer |
381 |
|
| 21545 |
ashik.ali |
382 |
@Column(name = "delayReasonText", length = 250)
|
|
|
383 |
private String delayReasonText;
|
| 27723 |
tejbeer |
384 |
|
| 21545 |
ashik.ali |
385 |
@Column(name = "doa_logistics_provider_id")
|
| 21629 |
kshitij.so |
386 |
private Integer doaLogisticsProviderId;
|
| 27723 |
tejbeer |
387 |
|
|
|
388 |
@Column(name = "vendor_paid", columnDefinition = "tinyInteger(1) default 0")
|
| 21629 |
kshitij.so |
389 |
private Boolean vendorPaid;
|
| 27723 |
tejbeer |
390 |
|
| 22009 |
ashik.ali |
391 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
392 |
@Column(name = "local_connected_timestamp")
|
|
|
393 |
private LocalDateTime localConnectedTimestamp;
|
| 27723 |
tejbeer |
394 |
|
| 22009 |
ashik.ali |
395 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
396 |
@Column(name = "reached_destination_timestamp")
|
|
|
397 |
private LocalDateTime reachedDestinationTimestamp;
|
| 27723 |
tejbeer |
398 |
|
| 22009 |
ashik.ali |
399 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
400 |
@Column(name = "first_dlvyatmp_timestamp")
|
|
|
401 |
private LocalDateTime firstDlvyatmpTimestamp;
|
| 27723 |
tejbeer |
402 |
|
| 21545 |
ashik.ali |
403 |
@Column(name = "originalOrderId")
|
| 21629 |
kshitij.so |
404 |
private Integer originalOrderId;
|
| 27723 |
tejbeer |
405 |
|
| 21545 |
ashik.ali |
406 |
@Column(name = "fulfilmentWarehouseId")
|
| 21629 |
kshitij.so |
407 |
private Integer fulfilmentWarehouseId;
|
| 27723 |
tejbeer |
408 |
|
| 21545 |
ashik.ali |
409 |
@Column(name = "orderType")
|
| 21629 |
kshitij.so |
410 |
private Integer orderType;
|
| 27723 |
tejbeer |
411 |
|
| 21545 |
ashik.ali |
412 |
@Column(name = "pickupStoreId")
|
| 21629 |
kshitij.so |
413 |
private Integer pickupStoreId;
|
| 27723 |
tejbeer |
414 |
|
|
|
415 |
@Column(name = "otg", columnDefinition = "tinyInteger(1) default 0")
|
| 21629 |
kshitij.so |
416 |
private Boolean otg;
|
| 27723 |
tejbeer |
417 |
|
| 22009 |
ashik.ali |
418 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
419 |
@Column(name = "courier_delivery_time")
|
|
|
420 |
private LocalDateTime courierDeliveryTimestamp;
|
| 27723 |
tejbeer |
421 |
|
| 21545 |
ashik.ali |
422 |
@Column(name = "insurer")
|
| 21629 |
kshitij.so |
423 |
private Integer insurer;
|
| 27723 |
tejbeer |
424 |
|
| 21545 |
ashik.ali |
425 |
@Column(name = "insuranceAmount")
|
| 21629 |
kshitij.so |
426 |
private Float insuranceAmount;
|
| 27723 |
tejbeer |
427 |
|
| 21545 |
ashik.ali |
428 |
@Column(name = "freebieItemId")
|
| 21629 |
kshitij.so |
429 |
private Integer freebieItemId;
|
| 27723 |
tejbeer |
430 |
|
| 21545 |
ashik.ali |
431 |
@Column(name = "source")
|
| 21629 |
kshitij.so |
432 |
private Integer source;
|
| 27723 |
tejbeer |
433 |
|
| 21545 |
ashik.ali |
434 |
@Column(name = "advanceAmount")
|
| 21629 |
kshitij.so |
435 |
private Float advanceAmount;
|
| 27723 |
tejbeer |
436 |
|
| 21545 |
ashik.ali |
437 |
@Column(name = "storeId")
|
| 21629 |
kshitij.so |
438 |
private Integer storeId;
|
| 27723 |
tejbeer |
439 |
|
| 21545 |
ashik.ali |
440 |
@Column(name = "productCondition")
|
| 21629 |
kshitij.so |
441 |
private Integer productCondition;
|
| 27723 |
tejbeer |
442 |
|
| 21545 |
ashik.ali |
443 |
@Column(name = "dataProtectionInsurer")
|
| 21629 |
kshitij.so |
444 |
private Integer dataProtectionInsurer;
|
| 27723 |
tejbeer |
445 |
|
| 21545 |
ashik.ali |
446 |
@Column(name = "dataProtectionAmount")
|
| 21629 |
kshitij.so |
447 |
private Integer dataProtectionAmount;
|
| 27723 |
tejbeer |
448 |
|
| 21545 |
ashik.ali |
449 |
@Column(name = "taxType")
|
| 21629 |
kshitij.so |
450 |
@Enumerated(EnumType.ORDINAL)
|
| 21545 |
ashik.ali |
451 |
private TaxType taxType;
|
| 27723 |
tejbeer |
452 |
|
| 21545 |
ashik.ali |
453 |
@Column(name = "logisticsTransactionId", length = 100)
|
|
|
454 |
private String logisticsTransactionId;
|
| 27723 |
tejbeer |
455 |
|
| 21545 |
ashik.ali |
456 |
@Column(name = "shippingCost")
|
| 21629 |
kshitij.so |
457 |
private Float shippingCost;
|
| 27723 |
tejbeer |
458 |
|
| 21545 |
ashik.ali |
459 |
@Column(name = "codCharges")
|
| 21629 |
kshitij.so |
460 |
private Float codCharges;
|
| 27723 |
tejbeer |
461 |
|
| 21545 |
ashik.ali |
462 |
@Column(name = "wallet_amount")
|
| 21629 |
kshitij.so |
463 |
private Float walletAmount;
|
| 27723 |
tejbeer |
464 |
|
| 21545 |
ashik.ali |
465 |
@Column(name = "net_payable_amount")
|
| 21629 |
kshitij.so |
466 |
private Float netPayableAmount;
|
| 27723 |
tejbeer |
467 |
|
| 21545 |
ashik.ali |
468 |
@Column(name = "shippingRefund")
|
| 21629 |
kshitij.so |
469 |
private Float shippingRefund;
|
| 27723 |
tejbeer |
470 |
|
|
|
471 |
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
|
| 28677 |
amit.gupta |
472 |
@JoinColumn(name = "id", insertable = false, updatable = false, nullable = false, referencedColumnName = "order_id")
|
| 21653 |
ashik.ali |
473 |
private LineItem lineItem;
|
| 27723 |
tejbeer |
474 |
|
| 21629 |
kshitij.so |
475 |
public Integer getId() {
|
| 21545 |
ashik.ali |
476 |
return id;
|
|
|
477 |
}
|
| 27723 |
tejbeer |
478 |
|
| 21629 |
kshitij.so |
479 |
public void setId(Integer id) {
|
| 21545 |
ashik.ali |
480 |
this.id = id;
|
|
|
481 |
}
|
| 27723 |
tejbeer |
482 |
|
| 21629 |
kshitij.so |
483 |
public Integer getWarehouseId() {
|
| 21545 |
ashik.ali |
484 |
return warehouseId;
|
|
|
485 |
}
|
| 27723 |
tejbeer |
486 |
|
| 21629 |
kshitij.so |
487 |
public void setWarehouseId(Integer warehouseId) {
|
| 21545 |
ashik.ali |
488 |
this.warehouseId = warehouseId;
|
|
|
489 |
}
|
| 27723 |
tejbeer |
490 |
|
| 21629 |
kshitij.so |
491 |
public Integer getSellerId() {
|
| 21545 |
ashik.ali |
492 |
return sellerId;
|
|
|
493 |
}
|
| 27723 |
tejbeer |
494 |
|
| 21629 |
kshitij.so |
495 |
public void setSellerId(Integer sellerId) {
|
| 21545 |
ashik.ali |
496 |
this.sellerId = sellerId;
|
|
|
497 |
}
|
| 27723 |
tejbeer |
498 |
|
| 21629 |
kshitij.so |
499 |
public Integer getWarehouseAddressId() {
|
| 21545 |
ashik.ali |
500 |
return warehouseAddressId;
|
|
|
501 |
}
|
| 27723 |
tejbeer |
502 |
|
| 21629 |
kshitij.so |
503 |
public void setWarehouseAddressId(Integer warehouseAddressId) {
|
| 21545 |
ashik.ali |
504 |
this.warehouseAddressId = warehouseAddressId;
|
|
|
505 |
}
|
| 27723 |
tejbeer |
506 |
|
| 21629 |
kshitij.so |
507 |
public Integer getLogisticsProviderId() {
|
| 21545 |
ashik.ali |
508 |
return logisticsProviderId;
|
|
|
509 |
}
|
| 27723 |
tejbeer |
510 |
|
| 21629 |
kshitij.so |
511 |
public void setLogisticsProviderId(Integer logisticsProviderId) {
|
| 21545 |
ashik.ali |
512 |
this.logisticsProviderId = logisticsProviderId;
|
|
|
513 |
}
|
| 27723 |
tejbeer |
514 |
|
| 21545 |
ashik.ali |
515 |
public String getAirwayBillNumber() {
|
|
|
516 |
return airwayBillNumber;
|
|
|
517 |
}
|
| 27723 |
tejbeer |
518 |
|
| 21545 |
ashik.ali |
519 |
public void setAirwayBillNumber(String airwayBillNumber) {
|
|
|
520 |
this.airwayBillNumber = airwayBillNumber;
|
|
|
521 |
}
|
| 27723 |
tejbeer |
522 |
|
| 21545 |
ashik.ali |
523 |
public String getTrackingId() {
|
|
|
524 |
return trackingId;
|
|
|
525 |
}
|
| 27723 |
tejbeer |
526 |
|
| 21545 |
ashik.ali |
527 |
public void setTrackingId(String trackingId) {
|
|
|
528 |
this.trackingId = trackingId;
|
|
|
529 |
}
|
| 27723 |
tejbeer |
530 |
|
| 21545 |
ashik.ali |
531 |
public LocalDateTime getExpectedDeliveryTime() {
|
|
|
532 |
return expectedDeliveryTime;
|
|
|
533 |
}
|
| 27723 |
tejbeer |
534 |
|
| 21545 |
ashik.ali |
535 |
public void setExpectedDeliveryTime(LocalDateTime expectedDeliveryTime) {
|
|
|
536 |
this.expectedDeliveryTime = expectedDeliveryTime;
|
|
|
537 |
}
|
| 27723 |
tejbeer |
538 |
|
| 21545 |
ashik.ali |
539 |
public LocalDateTime getPromisedDeliveryTime() {
|
|
|
540 |
return promisedDeliveryTime;
|
|
|
541 |
}
|
| 27723 |
tejbeer |
542 |
|
| 21545 |
ashik.ali |
543 |
public void setPromisedDeliveryTime(LocalDateTime promisedDeliveryTime) {
|
|
|
544 |
this.promisedDeliveryTime = promisedDeliveryTime;
|
|
|
545 |
}
|
| 27723 |
tejbeer |
546 |
|
| 21545 |
ashik.ali |
547 |
public LocalDateTime getExpectedShippingTime() {
|
|
|
548 |
return expectedShippingTime;
|
|
|
549 |
}
|
| 27723 |
tejbeer |
550 |
|
| 21545 |
ashik.ali |
551 |
public void setExpectedShippingTime(LocalDateTime expectedShippingTime) {
|
|
|
552 |
this.expectedShippingTime = expectedShippingTime;
|
|
|
553 |
}
|
| 27723 |
tejbeer |
554 |
|
| 21545 |
ashik.ali |
555 |
public LocalDateTime getPromisedShippingTime() {
|
|
|
556 |
return promisedShippingTime;
|
|
|
557 |
}
|
| 27723 |
tejbeer |
558 |
|
| 21545 |
ashik.ali |
559 |
public void setPromisedShippingTime(LocalDateTime promisedShippingTime) {
|
|
|
560 |
this.promisedShippingTime = promisedShippingTime;
|
|
|
561 |
}
|
| 27723 |
tejbeer |
562 |
|
| 21629 |
kshitij.so |
563 |
public Integer getRetailerId() {
|
| 21545 |
ashik.ali |
564 |
return retailerId;
|
|
|
565 |
}
|
| 27723 |
tejbeer |
566 |
|
| 21629 |
kshitij.so |
567 |
public void setRetailerId(Integer retailerId) {
|
| 21545 |
ashik.ali |
568 |
this.retailerId = retailerId;
|
|
|
569 |
}
|
| 27723 |
tejbeer |
570 |
|
| 21545 |
ashik.ali |
571 |
public String getRetailerName() {
|
|
|
572 |
return retailerName;
|
|
|
573 |
}
|
| 27723 |
tejbeer |
574 |
|
| 21545 |
ashik.ali |
575 |
public void setRetailerName(String retailerName) {
|
|
|
576 |
this.retailerName = retailerName;
|
|
|
577 |
}
|
| 27723 |
tejbeer |
578 |
|
| 21545 |
ashik.ali |
579 |
public String getRetailerMobileNumber() {
|
|
|
580 |
return retailerMobileNumber;
|
|
|
581 |
}
|
| 27723 |
tejbeer |
582 |
|
| 21545 |
ashik.ali |
583 |
public void setRetailerMobileNumber(String retailerMobileNumber) {
|
|
|
584 |
this.retailerMobileNumber = retailerMobileNumber;
|
|
|
585 |
}
|
| 27723 |
tejbeer |
586 |
|
| 21545 |
ashik.ali |
587 |
public String getRetailerPinCode() {
|
|
|
588 |
return retailerPinCode;
|
|
|
589 |
}
|
| 27723 |
tejbeer |
590 |
|
| 21545 |
ashik.ali |
591 |
public void setRetailerPinCode(String retailerPinCode) {
|
|
|
592 |
this.retailerPinCode = retailerPinCode;
|
|
|
593 |
}
|
| 27723 |
tejbeer |
594 |
|
| 21545 |
ashik.ali |
595 |
public String getRetailerAddress1() {
|
|
|
596 |
return retailerAddress1;
|
|
|
597 |
}
|
| 27723 |
tejbeer |
598 |
|
| 21545 |
ashik.ali |
599 |
public void setRetailerAddress1(String retailerAddress1) {
|
|
|
600 |
this.retailerAddress1 = retailerAddress1;
|
|
|
601 |
}
|
| 27723 |
tejbeer |
602 |
|
| 21545 |
ashik.ali |
603 |
public String getRetailerAddress2() {
|
|
|
604 |
return retailerAddress2;
|
|
|
605 |
}
|
| 27723 |
tejbeer |
606 |
|
| 21545 |
ashik.ali |
607 |
public void setRetailerAddress2(String retailerAddress2) {
|
|
|
608 |
this.retailerAddress2 = retailerAddress2;
|
|
|
609 |
}
|
| 27723 |
tejbeer |
610 |
|
| 21545 |
ashik.ali |
611 |
public String getRetailerCity() {
|
|
|
612 |
return retailerCity;
|
|
|
613 |
}
|
| 27723 |
tejbeer |
614 |
|
| 21545 |
ashik.ali |
615 |
public void setRetailerCity(String retailerCity) {
|
|
|
616 |
this.retailerCity = retailerCity;
|
|
|
617 |
}
|
| 27723 |
tejbeer |
618 |
|
| 21545 |
ashik.ali |
619 |
public String getRetailerState() {
|
|
|
620 |
return retailerState;
|
|
|
621 |
}
|
| 27723 |
tejbeer |
622 |
|
| 21545 |
ashik.ali |
623 |
public void setRetailerState(String retailerState) {
|
|
|
624 |
this.retailerState = retailerState;
|
|
|
625 |
}
|
| 27723 |
tejbeer |
626 |
|
| 21545 |
ashik.ali |
627 |
public String getRetailerEmailId() {
|
|
|
628 |
return retailerEmailId;
|
|
|
629 |
}
|
| 27723 |
tejbeer |
630 |
|
| 21545 |
ashik.ali |
631 |
public void setRetailerEmailId(String retailerEmailId) {
|
|
|
632 |
this.retailerEmailId = retailerEmailId;
|
|
|
633 |
}
|
| 27723 |
tejbeer |
634 |
|
| 21545 |
ashik.ali |
635 |
public OrderStatus getStatus() {
|
|
|
636 |
return status;
|
|
|
637 |
}
|
| 27723 |
tejbeer |
638 |
|
| 21545 |
ashik.ali |
639 |
public void setStatus(OrderStatus status) {
|
|
|
640 |
this.status = status;
|
|
|
641 |
}
|
| 27723 |
tejbeer |
642 |
|
| 21545 |
ashik.ali |
643 |
public String getStatusDescription() {
|
|
|
644 |
return statusDescription;
|
|
|
645 |
}
|
| 27723 |
tejbeer |
646 |
|
| 21545 |
ashik.ali |
647 |
public void setStatusDescription(String statusDescription) {
|
|
|
648 |
this.statusDescription = statusDescription;
|
|
|
649 |
}
|
| 27723 |
tejbeer |
650 |
|
| 21629 |
kshitij.so |
651 |
public Float getTotalAmount() {
|
| 21545 |
ashik.ali |
652 |
return totalAmount;
|
|
|
653 |
}
|
| 27723 |
tejbeer |
654 |
|
| 21629 |
kshitij.so |
655 |
public void setTotalAmount(Float totalAmount) {
|
| 21545 |
ashik.ali |
656 |
this.totalAmount = totalAmount;
|
|
|
657 |
}
|
| 27723 |
tejbeer |
658 |
|
| 21629 |
kshitij.so |
659 |
public Float getGvAmount() {
|
| 21545 |
ashik.ali |
660 |
return gvAmount;
|
|
|
661 |
}
|
| 27723 |
tejbeer |
662 |
|
| 21629 |
kshitij.so |
663 |
public void setGvAmount(Float gvAmount) {
|
| 21545 |
ashik.ali |
664 |
this.gvAmount = gvAmount;
|
|
|
665 |
}
|
| 27723 |
tejbeer |
666 |
|
| 21629 |
kshitij.so |
667 |
public Float getTotalWeight() {
|
| 21545 |
ashik.ali |
668 |
return totalWeight;
|
|
|
669 |
}
|
| 27723 |
tejbeer |
670 |
|
| 21629 |
kshitij.so |
671 |
public void setTotalWeight(Float totalWeight) {
|
| 21545 |
ashik.ali |
672 |
this.totalWeight = totalWeight;
|
|
|
673 |
}
|
| 27723 |
tejbeer |
674 |
|
| 21545 |
ashik.ali |
675 |
public String getInvoiceNumber() {
|
|
|
676 |
return invoiceNumber;
|
|
|
677 |
}
|
| 27723 |
tejbeer |
678 |
|
| 21545 |
ashik.ali |
679 |
public void setInvoiceNumber(String invoiceNumber) {
|
|
|
680 |
this.invoiceNumber = invoiceNumber;
|
|
|
681 |
}
|
| 27723 |
tejbeer |
682 |
|
| 21545 |
ashik.ali |
683 |
public String getBilledBy() {
|
|
|
684 |
return billedBy;
|
|
|
685 |
}
|
| 27723 |
tejbeer |
686 |
|
| 21545 |
ashik.ali |
687 |
public void setBilledBy(String billedBy) {
|
|
|
688 |
this.billedBy = billedBy;
|
|
|
689 |
}
|
| 27723 |
tejbeer |
690 |
|
| 21545 |
ashik.ali |
691 |
public LocalDateTime getCreateTimestamp() {
|
|
|
692 |
return createTimestamp;
|
|
|
693 |
}
|
| 27723 |
tejbeer |
694 |
|
| 21545 |
ashik.ali |
695 |
public void setCreateTimestamp(LocalDateTime createTimestamp) {
|
|
|
696 |
this.createTimestamp = createTimestamp;
|
|
|
697 |
}
|
| 27723 |
tejbeer |
698 |
|
| 21545 |
ashik.ali |
699 |
public LocalDateTime getAcceptedTimestamp() {
|
|
|
700 |
return acceptedTimestamp;
|
|
|
701 |
}
|
| 27723 |
tejbeer |
702 |
|
| 21545 |
ashik.ali |
703 |
public void setAcceptedTimestamp(LocalDateTime acceptedTimestamp) {
|
|
|
704 |
this.acceptedTimestamp = acceptedTimestamp;
|
|
|
705 |
}
|
| 27723 |
tejbeer |
706 |
|
| 21545 |
ashik.ali |
707 |
public LocalDateTime getBillingTimestamp() {
|
|
|
708 |
return billingTimestamp;
|
|
|
709 |
}
|
| 27723 |
tejbeer |
710 |
|
| 21545 |
ashik.ali |
711 |
public void setBillingTimestamp(LocalDateTime billingTimestamp) {
|
|
|
712 |
this.billingTimestamp = billingTimestamp;
|
|
|
713 |
}
|
| 27723 |
tejbeer |
714 |
|
| 21545 |
ashik.ali |
715 |
public LocalDateTime getShippingTimestamp() {
|
|
|
716 |
return shippingTimestamp;
|
|
|
717 |
}
|
| 27723 |
tejbeer |
718 |
|
| 21545 |
ashik.ali |
719 |
public void setShippingTimestamp(LocalDateTime shippingTimestamp) {
|
|
|
720 |
this.shippingTimestamp = shippingTimestamp;
|
|
|
721 |
}
|
| 27723 |
tejbeer |
722 |
|
| 21545 |
ashik.ali |
723 |
public LocalDateTime getPickupTimestamp() {
|
|
|
724 |
return pickupTimestamp;
|
|
|
725 |
}
|
| 27723 |
tejbeer |
726 |
|
| 21545 |
ashik.ali |
727 |
public void setPickupTimestamp(LocalDateTime pickupTimestamp) {
|
|
|
728 |
this.pickupTimestamp = pickupTimestamp;
|
|
|
729 |
}
|
| 27723 |
tejbeer |
730 |
|
| 21545 |
ashik.ali |
731 |
public LocalDateTime getDeliveryTimestamp() {
|
|
|
732 |
return deliveryTimestamp;
|
|
|
733 |
}
|
| 27723 |
tejbeer |
734 |
|
| 21545 |
ashik.ali |
735 |
public void setDeliveryTimestamp(LocalDateTime deliveryTimestamp) {
|
|
|
736 |
this.deliveryTimestamp = deliveryTimestamp;
|
|
|
737 |
}
|
| 27723 |
tejbeer |
738 |
|
| 21545 |
ashik.ali |
739 |
public LocalDateTime getOutOfStockTimestamp() {
|
|
|
740 |
return outOfStockTimestamp;
|
|
|
741 |
}
|
| 27723 |
tejbeer |
742 |
|
| 21545 |
ashik.ali |
743 |
public void setOutOfStockTimestamp(LocalDateTime outOfStockTimestamp) {
|
|
|
744 |
this.outOfStockTimestamp = outOfStockTimestamp;
|
|
|
745 |
}
|
| 27723 |
tejbeer |
746 |
|
| 21629 |
kshitij.so |
747 |
public Integer getTransactionId() {
|
| 21545 |
ashik.ali |
748 |
return transactionId;
|
|
|
749 |
}
|
| 27723 |
tejbeer |
750 |
|
| 21629 |
kshitij.so |
751 |
public void setTransactionId(Integer transactionId) {
|
| 21545 |
ashik.ali |
752 |
this.transactionId = transactionId;
|
|
|
753 |
}
|
| 27723 |
tejbeer |
754 |
|
|
|
755 |
/*
|
|
|
756 |
* public Integer getJacketNumber() { return jacketNumber; } public void
|
|
|
757 |
* setJacketNumber(Integer jacketNumber) { this.jacketNumber = jacketNumber; }
|
|
|
758 |
*/
|
| 21545 |
ashik.ali |
759 |
public String getReceiver() {
|
|
|
760 |
return receiver;
|
|
|
761 |
}
|
| 27723 |
tejbeer |
762 |
|
| 21545 |
ashik.ali |
763 |
public void setReceiver(String receiver) {
|
|
|
764 |
this.receiver = receiver;
|
|
|
765 |
}
|
| 27723 |
tejbeer |
766 |
|
| 21629 |
kshitij.so |
767 |
public Integer getBatchNumber() {
|
| 21545 |
ashik.ali |
768 |
return batchNumber;
|
|
|
769 |
}
|
| 27723 |
tejbeer |
770 |
|
| 21629 |
kshitij.so |
771 |
public void setBatchNumber(Integer batchNumber) {
|
| 21545 |
ashik.ali |
772 |
this.batchNumber = batchNumber;
|
|
|
773 |
}
|
| 27723 |
tejbeer |
774 |
|
| 21629 |
kshitij.so |
775 |
public Integer getSerialNumber() {
|
| 21545 |
ashik.ali |
776 |
return serialNumber;
|
|
|
777 |
}
|
| 27723 |
tejbeer |
778 |
|
| 21629 |
kshitij.so |
779 |
public void setSerialNumber(Integer serialNumber) {
|
| 21545 |
ashik.ali |
780 |
this.serialNumber = serialNumber;
|
|
|
781 |
}
|
| 27723 |
tejbeer |
782 |
|
| 21629 |
kshitij.so |
783 |
public Boolean isDoaFlag() {
|
| 21545 |
ashik.ali |
784 |
return doaFlag;
|
|
|
785 |
}
|
| 27723 |
tejbeer |
786 |
|
| 21629 |
kshitij.so |
787 |
public void setDoaFlag(Boolean doaFlag) {
|
| 21545 |
ashik.ali |
788 |
this.doaFlag = doaFlag;
|
|
|
789 |
}
|
| 27723 |
tejbeer |
790 |
|
| 21629 |
kshitij.so |
791 |
public Integer getPickupRequestNumber() {
|
| 21545 |
ashik.ali |
792 |
return pickupRequestNumber;
|
|
|
793 |
}
|
| 27723 |
tejbeer |
794 |
|
| 21629 |
kshitij.so |
795 |
public void setPickupRequestNumber(Integer pickupRequestNumber) {
|
| 21545 |
ashik.ali |
796 |
this.pickupRequestNumber = pickupRequestNumber;
|
|
|
797 |
}
|
| 27723 |
tejbeer |
798 |
|
| 21629 |
kshitij.so |
799 |
public Integer getNewOrderId() {
|
| 21545 |
ashik.ali |
800 |
return newOrderId;
|
|
|
801 |
}
|
| 27723 |
tejbeer |
802 |
|
| 21629 |
kshitij.so |
803 |
public void setNewOrderId(Integer newOrderId) {
|
| 21545 |
ashik.ali |
804 |
this.newOrderId = newOrderId;
|
|
|
805 |
}
|
| 27723 |
tejbeer |
806 |
|
| 21545 |
ashik.ali |
807 |
public LocalDateTime getDoaAuthTimestamp() {
|
|
|
808 |
return doaAuthTimestamp;
|
|
|
809 |
}
|
| 27723 |
tejbeer |
810 |
|
| 21545 |
ashik.ali |
811 |
public void setDoaAuthTimestamp(LocalDateTime doaAuthTimestamp) {
|
|
|
812 |
this.doaAuthTimestamp = doaAuthTimestamp;
|
|
|
813 |
}
|
| 27723 |
tejbeer |
814 |
|
| 21545 |
ashik.ali |
815 |
public LocalDateTime getDoaPickupTimestamp() {
|
|
|
816 |
return doaPickupTimestamp;
|
|
|
817 |
}
|
| 27723 |
tejbeer |
818 |
|
| 21545 |
ashik.ali |
819 |
public void setDoaPickupTimestamp(LocalDateTime doaPickupTimestamp) {
|
|
|
820 |
this.doaPickupTimestamp = doaPickupTimestamp;
|
|
|
821 |
}
|
| 27723 |
tejbeer |
822 |
|
| 21545 |
ashik.ali |
823 |
public LocalDateTime getReceiverReturnTimestamp() {
|
|
|
824 |
return receiverReturnTimestamp;
|
|
|
825 |
}
|
| 27723 |
tejbeer |
826 |
|
| 21545 |
ashik.ali |
827 |
public void setReceiverReturnTimestamp(LocalDateTime receiverReturnTimestamp) {
|
|
|
828 |
this.receiverReturnTimestamp = receiverReturnTimestamp;
|
|
|
829 |
}
|
| 27723 |
tejbeer |
830 |
|
| 21545 |
ashik.ali |
831 |
public LocalDateTime getReShipTimestamp() {
|
|
|
832 |
return reShipTimestamp;
|
|
|
833 |
}
|
| 27723 |
tejbeer |
834 |
|
| 21545 |
ashik.ali |
835 |
public void setReShipTimestamp(LocalDateTime reShipTimestamp) {
|
|
|
836 |
this.reShipTimestamp = reShipTimestamp;
|
|
|
837 |
}
|
| 27723 |
tejbeer |
838 |
|
| 21545 |
ashik.ali |
839 |
public LocalDateTime getRefundTimestamp() {
|
|
|
840 |
return refundTimestamp;
|
|
|
841 |
}
|
| 27723 |
tejbeer |
842 |
|
| 21545 |
ashik.ali |
843 |
public void setRefundTimestamp(LocalDateTime refundTimestamp) {
|
|
|
844 |
this.refundTimestamp = refundTimestamp;
|
|
|
845 |
}
|
| 27723 |
tejbeer |
846 |
|
| 21629 |
kshitij.so |
847 |
public Integer getPurchaseOrderId() {
|
| 21545 |
ashik.ali |
848 |
return purchaseOrderId;
|
|
|
849 |
}
|
| 27723 |
tejbeer |
850 |
|
| 21629 |
kshitij.so |
851 |
public void setPurchaseOrderId(Integer purchaseOrderId) {
|
| 21545 |
ashik.ali |
852 |
this.purchaseOrderId = purchaseOrderId;
|
|
|
853 |
}
|
| 27723 |
tejbeer |
854 |
|
| 21629 |
kshitij.so |
855 |
public Boolean isCod() {
|
| 21545 |
ashik.ali |
856 |
return cod;
|
|
|
857 |
}
|
| 27723 |
tejbeer |
858 |
|
| 21629 |
kshitij.so |
859 |
public void setCod(Boolean cod) {
|
| 21545 |
ashik.ali |
860 |
this.cod = cod;
|
|
|
861 |
}
|
| 27723 |
tejbeer |
862 |
|
| 21545 |
ashik.ali |
863 |
public LocalDateTime getVerificationTimestamp() {
|
|
|
864 |
return verificationTimestamp;
|
|
|
865 |
}
|
| 27723 |
tejbeer |
866 |
|
| 21545 |
ashik.ali |
867 |
public void setVerificationTimestamp(LocalDateTime verificationTimestamp) {
|
|
|
868 |
this.verificationTimestamp = verificationTimestamp;
|
|
|
869 |
}
|
| 27723 |
tejbeer |
870 |
|
| 21545 |
ashik.ali |
871 |
public String getRefundBy() {
|
|
|
872 |
return refundBy;
|
|
|
873 |
}
|
| 27723 |
tejbeer |
874 |
|
| 21545 |
ashik.ali |
875 |
public void setRefundBy(String refundBy) {
|
|
|
876 |
this.refundBy = refundBy;
|
|
|
877 |
}
|
| 27723 |
tejbeer |
878 |
|
| 21545 |
ashik.ali |
879 |
public String getRefundReason() {
|
|
|
880 |
return refundReason;
|
|
|
881 |
}
|
| 27723 |
tejbeer |
882 |
|
| 21545 |
ashik.ali |
883 |
public void setRefundReason(String refundReason) {
|
|
|
884 |
this.refundReason = refundReason;
|
|
|
885 |
}
|
| 27723 |
tejbeer |
886 |
|
|
|
887 |
/*
|
|
|
888 |
* public DelayReason getDelayReason() { return delayReason; } public void
|
|
|
889 |
* setDelayReason(DelayReason delayReason) { this.delayReason = delayReason; }
|
|
|
890 |
*/
|
| 21545 |
ashik.ali |
891 |
public LocalDateTime getCodReconciliationTimestamp() {
|
|
|
892 |
return codReconciliationTimestamp;
|
|
|
893 |
}
|
| 27723 |
tejbeer |
894 |
|
| 21545 |
ashik.ali |
895 |
public void setCodReconciliationTimestamp(LocalDateTime codReconciliationTimestamp) {
|
|
|
896 |
this.codReconciliationTimestamp = codReconciliationTimestamp;
|
|
|
897 |
}
|
| 27723 |
tejbeer |
898 |
|
| 21629 |
kshitij.so |
899 |
public Integer getPreviousStatus() {
|
| 21545 |
ashik.ali |
900 |
return previousStatus;
|
|
|
901 |
}
|
| 27723 |
tejbeer |
902 |
|
| 21629 |
kshitij.so |
903 |
public void setPreviousStatus(Integer previousStatus) {
|
| 21545 |
ashik.ali |
904 |
this.previousStatus = previousStatus;
|
|
|
905 |
}
|
| 27723 |
tejbeer |
906 |
|
| 21629 |
kshitij.so |
907 |
public Integer getVendorId() {
|
| 21545 |
ashik.ali |
908 |
return vendorId;
|
|
|
909 |
}
|
| 27723 |
tejbeer |
910 |
|
| 21629 |
kshitij.so |
911 |
public void setVendorId(Integer vendorId) {
|
| 21545 |
ashik.ali |
912 |
this.vendorId = vendorId;
|
|
|
913 |
}
|
| 27723 |
tejbeer |
914 |
|
| 21545 |
ashik.ali |
915 |
public String getDelayReasonText() {
|
|
|
916 |
return delayReasonText;
|
|
|
917 |
}
|
| 27723 |
tejbeer |
918 |
|
| 21545 |
ashik.ali |
919 |
public void setDelayReasonText(String delayReasonText) {
|
|
|
920 |
this.delayReasonText = delayReasonText;
|
|
|
921 |
}
|
| 27723 |
tejbeer |
922 |
|
| 21629 |
kshitij.so |
923 |
public Integer getDoaLogisticsProviderId() {
|
| 21545 |
ashik.ali |
924 |
return doaLogisticsProviderId;
|
|
|
925 |
}
|
| 27723 |
tejbeer |
926 |
|
| 21629 |
kshitij.so |
927 |
public void setDoaLogisticsProviderId(Integer doaLogisticsProviderId) {
|
| 21545 |
ashik.ali |
928 |
this.doaLogisticsProviderId = doaLogisticsProviderId;
|
|
|
929 |
}
|
| 27723 |
tejbeer |
930 |
|
| 21629 |
kshitij.so |
931 |
public Boolean isVendorPaid() {
|
| 21545 |
ashik.ali |
932 |
return vendorPaid;
|
|
|
933 |
}
|
| 27723 |
tejbeer |
934 |
|
| 21629 |
kshitij.so |
935 |
public void setVendorPaid(Boolean vendorPaid) {
|
| 21545 |
ashik.ali |
936 |
this.vendorPaid = vendorPaid;
|
|
|
937 |
}
|
| 27723 |
tejbeer |
938 |
|
| 21545 |
ashik.ali |
939 |
public LocalDateTime getLocalConnectedTimestamp() {
|
|
|
940 |
return localConnectedTimestamp;
|
|
|
941 |
}
|
| 27723 |
tejbeer |
942 |
|
| 21545 |
ashik.ali |
943 |
public void setLocalConnectedTimestamp(LocalDateTime localConnectedTimestamp) {
|
|
|
944 |
this.localConnectedTimestamp = localConnectedTimestamp;
|
|
|
945 |
}
|
| 27723 |
tejbeer |
946 |
|
| 21545 |
ashik.ali |
947 |
public LocalDateTime getReachedDestinationTimestamp() {
|
|
|
948 |
return reachedDestinationTimestamp;
|
|
|
949 |
}
|
| 27723 |
tejbeer |
950 |
|
| 21545 |
ashik.ali |
951 |
public void setReachedDestinationTimestamp(LocalDateTime reachedDestinationTimestamp) {
|
|
|
952 |
this.reachedDestinationTimestamp = reachedDestinationTimestamp;
|
|
|
953 |
}
|
| 27723 |
tejbeer |
954 |
|
| 21545 |
ashik.ali |
955 |
public LocalDateTime getFirstDlvyatmpTimestamp() {
|
|
|
956 |
return firstDlvyatmpTimestamp;
|
|
|
957 |
}
|
| 27723 |
tejbeer |
958 |
|
| 21545 |
ashik.ali |
959 |
public void setFirstDlvyatmpTimestamp(LocalDateTime firstDlvyatmpTimestamp) {
|
|
|
960 |
this.firstDlvyatmpTimestamp = firstDlvyatmpTimestamp;
|
|
|
961 |
}
|
| 27723 |
tejbeer |
962 |
|
| 21629 |
kshitij.so |
963 |
public Integer getOriginalOrderId() {
|
| 21545 |
ashik.ali |
964 |
return originalOrderId;
|
|
|
965 |
}
|
| 27723 |
tejbeer |
966 |
|
| 21629 |
kshitij.so |
967 |
public void setOriginalOrderId(Integer originalOrderId) {
|
| 21545 |
ashik.ali |
968 |
this.originalOrderId = originalOrderId;
|
|
|
969 |
}
|
| 27723 |
tejbeer |
970 |
|
| 21629 |
kshitij.so |
971 |
public Integer getFulfilmentWarehouseId() {
|
| 21545 |
ashik.ali |
972 |
return fulfilmentWarehouseId;
|
|
|
973 |
}
|
| 27723 |
tejbeer |
974 |
|
| 21629 |
kshitij.so |
975 |
public void setFulfilmentWarehouseId(Integer fulfilmentWarehouseId) {
|
| 21545 |
ashik.ali |
976 |
this.fulfilmentWarehouseId = fulfilmentWarehouseId;
|
|
|
977 |
}
|
| 27723 |
tejbeer |
978 |
|
| 21629 |
kshitij.so |
979 |
public Integer getOrderType() {
|
| 21545 |
ashik.ali |
980 |
return orderType;
|
|
|
981 |
}
|
| 27723 |
tejbeer |
982 |
|
| 21629 |
kshitij.so |
983 |
public void setOrderType(Integer orderType) {
|
| 21545 |
ashik.ali |
984 |
this.orderType = orderType;
|
|
|
985 |
}
|
| 27723 |
tejbeer |
986 |
|
| 21629 |
kshitij.so |
987 |
public Integer getPickupStoreId() {
|
| 21545 |
ashik.ali |
988 |
return pickupStoreId;
|
|
|
989 |
}
|
| 27723 |
tejbeer |
990 |
|
| 21629 |
kshitij.so |
991 |
public void setPickupStoreId(Integer pickupStoreId) {
|
| 21545 |
ashik.ali |
992 |
this.pickupStoreId = pickupStoreId;
|
|
|
993 |
}
|
| 27723 |
tejbeer |
994 |
|
| 21629 |
kshitij.so |
995 |
public Boolean isOtg() {
|
| 21545 |
ashik.ali |
996 |
return otg;
|
|
|
997 |
}
|
| 27723 |
tejbeer |
998 |
|
| 21629 |
kshitij.so |
999 |
public void setOtg(Boolean otg) {
|
| 21545 |
ashik.ali |
1000 |
this.otg = otg;
|
|
|
1001 |
}
|
| 27723 |
tejbeer |
1002 |
|
| 21545 |
ashik.ali |
1003 |
public LocalDateTime getCourierDeliveryTimestamp() {
|
|
|
1004 |
return courierDeliveryTimestamp;
|
|
|
1005 |
}
|
| 27723 |
tejbeer |
1006 |
|
| 21545 |
ashik.ali |
1007 |
public void setCourierDeliveryTimestamp(LocalDateTime courierDeliveryTimestamp) {
|
|
|
1008 |
this.courierDeliveryTimestamp = courierDeliveryTimestamp;
|
|
|
1009 |
}
|
| 27723 |
tejbeer |
1010 |
|
| 21629 |
kshitij.so |
1011 |
public Integer getInsurer() {
|
| 21545 |
ashik.ali |
1012 |
return insurer;
|
|
|
1013 |
}
|
| 27723 |
tejbeer |
1014 |
|
| 21629 |
kshitij.so |
1015 |
public void setInsurer(Integer insurer) {
|
| 21545 |
ashik.ali |
1016 |
this.insurer = insurer;
|
|
|
1017 |
}
|
| 27723 |
tejbeer |
1018 |
|
| 21629 |
kshitij.so |
1019 |
public Float getInsuranceAmount() {
|
| 21545 |
ashik.ali |
1020 |
return insuranceAmount;
|
|
|
1021 |
}
|
| 27723 |
tejbeer |
1022 |
|
| 21629 |
kshitij.so |
1023 |
public void setInsuranceAmount(Float insuranceAmount) {
|
| 21545 |
ashik.ali |
1024 |
this.insuranceAmount = insuranceAmount;
|
|
|
1025 |
}
|
| 27723 |
tejbeer |
1026 |
|
| 21629 |
kshitij.so |
1027 |
public Integer getFreebieItemId() {
|
| 21545 |
ashik.ali |
1028 |
return freebieItemId;
|
|
|
1029 |
}
|
| 27723 |
tejbeer |
1030 |
|
| 21629 |
kshitij.so |
1031 |
public void setFreebieItemId(Integer freebieItemId) {
|
| 21545 |
ashik.ali |
1032 |
this.freebieItemId = freebieItemId;
|
|
|
1033 |
}
|
| 27723 |
tejbeer |
1034 |
|
| 21629 |
kshitij.so |
1035 |
public Integer getSource() {
|
| 21545 |
ashik.ali |
1036 |
return source;
|
|
|
1037 |
}
|
| 27723 |
tejbeer |
1038 |
|
| 21629 |
kshitij.so |
1039 |
public void setSource(Integer source) {
|
| 21545 |
ashik.ali |
1040 |
this.source = source;
|
|
|
1041 |
}
|
| 27723 |
tejbeer |
1042 |
|
| 21629 |
kshitij.so |
1043 |
public Float getAdvanceAmount() {
|
| 21545 |
ashik.ali |
1044 |
return advanceAmount;
|
|
|
1045 |
}
|
| 27723 |
tejbeer |
1046 |
|
| 21629 |
kshitij.so |
1047 |
public void setAdvanceAmount(Float advanceAmount) {
|
| 21545 |
ashik.ali |
1048 |
this.advanceAmount = advanceAmount;
|
|
|
1049 |
}
|
| 27723 |
tejbeer |
1050 |
|
| 21629 |
kshitij.so |
1051 |
public Integer getStoreId() {
|
| 21545 |
ashik.ali |
1052 |
return storeId;
|
|
|
1053 |
}
|
| 27723 |
tejbeer |
1054 |
|
| 21629 |
kshitij.so |
1055 |
public void setStoreId(Integer storeId) {
|
| 21545 |
ashik.ali |
1056 |
this.storeId = storeId;
|
|
|
1057 |
}
|
| 27723 |
tejbeer |
1058 |
|
| 21629 |
kshitij.so |
1059 |
public Integer getProductCondition() {
|
| 21545 |
ashik.ali |
1060 |
return productCondition;
|
|
|
1061 |
}
|
| 27723 |
tejbeer |
1062 |
|
| 21629 |
kshitij.so |
1063 |
public void setProductCondition(Integer productCondition) {
|
| 21545 |
ashik.ali |
1064 |
this.productCondition = productCondition;
|
|
|
1065 |
}
|
| 27723 |
tejbeer |
1066 |
|
| 21629 |
kshitij.so |
1067 |
public Integer getDataProtectionInsurer() {
|
| 21545 |
ashik.ali |
1068 |
return dataProtectionInsurer;
|
|
|
1069 |
}
|
| 27723 |
tejbeer |
1070 |
|
| 21629 |
kshitij.so |
1071 |
public void setDataProtectionInsurer(Integer dataProtectionInsurer) {
|
| 21545 |
ashik.ali |
1072 |
this.dataProtectionInsurer = dataProtectionInsurer;
|
|
|
1073 |
}
|
| 27723 |
tejbeer |
1074 |
|
| 21629 |
kshitij.so |
1075 |
public Integer getDataProtectionAmount() {
|
| 21545 |
ashik.ali |
1076 |
return dataProtectionAmount;
|
|
|
1077 |
}
|
| 27723 |
tejbeer |
1078 |
|
| 21629 |
kshitij.so |
1079 |
public void setDataProtectionAmount(Integer dataProtectionAmount) {
|
| 21545 |
ashik.ali |
1080 |
this.dataProtectionAmount = dataProtectionAmount;
|
|
|
1081 |
}
|
| 27723 |
tejbeer |
1082 |
|
| 21545 |
ashik.ali |
1083 |
public TaxType getTaxType() {
|
|
|
1084 |
return taxType;
|
|
|
1085 |
}
|
| 27723 |
tejbeer |
1086 |
|
| 21545 |
ashik.ali |
1087 |
public void setTaxType(TaxType taxType) {
|
|
|
1088 |
this.taxType = taxType;
|
|
|
1089 |
}
|
| 27723 |
tejbeer |
1090 |
|
| 21545 |
ashik.ali |
1091 |
public String getLogisticsTransactionId() {
|
|
|
1092 |
return logisticsTransactionId;
|
|
|
1093 |
}
|
| 27723 |
tejbeer |
1094 |
|
| 21545 |
ashik.ali |
1095 |
public void setLogisticsTransactionId(String logisticsTransactionId) {
|
|
|
1096 |
this.logisticsTransactionId = logisticsTransactionId;
|
|
|
1097 |
}
|
| 27723 |
tejbeer |
1098 |
|
| 21629 |
kshitij.so |
1099 |
public Float getShippingCost() {
|
| 21545 |
ashik.ali |
1100 |
return shippingCost;
|
|
|
1101 |
}
|
| 27723 |
tejbeer |
1102 |
|
| 21629 |
kshitij.so |
1103 |
public void setShippingCost(Float shippingCost) {
|
| 21545 |
ashik.ali |
1104 |
this.shippingCost = shippingCost;
|
|
|
1105 |
}
|
| 27723 |
tejbeer |
1106 |
|
| 21629 |
kshitij.so |
1107 |
public Float getCodCharges() {
|
| 21545 |
ashik.ali |
1108 |
return codCharges;
|
|
|
1109 |
}
|
| 27723 |
tejbeer |
1110 |
|
| 21629 |
kshitij.so |
1111 |
public void setCodCharges(Float codCharges) {
|
| 21545 |
ashik.ali |
1112 |
this.codCharges = codCharges;
|
|
|
1113 |
}
|
| 27723 |
tejbeer |
1114 |
|
| 21629 |
kshitij.so |
1115 |
public Float getWalletAmount() {
|
| 21545 |
ashik.ali |
1116 |
return walletAmount;
|
|
|
1117 |
}
|
| 27723 |
tejbeer |
1118 |
|
| 21629 |
kshitij.so |
1119 |
public void setWalletAmount(Float walletAmount) {
|
| 21545 |
ashik.ali |
1120 |
this.walletAmount = walletAmount;
|
|
|
1121 |
}
|
| 27723 |
tejbeer |
1122 |
|
| 21629 |
kshitij.so |
1123 |
public Float getNetPayableAmount() {
|
| 21545 |
ashik.ali |
1124 |
return netPayableAmount;
|
|
|
1125 |
}
|
| 27723 |
tejbeer |
1126 |
|
| 21629 |
kshitij.so |
1127 |
public void setNetPayableAmount(Float netPayableAmount) {
|
| 21545 |
ashik.ali |
1128 |
this.netPayableAmount = netPayableAmount;
|
|
|
1129 |
}
|
| 27723 |
tejbeer |
1130 |
|
| 21629 |
kshitij.so |
1131 |
public Float getShippingRefund() {
|
| 21545 |
ashik.ali |
1132 |
return shippingRefund;
|
|
|
1133 |
}
|
| 27723 |
tejbeer |
1134 |
|
| 21629 |
kshitij.so |
1135 |
public void setShippingRefund(Float shippingRefund) {
|
| 21545 |
ashik.ali |
1136 |
this.shippingRefund = shippingRefund;
|
|
|
1137 |
}
|
| 27723 |
tejbeer |
1138 |
|
| 21653 |
ashik.ali |
1139 |
public LineItem getLineItem() {
|
|
|
1140 |
return lineItem;
|
|
|
1141 |
}
|
| 27723 |
tejbeer |
1142 |
|
| 21653 |
ashik.ali |
1143 |
public void setLineItem(LineItem lineItem) {
|
|
|
1144 |
this.lineItem = lineItem;
|
|
|
1145 |
}
|
| 27723 |
tejbeer |
1146 |
|
|
|
1147 |
public String getFormattedDate() {
|
|
|
1148 |
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm");
|
| 23075 |
ashik.ali |
1149 |
return this.createTimestamp.format(formatter);
|
| 27723 |
tejbeer |
1150 |
}
|
|
|
1151 |
|
| 21545 |
ashik.ali |
1152 |
@Override
|
| 21924 |
ashik.ali |
1153 |
public int hashCode() {
|
|
|
1154 |
final int prime = 31;
|
|
|
1155 |
int result = 1;
|
|
|
1156 |
result = prime * result + ((id == null) ? 0 : id.hashCode());
|
|
|
1157 |
return result;
|
|
|
1158 |
}
|
| 27723 |
tejbeer |
1159 |
|
| 21924 |
ashik.ali |
1160 |
@Override
|
|
|
1161 |
public boolean equals(Object obj) {
|
|
|
1162 |
if (this == obj)
|
|
|
1163 |
return true;
|
|
|
1164 |
if (obj == null)
|
|
|
1165 |
return false;
|
|
|
1166 |
if (getClass() != obj.getClass())
|
|
|
1167 |
return false;
|
|
|
1168 |
Order other = (Order) obj;
|
|
|
1169 |
if (id == null) {
|
|
|
1170 |
if (other.id != null)
|
|
|
1171 |
return false;
|
|
|
1172 |
} else if (!id.equals(other.id))
|
|
|
1173 |
return false;
|
|
|
1174 |
return true;
|
|
|
1175 |
}
|
| 27723 |
tejbeer |
1176 |
|
| 21924 |
ashik.ali |
1177 |
@Override
|
| 21545 |
ashik.ali |
1178 |
public String toString() {
|
|
|
1179 |
return "Order [id=" + id + ", warehouseId=" + warehouseId + ", sellerId=" + sellerId + ", warehouseAddressId="
|
|
|
1180 |
+ warehouseAddressId + ", logisticsProviderId=" + logisticsProviderId + ", airwayBillNumber="
|
|
|
1181 |
+ airwayBillNumber + ", trackingId=" + trackingId + ", expectedDeliveryTime=" + expectedDeliveryTime
|
|
|
1182 |
+ ", promisedDeliveryTime=" + promisedDeliveryTime + ", expectedShippingTime=" + expectedShippingTime
|
| 27723 |
tejbeer |
1183 |
+ ", promisedShippingTime=" + promisedShippingTime + ", partnerPurchaseTimestamp=" + partnerGrnTimestamp
|
|
|
1184 |
+ ", retailerId=" + retailerId + ", retailerName=" + retailerName + ", retailerMobileNumber="
|
|
|
1185 |
+ retailerMobileNumber + ", retailerPinCode=" + retailerPinCode + ", retailerAddress1="
|
|
|
1186 |
+ retailerAddress1 + ", retailerAddress2=" + retailerAddress2 + ", retailerCity=" + retailerCity
|
|
|
1187 |
+ ", retailerState=" + retailerState + ", retailerEmailId=" + retailerEmailId + ", status=" + status
|
|
|
1188 |
+ ", statusDescription=" + statusDescription + ", totalAmount=" + totalAmount + ", gvAmount=" + gvAmount
|
|
|
1189 |
+ ", totalWeight=" + totalWeight + ", invoiceNumber=" + invoiceNumber + ", billedBy=" + billedBy
|
|
|
1190 |
+ ", createTimestamp=" + createTimestamp + ", acceptedTimestamp=" + acceptedTimestamp
|
|
|
1191 |
+ ", billingTimestamp=" + billingTimestamp + ", shippingTimestamp=" + shippingTimestamp
|
|
|
1192 |
+ ", pickupTimestamp=" + pickupTimestamp + ", deliveryTimestamp=" + deliveryTimestamp
|
|
|
1193 |
+ ", outOfStockTimestamp=" + outOfStockTimestamp + ", transactionId=" + transactionId + ", receiver="
|
|
|
1194 |
+ receiver + ", batchNumber=" + batchNumber + ", serialNumber=" + serialNumber + ", doaFlag=" + doaFlag
|
|
|
1195 |
+ ", pickupRequestNumber=" + pickupRequestNumber + ", newOrderId=" + newOrderId + ", doaAuthTimestamp="
|
|
|
1196 |
+ doaAuthTimestamp + ", doaPickupTimestamp=" + doaPickupTimestamp + ", receiverReturnTimestamp="
|
|
|
1197 |
+ receiverReturnTimestamp + ", reShipTimestamp=" + reShipTimestamp + ", refundTimestamp="
|
|
|
1198 |
+ refundTimestamp + ", purchaseOrderId=" + purchaseOrderId + ", cod=" + cod + ", verificationTimestamp="
|
|
|
1199 |
+ verificationTimestamp + ", refundBy=" + refundBy + ", refundReason=" + refundReason
|
|
|
1200 |
+ ", codReconciliationTimestamp=" + codReconciliationTimestamp + ", previousStatus=" + previousStatus
|
|
|
1201 |
+ ", vendorId=" + vendorId + ", delayReasonText=" + delayReasonText + ", doaLogisticsProviderId="
|
|
|
1202 |
+ doaLogisticsProviderId + ", vendorPaid=" + vendorPaid + ", localConnectedTimestamp="
|
|
|
1203 |
+ localConnectedTimestamp + ", reachedDestinationTimestamp=" + reachedDestinationTimestamp
|
|
|
1204 |
+ ", firstDlvyatmpTimestamp=" + firstDlvyatmpTimestamp + ", originalOrderId=" + originalOrderId
|
|
|
1205 |
+ ", fulfilmentWarehouseId=" + fulfilmentWarehouseId + ", orderType=" + orderType + ", pickupStoreId="
|
|
|
1206 |
+ pickupStoreId + ", otg=" + otg + ", courierDeliveryTimestamp=" + courierDeliveryTimestamp
|
|
|
1207 |
+ ", insurer=" + insurer + ", insuranceAmount=" + insuranceAmount + ", freebieItemId=" + freebieItemId
|
|
|
1208 |
+ ", source=" + source + ", advanceAmount=" + advanceAmount + ", storeId=" + storeId
|
|
|
1209 |
+ ", productCondition=" + productCondition + ", dataProtectionInsurer=" + dataProtectionInsurer
|
|
|
1210 |
+ ", dataProtectionAmount=" + dataProtectionAmount + ", taxType=" + taxType
|
|
|
1211 |
+ ", logisticsTransactionId=" + logisticsTransactionId + ", shippingCost=" + shippingCost
|
|
|
1212 |
+ ", codCharges=" + codCharges + ", walletAmount=" + walletAmount + ", netPayableAmount="
|
| 23884 |
amit.gupta |
1213 |
+ netPayableAmount + ", shippingRefund=" + shippingRefund + ", lineItem=" + lineItem + "]";
|
| 21545 |
ashik.ali |
1214 |
}
|
| 27723 |
tejbeer |
1215 |
|
| 21545 |
ashik.ali |
1216 |
}
|