| 68 |
ashish |
1 |
namespace java in.shop2020.model.v1.order
|
| 95 |
ashish |
2 |
namespace py shop2020.thriftpy.model.v1.order
|
| 3374 |
rajveer |
3 |
|
|
|
4 |
include "GenericService.thrift"
|
|
|
5 |
|
| 68 |
ashish |
6 |
/***
|
|
|
7 |
Order objects.
|
|
|
8 |
*/
|
| 11173 |
vikram.rag |
9 |
|
|
|
10 |
enum AmazonFCWarehouseLocation {
|
|
|
11 |
Mumbai = 0,
|
| 12872 |
amit.gupta |
12 |
Bangalore = 1,
|
|
|
13 |
Gurgaon = 2
|
| 11173 |
vikram.rag |
14 |
}
|
|
|
15 |
|
| 13584 |
manish.sha |
16 |
enum FlipkartFCWarehouseLocation {
|
|
|
17 |
Delhi = 0
|
|
|
18 |
}
|
|
|
19 |
|
| 483 |
rajveer |
20 |
enum OrderStatus{
|
| 845 |
chandransh |
21 |
PAYMENT_PENDING,
|
|
|
22 |
PAYMENT_FAILED,
|
| 4661 |
rajveer |
23 |
COD_VERIFICATION_PENDING,
|
| 483 |
rajveer |
24 |
SUBMITTED_FOR_PROCESSING,
|
|
|
25 |
ACCEPTED,
|
|
|
26 |
INVENTORY_LOW,
|
| 495 |
rajveer |
27 |
REJECTED,
|
| 483 |
rajveer |
28 |
BILLED,
|
| 4245 |
rajveer |
29 |
PAYMENT_FLAGGED,
|
| 483 |
rajveer |
30 |
SHIPPED_FROM_WH,
|
|
|
31 |
SHIPPED_TO_LOGST,
|
| 4245 |
rajveer |
32 |
PAYMENT_FLAGGED_DENIED,
|
| 483 |
rajveer |
33 |
DELIVERY_SUCCESS,
|
| 4245 |
rajveer |
34 |
CANCEL_REQUEST_RECEIVED,
|
|
|
35 |
CANCEL_REQUEST_CONFIRMED,
|
|
|
36 |
CANCELLED_ON_CUSTOMER_REQUEST,
|
| 4910 |
phani.kuma |
37 |
SHIPPED_TO_DESTINATION_CITY,
|
|
|
38 |
REACHED_DESTINATION_CITY,
|
| 4682 |
rajveer |
39 |
COD_VERIFICATION_FAILED,
|
| 2537 |
chandransh |
40 |
FAILED,
|
| 4484 |
rajveer |
41 |
RTO_IN_TRANSIT,
|
|
|
42 |
RTO_RECEIVED_PRESTINE,
|
| 4452 |
rajveer |
43 |
DOA_PICKUP_REQUEST_RAISED,
|
|
|
44 |
DOA_PICKUP_CONFIRMED,
|
| 2537 |
chandransh |
45 |
DOA_RETURN_IN_TRANSIT,
|
| 4452 |
rajveer |
46 |
DOA_RECEIVED_PRESTINE,
|
| 2537 |
chandransh |
47 |
DOA_CERT_INVALID,
|
| 2614 |
chandransh |
48 |
DOA_CERT_VALID,
|
| 4484 |
rajveer |
49 |
RTO_RESHIPPED,
|
| 2614 |
chandransh |
50 |
DOA_INVALID_RESHIPPED,
|
| 4452 |
rajveer |
51 |
DOA_VALID_RESHIPPED,
|
| 4484 |
rajveer |
52 |
RTO_REFUNDED,
|
| 2614 |
chandransh |
53 |
DOA_VALID_REFUNDED,
|
|
|
54 |
DOA_INVALID_REFUNDED,
|
| 4682 |
rajveer |
55 |
CANCELLED_DUE_TO_LOW_INVENTORY,
|
| 4303 |
rajveer |
56 |
LOW_INV_PO_RAISED,
|
|
|
57 |
LOW_INV_REVERSAL_IN_PROCESS,
|
| 4369 |
rajveer |
58 |
LOW_INV_NOT_AVAILABLE_AT_HOTSPOT,
|
|
|
59 |
LOW_INV_PO_RAISED_TIMEOUT,
|
| 4410 |
rajveer |
60 |
LOW_INV_REVERSAL_TIMEOUT,
|
| 4910 |
phani.kuma |
61 |
FIRST_DELIVERY_ATTEMPT_MADE,
|
| 4452 |
rajveer |
62 |
CAPTURE_IN_PROCESS,
|
|
|
63 |
DOA_REQUEST_RECEIVED,
|
|
|
64 |
DOA_REQUEST_AUTHORIZED,
|
|
|
65 |
DOA_PICKUP_DENIED,
|
|
|
66 |
DOA_RECEIVED_DAMAGED,
|
|
|
67 |
DOA_LOST_IN_TRANSIT,
|
| 4459 |
rajveer |
68 |
DOA_RESHIPPED_RCVD_DAMAGED,
|
|
|
69 |
DOA_REFUNDED_RCVD_DAMAGED,
|
|
|
70 |
DOA_RESHIPPED_LOST_IN_TRANSIT,
|
| 4486 |
rajveer |
71 |
DOA_REFUNDED_LOST_IN_TRANSIT,
|
|
|
72 |
RTO_RECEIVED_DAMAGED,
|
|
|
73 |
RTO_LOST_IN_TRANSIT,
|
|
|
74 |
RTO_DAMAGED_RESHIPPED,
|
|
|
75 |
RTO_DAMAGED_REFUNDED,
|
|
|
76 |
RTO_LOST_IN_TRANSIT_RESHIPPED,
|
|
|
77 |
RTO_LOST_IN_TRANSIT_REFUNDED,
|
| 4488 |
rajveer |
78 |
RTO_INVENTORY_REVERSED,
|
|
|
79 |
RET_REQUEST_RECEIVED,
|
|
|
80 |
RET_REQUEST_AUTHORIZED,
|
|
|
81 |
RET_PICKUP_REQUEST_RAISED,
|
|
|
82 |
RET_PICKUP_DENIED,
|
|
|
83 |
RET_PICKUP_CONFIRMED,
|
|
|
84 |
RET_RETURN_IN_TRANSIT,
|
|
|
85 |
RET_RECEIVED_PRESTINE,
|
|
|
86 |
RET_RECEIVED_DAMAGED,
|
|
|
87 |
RET_LOST_IN_TRANSIT,
|
|
|
88 |
RET_PRODUCT_USABLE,
|
|
|
89 |
RET_PRODUCT_UNUSABLE,
|
|
|
90 |
RET_PRODUCT_USABLE_RESHIPPED,
|
|
|
91 |
RET_PRODUCT_USABLE_REFUNDED,
|
|
|
92 |
RET_PRODUCT_UNUSABLE_RESHIPPED,
|
|
|
93 |
RET_PRODUCT_UNUSABLE_REFUNDED,
|
|
|
94 |
RET_RESHIPPED_RCVD_DAMAGED,
|
|
|
95 |
RET_REFUNDED_RCVD_DAMAGED,
|
|
|
96 |
RET_RESHIPPED_LOST_IN_TRANSIT,
|
| 4661 |
rajveer |
97 |
RET_REFUNDED_LOST_IN_TRANSIT,
|
|
|
98 |
LOST_IN_TRANSIT,
|
|
|
99 |
LOST_IN_TRANSIT_RESHIPPED,
|
| 5553 |
rajveer |
100 |
LOST_IN_TRANSIT_REFUNDED,
|
|
|
101 |
DELIVERED_AT_STORE,
|
| 18578 |
manish.sha |
102 |
RECEIVED_AT_STORE,
|
| 19691 |
manish.sha |
103 |
APPROVAL_PENDING,
|
|
|
104 |
PARTIAL_RETURN_IN_PROCESS,
|
|
|
105 |
PARTIAL_RETURN,
|
|
|
106 |
COMPLETE_RETURN_IN_PROCESS,
|
| 20029 |
kshitij.so |
107 |
COMPLETE_RETURN,
|
|
|
108 |
REFUNDED_WITHOUT_PICKUP,
|
|
|
109 |
REPLACED_WITHOUT_PICKUP
|
| 483 |
rajveer |
110 |
}
|
|
|
111 |
|
|
|
112 |
enum TransactionStatus{
|
|
|
113 |
INIT,
|
|
|
114 |
IN_PROCESS,
|
|
|
115 |
COMPLETED,
|
| 2964 |
chandransh |
116 |
FAILED,
|
| 3060 |
chandransh |
117 |
AUTHORIZED,
|
| 4245 |
rajveer |
118 |
COD_IN_PROCESS,
|
|
|
119 |
FLAGGED
|
| 483 |
rajveer |
120 |
}
|
|
|
121 |
|
| 5527 |
anupam.sin |
122 |
enum OrderType{
|
| 6055 |
rajveer |
123 |
B2C,
|
|
|
124 |
B2Cbulk,
|
|
|
125 |
B2B,
|
| 7096 |
anupam.sin |
126 |
RECHARGE,
|
|
|
127 |
RCH4HOTSPOT,
|
|
|
128 |
WALLETCREDIT
|
| 5527 |
anupam.sin |
129 |
}
|
|
|
130 |
|
| 4008 |
mandeep.dh |
131 |
enum ExtraTransactionProcessingType {
|
|
|
132 |
COD_VERIFICATION,
|
| 4245 |
rajveer |
133 |
DELAYED_DELIVERY,
|
| 6104 |
rajveer |
134 |
PAYMENT_FLAGGED,
|
|
|
135 |
RECHARGE_UNKNOWN
|
| 4008 |
mandeep.dh |
136 |
}
|
|
|
137 |
|
| 6289 |
anupam.sin |
138 |
enum DenominationType {
|
|
|
139 |
TOPUP = 1,
|
|
|
140 |
SPECIAL = 2,
|
|
|
141 |
DATA = 3
|
|
|
142 |
}
|
|
|
143 |
|
| 9159 |
amar.kumar |
144 |
enum TaxType {
|
|
|
145 |
VAT = 0,
|
|
|
146 |
CST = 1,
|
| 21844 |
amit.gupta |
147 |
CFORM = 2,
|
|
|
148 |
IGST = 3,
|
|
|
149 |
SGST = 4
|
| 9159 |
amar.kumar |
150 |
}
|
|
|
151 |
|
| 483 |
rajveer |
152 |
struct LineItem{
|
|
|
153 |
1:i64 id,
|
| 698 |
chandransh |
154 |
2:i64 item_id,
|
| 4008 |
mandeep.dh |
155 |
3:string productGroup,
|
| 956 |
chandransh |
156 |
4:string brand,
|
|
|
157 |
5:string model_number,
|
| 4586 |
mandeep.dh |
158 |
6:string color,
|
| 956 |
chandransh |
159 |
7:string model_name,
|
|
|
160 |
8:string extra_info,
|
|
|
161 |
9:double quantity,
|
| 12280 |
amit.gupta |
162 |
10:double mrp,
|
|
|
163 |
11:double unit_price,
|
|
|
164 |
12:double unit_weight,
|
|
|
165 |
13:double total_price,
|
|
|
166 |
14:double transfer_price,
|
|
|
167 |
15:double total_weight,
|
|
|
168 |
16:optional string serial_number,
|
|
|
169 |
17:optional string item_number,
|
|
|
170 |
18:optional string dealText,
|
|
|
171 |
19:i64 warrantry_expiry_timestamp,
|
|
|
172 |
20:double vatRate,
|
| 19421 |
manish.sha |
173 |
21:double nlc,
|
|
|
174 |
22:double logisticsCost,
|
| 19691 |
manish.sha |
175 |
23:double codCollectionCharges,
|
| 19714 |
manish.sha |
176 |
24:double returnQty,
|
| 21844 |
amit.gupta |
177 |
25:i64 damaged_expiry_timestamp,
|
|
|
178 |
26:double igstRate,
|
|
|
179 |
27:double cgstRate,
|
|
|
180 |
28:double sgstRate,
|
|
|
181 |
29:string hsnCode
|
| 483 |
rajveer |
182 |
}
|
|
|
183 |
|
| 22043 |
amit.gupta |
184 |
enum WalletReferenceType{
|
|
|
185 |
RECHARGE,
|
|
|
186 |
PURCHASE,
|
|
|
187 |
CASHBACK,
|
|
|
188 |
REVERSAL,
|
|
|
189 |
REFUND,
|
|
|
190 |
FAILURE,
|
|
|
191 |
ADVANCE_AMOUNT,
|
|
|
192 |
SHIPPING_REFUND,
|
|
|
193 |
ADVANCE_REVERSAL,
|
| 23081 |
amit.gupta |
194 |
OPENING_BALANCE,
|
|
|
195 |
SCHEME_IN,
|
|
|
196 |
SCHEME_OUT,
|
| 23117 |
ashik.ali |
197 |
DAMAGE_PROTECTION,
|
| 23120 |
amit.gupta |
198 |
PRICE_DROP,
|
| 23436 |
ashik.ali |
199 |
RECHARGE_COMMISSIONS,
|
|
|
200 |
PREBOOKING_ORDER
|
| 22043 |
amit.gupta |
201 |
}
|
|
|
202 |
|
| 3553 |
chandransh |
203 |
enum DelayReason {
|
|
|
204 |
INVENTORY_LOW_PHASED_OUT,
|
|
|
205 |
INVENTORY_LOW_COLOR_NOT_AVAILABLE,
|
|
|
206 |
INVENTORY_LOW_REVERSAL_NOT_ON_TIME,
|
|
|
207 |
INVENTORY_LOW_PRODUCT_NOT_SEALED,
|
|
|
208 |
COURIER_DELAY_NOT_DELIVERED_TO_COURIER_ON_TIME,
|
|
|
209 |
COURIER_DELAY_DID_NOT_CONNECT,
|
|
|
210 |
COURIER_DELAY_CUSTOMER_NOT_AVAILABLE,
|
| 9416 |
amar.kumar |
211 |
COURIER_DELAY_INCORRECT_ADDRESS,
|
| 3553 |
chandransh |
212 |
COURIER_DELAY_OCTROI_DELAY,
|
|
|
213 |
COURIER_DELAY_FORCES_OF_NATURE,
|
|
|
214 |
COD_VERIFICATION_DELAY,
|
|
|
215 |
PAYMENT_FLAGGED,
|
|
|
216 |
OTHERS
|
|
|
217 |
}
|
| 483 |
rajveer |
218 |
|
| 8717 |
amar.kumar |
219 |
enum ProductCondition{
|
|
|
220 |
GOOD,
|
|
|
221 |
BAD
|
|
|
222 |
}
|
|
|
223 |
|
| 483 |
rajveer |
224 |
struct Order{
|
|
|
225 |
1:i64 id,
|
|
|
226 |
2:i64 warehouse_id,
|
|
|
227 |
/**
|
|
|
228 |
item info
|
|
|
229 |
**/
|
|
|
230 |
3:list<LineItem> lineitems,
|
|
|
231 |
/**
|
|
|
232 |
logistics info
|
|
|
233 |
**/
|
|
|
234 |
4:i64 logistics_provider_id,
|
|
|
235 |
5:string airwaybill_no,
|
|
|
236 |
6:string tracking_id,
|
|
|
237 |
7:i64 expected_delivery_time,
|
|
|
238 |
/**
|
|
|
239 |
customer info
|
|
|
240 |
**/
|
|
|
241 |
8:i64 customer_id,
|
|
|
242 |
9:string customer_name,
|
|
|
243 |
10:string customer_mobilenumber,
|
|
|
244 |
11:string customer_pincode,
|
| 735 |
chandransh |
245 |
12:string customer_address1,
|
|
|
246 |
13:string customer_address2,
|
|
|
247 |
14:string customer_email,
|
|
|
248 |
15:string customer_city,
|
|
|
249 |
16:string customer_state,
|
| 483 |
rajveer |
250 |
|
|
|
251 |
/**
|
|
|
252 |
status and misc info
|
|
|
253 |
**/
|
| 735 |
chandransh |
254 |
17:OrderStatus status,
|
|
|
255 |
18:string statusDescription,
|
|
|
256 |
19:double total_amount,
|
|
|
257 |
20:double total_weight,
|
| 483 |
rajveer |
258 |
/**
|
|
|
259 |
billing info
|
|
|
260 |
**/
|
| 735 |
chandransh |
261 |
21:string invoice_number,
|
|
|
262 |
22:string billed_by,
|
| 483 |
rajveer |
263 |
/**
|
|
|
264 |
timestamps
|
|
|
265 |
**/
|
| 735 |
chandransh |
266 |
23:i64 created_timestamp,
|
|
|
267 |
24:i64 accepted_timestamp,
|
|
|
268 |
25:i64 billing_timestamp,
|
|
|
269 |
26:i64 shipping_timestamp,
|
| 1115 |
chandransh |
270 |
27:i64 pickup_timestamp,
|
|
|
271 |
28:i64 delivery_timestamp,
|
| 1210 |
chandransh |
272 |
29:i64 outofstock_timestamp,
|
|
|
273 |
30:i64 jacket_number,
|
| 1223 |
chandransh |
274 |
31:string receiver,
|
|
|
275 |
32:i64 batchNo,
|
| 2537 |
chandransh |
276 |
33:i64 serialNo,
|
|
|
277 |
34:bool doaFlag,
|
| 2675 |
vikas |
278 |
35:string pickupRequestNo,
|
| 2819 |
chandransh |
279 |
36:i64 transactionId,
|
| 3060 |
chandransh |
280 |
37:string purchaseOrderNo,
|
| 3553 |
chandransh |
281 |
38:bool cod,
|
| 4004 |
chandransh |
282 |
39:DelayReason delayReason,
|
|
|
283 |
40:i64 promised_delivery_time,
|
|
|
284 |
41:i64 expected_shipping_time,
|
| 4102 |
chandransh |
285 |
42:i64 verification_timestamp,
|
| 4192 |
anupam.sin |
286 |
43:i64 promised_shipping_time,
|
|
|
287 |
44:optional i64 reship_timestamp,
|
|
|
288 |
45:optional i64 refund_timestamp,
|
| 4245 |
rajveer |
289 |
46:optional i64 new_order_id,
|
| 4269 |
anupam.sin |
290 |
47:OrderStatus previousStatus,
|
| 4506 |
phani.kuma |
291 |
48:i64 vendorId,
|
| 4647 |
rajveer |
292 |
49:optional i64 doa_auth_timestamp,
|
| 4709 |
rajveer |
293 |
50:string delayReasonText,
|
| 4758 |
mandeep.dh |
294 |
51:string refundReason,
|
| 4815 |
phani.kuma |
295 |
52:i64 purchaseOrderId,
|
| 5062 |
varun.gupt |
296 |
53:optional i64 doa_logistics_provider_id,
|
| 5110 |
mandeep.dh |
297 |
54:i64 originalOrderId,
|
| 5189 |
varun.gupt |
298 |
55:i64 fulfilmentWarehouseId,
|
| 5354 |
anupam.sin |
299 |
56:bool vendorPaid,
|
|
|
300 |
57:optional i64 received_return_timestamp,
|
| 5527 |
anupam.sin |
301 |
58:optional i64 first_attempt_timestamp,
|
| 5553 |
rajveer |
302 |
59:OrderType orderType,
|
|
|
303 |
60:i64 pickupStoreId,
|
| 6318 |
rajveer |
304 |
61:bool logisticsCod,
|
| 6525 |
rajveer |
305 |
62:i64 gvAmount,
|
| 6726 |
rajveer |
306 |
63:bool otg,
|
|
|
307 |
64:i64 courier_delivery_time
|
| 6903 |
anupam.sin |
308 |
65:i64 insurer,
|
|
|
309 |
66:double insuranceAmount,
|
|
|
310 |
67:string dob,
|
| 7190 |
amar.kumar |
311 |
68:string guardianName,
|
| 7293 |
anupam.sin |
312 |
69:i64 freebieItemId,
|
|
|
313 |
70:i64 source,
|
|
|
314 |
71:double advanceAmount,
|
| 8717 |
amar.kumar |
315 |
72:i64 storeId,
|
| 9299 |
kshitij.so |
316 |
73:ProductCondition productCondition,
|
|
|
317 |
74:i64 dataProtectionInsurer,
|
| 9416 |
amar.kumar |
318 |
75:double dataProtectionAmount,
|
| 13148 |
manish.sha |
319 |
76:TaxType taxType,
|
| 17470 |
manish.sha |
320 |
77:string logisticsTransactionId,
|
|
|
321 |
78:double shippingCost,
|
| 19973 |
amit.gupta |
322 |
79:double codCharges,
|
| 19980 |
amit.gupta |
323 |
80:i64 seller_id,
|
| 20873 |
kshitij.so |
324 |
81:i64 warehouse_address_id,
|
|
|
325 |
82:double wallet_amount,
|
| 21134 |
amit.gupta |
326 |
83:double net_payable_amount,
|
|
|
327 |
84:double shippingRefund
|
| 483 |
rajveer |
328 |
}
|
|
|
329 |
|
| 5527 |
anupam.sin |
330 |
struct Attribute{
|
|
|
331 |
1:string name,
|
|
|
332 |
2:string value
|
|
|
333 |
}
|
|
|
334 |
|
| 19832 |
amit.gupta |
335 |
struct PendingStoreOrder{
|
|
|
336 |
1:i64 id,
|
|
|
337 |
2:i64 storeId,
|
|
|
338 |
3:i64 productId,
|
|
|
339 |
4:string pincode,
|
|
|
340 |
5:string name,
|
|
|
341 |
6:string email,
|
|
|
342 |
7:string phone,
|
|
|
343 |
8:string line1,
|
|
|
344 |
9:string line2,
|
|
|
345 |
10:string city,
|
|
|
346 |
11:string state,
|
|
|
347 |
12:i64 createdOn
|
|
|
348 |
}
|
|
|
349 |
|
| 4245 |
rajveer |
350 |
struct OrderStatusAuditTrail{
|
|
|
351 |
1:i64 id,
|
|
|
352 |
2:i64 orderId,
|
|
|
353 |
3:i64 status,
|
|
|
354 |
4:i64 timestamp,
|
|
|
355 |
5:i64 description
|
|
|
356 |
}
|
|
|
357 |
|
| 7442 |
vikram.rag |
358 |
struct AmazonOrdersToAcknowledge{
|
|
|
359 |
1:string amazonOrderId,
|
|
|
360 |
2:string amazonOrderItemId,
|
|
|
361 |
3:string status,
|
|
|
362 |
4:i64 transaction_id,
|
|
|
363 |
5:i32 count
|
|
|
364 |
}
|
|
|
365 |
|
| 19973 |
amit.gupta |
366 |
|
|
|
367 |
struct SellerInfo {
|
|
|
368 |
1:i64 sellerId,
|
|
|
369 |
2:string organisationName,
|
|
|
370 |
3:string registeredAddress,
|
|
|
371 |
4:string regId,
|
|
|
372 |
5:string cinNumber,
|
| 20025 |
amit.gupta |
373 |
6:string tin,
|
| 21844 |
amit.gupta |
374 |
7:i64 stateId,
|
|
|
375 |
8:string gstin
|
| 19973 |
amit.gupta |
376 |
}
|
|
|
377 |
|
| 20065 |
amit.gupta |
378 |
struct WarehouseAddress{
|
|
|
379 |
1:i64 id,
|
|
|
380 |
2:string address,
|
|
|
381 |
3:string pin,
|
|
|
382 |
4:i64 state_id,
|
| 20818 |
kshitij.so |
383 |
5:i64 created,
|
| 21844 |
amit.gupta |
384 |
6:string contact_number,
|
|
|
385 |
7:string contact_person
|
| 20065 |
amit.gupta |
386 |
}
|
|
|
387 |
|
| 20025 |
amit.gupta |
388 |
struct BuyerInfo {
|
|
|
389 |
1:i64 buyerId,
|
|
|
390 |
2:string organisationName,
|
|
|
391 |
3:string registeredAddress,
|
|
|
392 |
4:string regId,
|
|
|
393 |
5:string cinNumber,
|
|
|
394 |
6:string tin,
|
|
|
395 |
7:i64 addressId,
|
| 20065 |
amit.gupta |
396 |
8:WarehouseAddress buyerAddress,
|
| 21844 |
amit.gupta |
397 |
9:i64 stateId,
|
|
|
398 |
10:string gstin
|
| 20025 |
amit.gupta |
399 |
}
|
|
|
400 |
|
| 483 |
rajveer |
401 |
struct Transaction{
|
|
|
402 |
1:i64 id,
|
|
|
403 |
2:list<Order> orders,
|
| 680 |
rajveer |
404 |
3:i64 createdOn,
|
|
|
405 |
4:TransactionStatus transactionStatus,
|
|
|
406 |
5:string statusDescription,
|
|
|
407 |
6:i64 shoppingCartid,
|
| 2219 |
varun.gupt |
408 |
7:i64 customer_id,
|
| 2814 |
vikas |
409 |
8:string coupon_code,
|
|
|
410 |
9:string sessionSource,
|
| 3858 |
vikas |
411 |
10:i64 sessionStartTime,
|
|
|
412 |
11:string firstSource,
|
| 6389 |
rajveer |
413 |
12:i64 firstSourceTime,
|
| 18634 |
manish.sha |
414 |
13:i64 payment_option,
|
| 17470 |
manish.sha |
415 |
14:double totalShippingCost,
|
|
|
416 |
15:double totalCodCharges
|
| 483 |
rajveer |
417 |
}
|
|
|
418 |
|
| 19980 |
amit.gupta |
419 |
struct WarehouseAddressMapping{
|
|
|
420 |
1:i64 warehouse_id,
|
|
|
421 |
2:i64 address_id,
|
|
|
422 |
3:i64 created,
|
|
|
423 |
4:i64 updated
|
|
|
424 |
}
|
|
|
425 |
|
|
|
426 |
|
|
|
427 |
|
|
|
428 |
|
| 4393 |
rajveer |
429 |
enum AlertType{
|
|
|
430 |
NEW_INVENTORY_ALERT,
|
|
|
431 |
ORDER_READY_TO_ACCEPT
|
|
|
432 |
}
|
|
|
433 |
|
| 483 |
rajveer |
434 |
struct Alert{
|
|
|
435 |
1:i64 id,
|
| 4393 |
rajveer |
436 |
2:AlertType type,
|
|
|
437 |
3:i64 status,
|
|
|
438 |
4:i64 timestamp,
|
|
|
439 |
5:string description
|
| 4444 |
rajveer |
440 |
6:i64 warehouseId
|
| 483 |
rajveer |
441 |
}
|
|
|
442 |
|
| 2688 |
chandransh |
443 |
struct ReturnOrder{
|
|
|
444 |
1:i64 orderId,
|
| 2697 |
chandransh |
445 |
2:i64 warehouseId,
|
|
|
446 |
3:i64 jacketNumber,
|
|
|
447 |
4:string invoiceNumber,
|
|
|
448 |
5:i64 itemId,
|
|
|
449 |
6:string productGroup,
|
|
|
450 |
7:string brand,
|
|
|
451 |
8:string modelNumber,
|
|
|
452 |
9:string modelName,
|
|
|
453 |
10:string color,
|
|
|
454 |
11:double totalPrice,
|
|
|
455 |
12:double transferPrice,
|
|
|
456 |
13:bool processedStatus,
|
|
|
457 |
14:i64 createdAt,
|
|
|
458 |
15:i64 processedAt
|
| 2688 |
chandransh |
459 |
}
|
|
|
460 |
|
| 4600 |
varun.gupt |
461 |
struct PaymentSettlement {
|
|
|
462 |
2:i64 paymentGatewayId,
|
| 4905 |
varun.gupt |
463 |
3:i64 referenceId,
|
| 4600 |
varun.gupt |
464 |
4:i64 settlementDate,
|
|
|
465 |
5:double serviceTax,
|
|
|
466 |
6:double otherCharges,
|
|
|
467 |
7:double netCollection
|
|
|
468 |
}
|
|
|
469 |
|
| 4875 |
varun.gupt |
470 |
struct CODPaymentSettlement {
|
|
|
471 |
1:i64 orderId,
|
|
|
472 |
2:i64 settlementDate,
|
|
|
473 |
3:double collection
|
|
|
474 |
}
|
|
|
475 |
|
| 4303 |
rajveer |
476 |
enum HotspotAction{
|
|
|
477 |
PO_RAISED,
|
|
|
478 |
REVERSAL_INITIATED,
|
|
|
479 |
NOT_AVAILABLE
|
|
|
480 |
}
|
|
|
481 |
|
| 4369 |
rajveer |
482 |
struct TimeoutSummary{
|
|
|
483 |
1:i32 poRaised,
|
|
|
484 |
2:i32 poEstimate
|
|
|
485 |
3:i32 reversalInitiated,
|
|
|
486 |
4:i32 reversalEstimate
|
|
|
487 |
}
|
|
|
488 |
|
| 5447 |
anupam.sin |
489 |
struct CODVerificationAgent{
|
|
|
490 |
1:i64 orderId,
|
|
|
491 |
2:string agentEmailId
|
|
|
492 |
}
|
|
|
493 |
|
| 6000 |
mandeep.dh |
494 |
enum RechargeType {
|
|
|
495 |
MOBILE = 1,
|
|
|
496 |
DTH = 2
|
|
|
497 |
}
|
|
|
498 |
|
|
|
499 |
enum RechargeOrderStatus {
|
|
|
500 |
PAYMENT_PENDING = 1,
|
| 6031 |
rajveer |
501 |
PAYMENT_FAILED = 2,
|
|
|
502 |
PAYMENT_SUCCESSFUL = 3,
|
| 6000 |
mandeep.dh |
503 |
RECHARGE_FAILED = 4,
|
| 6235 |
rajveer |
504 |
RECHARGE_SUCCESSFUL = 5,
|
| 6507 |
anupam.sin |
505 |
RECHARGE_FAILED_REFUNDED = 6,
|
|
|
506 |
REFUNDED = 7,
|
| 7073 |
anupam.sin |
507 |
PARTIALLY_REFUNDED = 8,
|
|
|
508 |
INIT = 9,
|
| 12979 |
kshitij.so |
509 |
RECHARGE_UNKNOWN = 10,
|
|
|
510 |
RECHARGE_IN_PROCESS = 11
|
| 6000 |
mandeep.dh |
511 |
}
|
|
|
512 |
|
| 7293 |
anupam.sin |
513 |
enum OrderSource {
|
|
|
514 |
WEBSITE = 1,
|
| 7355 |
vikram.rag |
515 |
STORE = 2,
|
| 7410 |
amar.kumar |
516 |
AMAZON =3,
|
|
|
517 |
HOMESHOP18 = 4,
|
|
|
518 |
NAAPTOL = 5,
|
| 8488 |
amar.kumar |
519 |
EBAY = 6,
|
| 8983 |
vikram.rag |
520 |
SNAPDEAL = 7,
|
| 11524 |
amit.gupta |
521 |
FLIPKART = 8,
|
| 12580 |
amit.gupta |
522 |
MOBILESITE = 9,
|
|
|
523 |
JUNGLEE = 10
|
| 7293 |
anupam.sin |
524 |
}
|
|
|
525 |
|
| 12979 |
kshitij.so |
526 |
enum RechargeMode {
|
|
|
527 |
SYNC = 1,
|
|
|
528 |
ASYNC = 2
|
|
|
529 |
}
|
|
|
530 |
|
| 13941 |
amit.gupta |
531 |
|
|
|
532 |
enum WalletSource {
|
|
|
533 |
RECHARGE = 1,
|
|
|
534 |
PHYSICAL = 2,
|
|
|
535 |
DTR = 3
|
|
|
536 |
}
|
|
|
537 |
|
| 6000 |
mandeep.dh |
538 |
struct RechargeOrder {
|
| 6031 |
rajveer |
539 |
1:i64 id,
|
|
|
540 |
2:string displayId,
|
|
|
541 |
3:i64 totalAmount,
|
|
|
542 |
4:i64 walletAmount,
|
|
|
543 |
5:i64 transactionId,
|
| 6077 |
anupam.sin |
544 |
6:i64 invoiceNumber,
|
| 6031 |
rajveer |
545 |
7:OrderType orderType,
|
|
|
546 |
8:i64 operatorId,
|
|
|
547 |
9:RechargeType rechargeType,
|
|
|
548 |
10:RechargeOrderStatus status,
|
|
|
549 |
11:string deviceNumber,
|
|
|
550 |
12:i64 userId,
|
|
|
551 |
13:string userEmailId,
|
| 6048 |
rajveer |
552 |
14:i64 creationTimestamp,
|
|
|
553 |
15:string spiceTID,
|
| 6094 |
rajveer |
554 |
16:i64 responseTimestamp,
|
| 6159 |
rajveer |
555 |
17:string description,
|
| 6433 |
anupam.sin |
556 |
18:string plan,
|
|
|
557 |
19:string couponCode,
|
| 6515 |
anupam.sin |
558 |
20:i64 couponAmount,
|
| 6591 |
anupam.sin |
559 |
21:i64 refundTimestamp,
|
|
|
560 |
22:string ipAddress
|
| 6000 |
mandeep.dh |
561 |
}
|
|
|
562 |
|
| 6188 |
rajveer |
563 |
struct RechargeStatistics{
|
| 6190 |
rajveer |
564 |
1:map<i64, i64> statusCounts,
|
|
|
565 |
2:map<i64, i64> operatorCounts,
|
| 6188 |
rajveer |
566 |
3:map<string, list<RechargeOrder>> currentOrders,
|
|
|
567 |
4:map<string, i64> amounts
|
|
|
568 |
}
|
|
|
569 |
|
| 6159 |
rajveer |
570 |
struct RechargePlan {
|
|
|
571 |
1:i64 operatorId,
|
|
|
572 |
2:string name,
|
|
|
573 |
3:string displayName,
|
|
|
574 |
4:string description
|
|
|
575 |
}
|
|
|
576 |
|
| 6289 |
anupam.sin |
577 |
struct RechargeDenomination {
|
|
|
578 |
1:i64 operatorId,
|
|
|
579 |
2:i64 circleId,
|
|
|
580 |
3:DenominationType denominationType,
|
|
|
581 |
4:i64 amount,
|
|
|
582 |
5:string validity,
|
|
|
583 |
6:string description
|
|
|
584 |
}
|
|
|
585 |
|
|
|
586 |
struct DeviceNumberInfo {
|
|
|
587 |
1:i64 operatorId,
|
| 6336 |
anupam.sin |
588 |
2:string circleCode
|
| 6310 |
anupam.sin |
589 |
3:string operatorName
|
| 6289 |
anupam.sin |
590 |
}
|
|
|
591 |
|
| 6031 |
rajveer |
592 |
struct UserWallet {
|
| 6000 |
mandeep.dh |
593 |
1:i64 id,
|
|
|
594 |
2:i64 amount,
|
| 20954 |
kshitij.so |
595 |
3:i64 userId,
|
|
|
596 |
4:i64 refundable_amount
|
| 6000 |
mandeep.dh |
597 |
}
|
|
|
598 |
|
| 6031 |
rajveer |
599 |
struct UserWalletHistory {
|
|
|
600 |
1:i64 id,
|
|
|
601 |
2:i64 walletId,
|
| 22059 |
amit.gupta |
602 |
3:i64 refundableAmount,
|
| 6031 |
rajveer |
603 |
4:i64 amount,
|
| 22043 |
amit.gupta |
604 |
5:i64 timestamp,
|
|
|
605 |
6:string description,
|
| 22050 |
amit.gupta |
606 |
7:i64 referenceNumber,
|
| 22043 |
amit.gupta |
607 |
8:WalletReferenceType referenceType
|
| 6000 |
mandeep.dh |
608 |
}
|
|
|
609 |
|
| 6389 |
rajveer |
610 |
enum EmiChargeType {
|
|
|
611 |
FIXED = 1,
|
|
|
612 |
PERCENTAGE = 2
|
|
|
613 |
}
|
|
|
614 |
|
|
|
615 |
struct EmiScheme{
|
|
|
616 |
1:i64 id,
|
|
|
617 |
2:i64 gatewayId,
|
|
|
618 |
3:i64 bankId,
|
|
|
619 |
4:i64 tenure,
|
|
|
620 |
5:string bankName,
|
| 6392 |
amit.gupta |
621 |
6:i64 minAmount,
|
| 6389 |
rajveer |
622 |
7:string tenureDescription,
|
|
|
623 |
8:EmiChargeType chargeType,
|
| 8942 |
rajveer |
624 |
9:double chargeValue,
|
|
|
625 |
10:double interestRate
|
| 6389 |
rajveer |
626 |
}
|
|
|
627 |
|
| 483 |
rajveer |
628 |
exception TransactionServiceException{
|
|
|
629 |
1:i32 errorCode,
|
|
|
630 |
2:string message
|
|
|
631 |
}
|
|
|
632 |
|
| 7073 |
anupam.sin |
633 |
struct Company{
|
|
|
634 |
1:i64 id,
|
|
|
635 |
2:string name,
|
|
|
636 |
3:string Address
|
|
|
637 |
}
|
|
|
638 |
|
|
|
639 |
struct WalletForCompany{
|
|
|
640 |
1:i64 id,
|
|
|
641 |
2:i64 companyId,
|
|
|
642 |
3:double amount
|
|
|
643 |
}
|
|
|
644 |
|
|
|
645 |
struct WalletHistoryForCompany{
|
|
|
646 |
1:i64 id,
|
|
|
647 |
2:i64 walletId,
|
|
|
648 |
3:double amount,
|
|
|
649 |
4:i64 transactionTime,
|
|
|
650 |
5:double openingBal,
|
|
|
651 |
6:double closingBal,
|
|
|
652 |
7:i64 referenceNumber,
|
|
|
653 |
8:string description
|
|
|
654 |
}
|
|
|
655 |
|
|
|
656 |
enum PayMethod{
|
|
|
657 |
CASH = 1,
|
| 8008 |
anupam.sin |
658 |
CARD = 2,
|
|
|
659 |
CHEQUE = 3
|
| 7073 |
anupam.sin |
660 |
}
|
|
|
661 |
|
| 7080 |
anupam.sin |
662 |
struct FRC {
|
|
|
663 |
1:i64 id,
|
|
|
664 |
2:i64 operatorId,
|
|
|
665 |
3:i64 circleId,
|
|
|
666 |
4:i64 denomination,
|
|
|
667 |
5:i64 maxDiscount
|
|
|
668 |
}
|
|
|
669 |
|
| 7096 |
anupam.sin |
670 |
struct HotspotStore {
|
|
|
671 |
1:i64 id,
|
|
|
672 |
2:string hotspotId,
|
|
|
673 |
3:i64 companyId,
|
|
|
674 |
4:string name,
|
|
|
675 |
5:string city,
|
|
|
676 |
6:i64 collectedAmount,
|
|
|
677 |
7:i64 availableLimit,
|
|
|
678 |
8:i64 creditLimit,
|
|
|
679 |
9:string salt,
|
|
|
680 |
10:string password,
|
|
|
681 |
11:bool isActive,
|
| 7169 |
anupam.sin |
682 |
12:i64 circleId,
|
| 7308 |
rajveer |
683 |
13:string email,
|
|
|
684 |
14:string line1,
|
|
|
685 |
15:string line2,
|
|
|
686 |
16:string state,
|
|
|
687 |
17:string pin,
|
|
|
688 |
18:string phone,
|
|
|
689 |
19:string approvalEmail
|
| 7096 |
anupam.sin |
690 |
}
|
|
|
691 |
|
| 7967 |
anupam.sin |
692 |
struct HotspotServiceMatrix {
|
|
|
693 |
1:i64 storeId,
|
|
|
694 |
2:string hotspotId,
|
|
|
695 |
3:bool pickupFromStoreService,
|
|
|
696 |
4:bool storeWebsiteService,
|
|
|
697 |
5:bool rechargeService
|
|
|
698 |
}
|
|
|
699 |
|
| 7073 |
anupam.sin |
700 |
struct RechargeTransaction{
|
|
|
701 |
1:i64 id,
|
|
|
702 |
2:i64 storeId,
|
|
|
703 |
3:double amount,
|
|
|
704 |
4:i64 transactionTime,
|
|
|
705 |
5:string deviceNum,
|
|
|
706 |
6:RechargeType deviceType,
|
|
|
707 |
7:bool isFrc,
|
|
|
708 |
8:string email,
|
|
|
709 |
9:double discount,
|
|
|
710 |
10:double paymentAmount,
|
|
|
711 |
11:PayMethod payMethod,
|
|
|
712 |
12:RechargeOrderStatus status,
|
|
|
713 |
13:string invoiceNumber,
|
|
|
714 |
14:i64 circleId,
|
|
|
715 |
15:i64 operatorId,
|
|
|
716 |
16:string plan,
|
|
|
717 |
17:string ipAddress,
|
|
|
718 |
18:string name,
|
|
|
719 |
19:string cafNum,
|
| 7080 |
anupam.sin |
720 |
20:string simNum,
|
| 7096 |
anupam.sin |
721 |
21:string alternateNumber,
|
| 7169 |
anupam.sin |
722 |
22:string description,
|
| 7369 |
rajveer |
723 |
23:i64 responseTime,
|
|
|
724 |
24:string spiceTID,
|
|
|
725 |
25:string aggTID,
|
|
|
726 |
26:string providerTID
|
| 7073 |
anupam.sin |
727 |
}
|
|
|
728 |
|
| 7096 |
anupam.sin |
729 |
struct TelecomCircle {
|
|
|
730 |
1:i64 id,
|
|
|
731 |
2:string name,
|
|
|
732 |
3:string code
|
|
|
733 |
}
|
|
|
734 |
|
| 7263 |
anupam.sin |
735 |
struct SourceDetail {
|
|
|
736 |
1:i64 id,
|
|
|
737 |
2:string name,
|
| 7410 |
amar.kumar |
738 |
3:string email,
|
| 7530 |
kshitij.so |
739 |
4:string tinNumber,
|
|
|
740 |
5:i64 lastUpdatedOn
|
| 7263 |
anupam.sin |
741 |
}
|
|
|
742 |
|
| 7311 |
kshitij.so |
743 |
struct AmazonOrder {
|
|
|
744 |
1:i64 orderId,
|
| 7322 |
vikram.rag |
745 |
2:string amazonOrderCode,
|
|
|
746 |
3:string amazonOrderItemCode,
|
| 7311 |
kshitij.so |
747 |
4:i64 transactionId,
|
| 7715 |
vikram.rag |
748 |
5:i64 item_id,
|
|
|
749 |
6:string status,
|
|
|
750 |
7:i64 purchaseDateOnAmazon
|
| 7311 |
kshitij.so |
751 |
}
|
|
|
752 |
|
| 7386 |
anupam.sin |
753 |
enum StorePaymentStatus{
|
|
|
754 |
ADV_RECEIVED = 1,
|
|
|
755 |
ADV_REFUNDED = 2,
|
|
|
756 |
FULL_PAY_RECEIVED = 3,
|
|
|
757 |
REFUNDED = 4,
|
| 7423 |
anupam.sin |
758 |
REFUND_REQUESTED = 5,
|
|
|
759 |
REFUND_INITIATED = 6
|
| 7386 |
anupam.sin |
760 |
}
|
|
|
761 |
|
|
|
762 |
struct StoreOrderDetail {
|
|
|
763 |
1:i64 orderId,
|
|
|
764 |
2:i64 storeId,
|
|
|
765 |
3:double advanceAmount,
|
|
|
766 |
4:double cashAmount,
|
|
|
767 |
5:double cardAmount,
|
| 7393 |
anupam.sin |
768 |
6:StorePaymentStatus payStatus,
|
|
|
769 |
7:string edcBank,
|
|
|
770 |
8:double cashRefundAmount,
|
| 7423 |
anupam.sin |
771 |
9:double cardRefundAmount,
|
| 7611 |
anupam.sin |
772 |
10:string approvalCode,
|
|
|
773 |
11:string cardType
|
| 7386 |
anupam.sin |
774 |
}
|
|
|
775 |
|
| 7423 |
anupam.sin |
776 |
struct StoreOrderCollection {
|
|
|
777 |
1:string hotspotId,
|
|
|
778 |
2:i64 orderId,
|
|
|
779 |
3:string collectionType,
|
|
|
780 |
4:string productName,
|
|
|
781 |
5:i64 advanceAmount,
|
|
|
782 |
6:i64 cash,
|
|
|
783 |
7:i64 card,
|
|
|
784 |
8:i64 addedAt,
|
|
|
785 |
9:i64 pushedAt,
|
|
|
786 |
10:bool pushedToOcr
|
|
|
787 |
}
|
|
|
788 |
|
| 8182 |
amar.kumar |
789 |
struct EbayOrder {
|
|
|
790 |
1:i64 orderId,
|
|
|
791 |
2:i64 salesRecordNumber,
|
|
|
792 |
3:string paisaPayId,
|
|
|
793 |
4:string ebayListingId,
|
|
|
794 |
5:double subsidyAmount,
|
|
|
795 |
6:i64 ebayTxnDate,
|
|
|
796 |
7:string transactionId,
|
|
|
797 |
8:string listingName,
|
| 8241 |
amar.kumar |
798 |
9:double listingPrice,
|
| 8247 |
amar.kumar |
799 |
10:string bluedartPaisaPayRef
|
| 8182 |
amar.kumar |
800 |
}
|
|
|
801 |
|
| 8532 |
vikram.rag |
802 |
struct FbaItemPrices{
|
|
|
803 |
1:i64 item_id
|
|
|
804 |
2:double minFbaPrice,
|
|
|
805 |
3:double minMfnPrice,
|
|
|
806 |
4:double ourPrice,
|
|
|
807 |
5:double salePrice,
|
|
|
808 |
6:i64 minFbaPriceSnapshotDate
|
|
|
809 |
7:i64 minMfnPriceSnapshotDate
|
|
|
810 |
8:i64 ourPriceSnapshotDate
|
|
|
811 |
9:i64 salePriceSnapshotDate
|
|
|
812 |
|
|
|
813 |
}
|
|
|
814 |
|
| 8488 |
amar.kumar |
815 |
struct SnapdealOrder {
|
|
|
816 |
1:i64 orderId,
|
|
|
817 |
2:string referenceCode,
|
| 9627 |
vikram.rag |
818 |
3:string subOrderId,
|
| 8488 |
amar.kumar |
819 |
4:double listingPrice,
|
|
|
820 |
5:string productName,
|
|
|
821 |
6:i64 snapdealTxnDate
|
| 9456 |
vikram.rag |
822 |
7:double maxNlc
|
| 8488 |
amar.kumar |
823 |
}
|
|
|
824 |
|
| 8961 |
vikram.rag |
825 |
struct FlipkartOrder {
|
|
|
826 |
1:string flipkartOrderId,
|
|
|
827 |
2:string flipkartSubOrderId,
|
|
|
828 |
3:i64 flipkartTxnDate,
|
|
|
829 |
4:i64 orderId,
|
|
|
830 |
5:double shippingPrice,
|
|
|
831 |
6:double octroiFee,
|
|
|
832 |
7:double emiFee
|
| 9456 |
vikram.rag |
833 |
8:double maxNlc
|
| 8961 |
vikram.rag |
834 |
}
|
|
|
835 |
|
| 4815 |
phani.kuma |
836 |
struct OrderStatusGroups{
|
|
|
837 |
1:list<OrderStatus> codCancellable = [OrderStatus.COD_VERIFICATION_PENDING,
|
|
|
838 |
OrderStatus.SUBMITTED_FOR_PROCESSING,
|
|
|
839 |
OrderStatus.ACCEPTED,
|
|
|
840 |
OrderStatus.INVENTORY_LOW,
|
|
|
841 |
OrderStatus.LOW_INV_PO_RAISED,
|
|
|
842 |
OrderStatus.LOW_INV_REVERSAL_IN_PROCESS,
|
|
|
843 |
OrderStatus.LOW_INV_NOT_AVAILABLE_AT_HOTSPOT,
|
|
|
844 |
OrderStatus.BILLED,
|
|
|
845 |
OrderStatus.PAYMENT_FLAGGED],
|
| 4837 |
varun.gupt |
846 |
|
| 4815 |
phani.kuma |
847 |
2:list<OrderStatus> prepaidCancellableBeforeBilled = [OrderStatus.COD_VERIFICATION_PENDING,
|
|
|
848 |
OrderStatus.SUBMITTED_FOR_PROCESSING,
|
|
|
849 |
OrderStatus.ACCEPTED,
|
|
|
850 |
OrderStatus.INVENTORY_LOW,
|
|
|
851 |
OrderStatus.LOW_INV_PO_RAISED,
|
|
|
852 |
OrderStatus.LOW_INV_REVERSAL_IN_PROCESS,
|
|
|
853 |
OrderStatus.LOW_INV_NOT_AVAILABLE_AT_HOTSPOT],
|
| 4837 |
varun.gupt |
854 |
|
|
|
855 |
3:list<OrderStatus> prepaidCancellableAfterBilled = [OrderStatus.BILLED, OrderStatus.PAYMENT_FLAGGED],
|
|
|
856 |
|
|
|
857 |
4:list<OrderStatus> openOrders = [
|
|
|
858 |
OrderStatus.PAYMENT_PENDING, OrderStatus.COD_VERIFICATION_PENDING,
|
|
|
859 |
OrderStatus.SUBMITTED_FOR_PROCESSING, OrderStatus.ACCEPTED,
|
|
|
860 |
OrderStatus.INVENTORY_LOW, OrderStatus.BILLED,
|
|
|
861 |
OrderStatus.PAYMENT_FLAGGED, OrderStatus.SHIPPED_FROM_WH,
|
|
|
862 |
OrderStatus.SHIPPED_TO_LOGST, OrderStatus.PAYMENT_FLAGGED_DENIED,
|
| 4910 |
phani.kuma |
863 |
OrderStatus.SHIPPED_TO_DESTINATION_CITY, OrderStatus.REACHED_DESTINATION_CITY,
|
| 4837 |
varun.gupt |
864 |
OrderStatus.CANCEL_REQUEST_RECEIVED, OrderStatus.CANCEL_REQUEST_CONFIRMED,
|
|
|
865 |
OrderStatus.RTO_IN_TRANSIT, OrderStatus.RTO_RECEIVED_PRESTINE,
|
|
|
866 |
OrderStatus.DOA_PICKUP_REQUEST_RAISED, OrderStatus.DOA_PICKUP_CONFIRMED,
|
|
|
867 |
OrderStatus.DOA_RETURN_IN_TRANSIT, OrderStatus.DOA_RECEIVED_PRESTINE,
|
|
|
868 |
OrderStatus.DOA_CERT_INVALID, OrderStatus.DOA_CERT_VALID,
|
|
|
869 |
OrderStatus.LOW_INV_PO_RAISED, OrderStatus.LOW_INV_REVERSAL_IN_PROCESS,
|
|
|
870 |
OrderStatus.LOW_INV_NOT_AVAILABLE_AT_HOTSPOT, OrderStatus.LOW_INV_PO_RAISED_TIMEOUT,
|
| 4910 |
phani.kuma |
871 |
OrderStatus.LOW_INV_REVERSAL_TIMEOUT, OrderStatus.FIRST_DELIVERY_ATTEMPT_MADE,
|
| 4837 |
varun.gupt |
872 |
OrderStatus.CAPTURE_IN_PROCESS, OrderStatus.DOA_REQUEST_RECEIVED,
|
|
|
873 |
OrderStatus.DOA_REQUEST_AUTHORIZED, OrderStatus.DOA_RECEIVED_DAMAGED,
|
|
|
874 |
OrderStatus.DOA_LOST_IN_TRANSIT, OrderStatus.RTO_RECEIVED_DAMAGED,
|
|
|
875 |
OrderStatus.RTO_LOST_IN_TRANSIT, OrderStatus.RTO_INVENTORY_REVERSED,
|
|
|
876 |
OrderStatus.RET_REQUEST_RECEIVED, OrderStatus.RET_REQUEST_AUTHORIZED,
|
|
|
877 |
OrderStatus.RET_PICKUP_REQUEST_RAISED, OrderStatus.RET_PICKUP_DENIED,
|
|
|
878 |
OrderStatus.RET_PICKUP_CONFIRMED, OrderStatus.RET_RETURN_IN_TRANSIT,
|
|
|
879 |
OrderStatus.RET_RECEIVED_PRESTINE, OrderStatus.RET_RECEIVED_DAMAGED,
|
|
|
880 |
OrderStatus.RET_LOST_IN_TRANSIT, OrderStatus.RET_PRODUCT_USABLE,
|
| 5867 |
rajveer |
881 |
OrderStatus.DELIVERED_AT_STORE, OrderStatus.RECEIVED_AT_STORE
|
| 4983 |
phani.kuma |
882 |
],
|
| 5031 |
varun.gupt |
883 |
5:list<OrderStatus> refundedOrders = [
|
|
|
884 |
OrderStatus.CANCELLED_ON_CUSTOMER_REQUEST, OrderStatus.RTO_REFUNDED,
|
|
|
885 |
OrderStatus.DOA_VALID_REFUNDED, OrderStatus.DOA_INVALID_REFUNDED,
|
|
|
886 |
OrderStatus.CANCELLED_DUE_TO_LOW_INVENTORY, OrderStatus.DOA_REFUNDED_RCVD_DAMAGED,
|
|
|
887 |
OrderStatus.DOA_REFUNDED_LOST_IN_TRANSIT, OrderStatus.RTO_DAMAGED_REFUNDED,
|
|
|
888 |
OrderStatus.RTO_LOST_IN_TRANSIT_REFUNDED, OrderStatus.RET_PRODUCT_USABLE_REFUNDED,
|
|
|
889 |
OrderStatus.RET_PRODUCT_UNUSABLE_REFUNDED, OrderStatus.RET_REFUNDED_LOST_IN_TRANSIT,
|
|
|
890 |
OrderStatus.RET_REFUNDED_RCVD_DAMAGED, OrderStatus.LOST_IN_TRANSIT_REFUNDED
|
|
|
891 |
],
|
|
|
892 |
6:list<OrderStatus> shippedOrders = [
|
| 4983 |
phani.kuma |
893 |
OrderStatus.SHIPPED_FROM_WH, OrderStatus.SHIPPED_TO_LOGST,
|
|
|
894 |
OrderStatus.SHIPPED_TO_DESTINATION_CITY, OrderStatus.REACHED_DESTINATION_CITY,
|
|
|
895 |
OrderStatus.RTO_IN_TRANSIT, OrderStatus.RTO_RECEIVED_PRESTINE,
|
|
|
896 |
OrderStatus.DOA_PICKUP_REQUEST_RAISED, OrderStatus.DOA_PICKUP_CONFIRMED,
|
|
|
897 |
OrderStatus.DOA_RETURN_IN_TRANSIT, OrderStatus.DOA_RECEIVED_PRESTINE,
|
|
|
898 |
OrderStatus.DOA_CERT_INVALID, OrderStatus.DOA_CERT_VALID,
|
|
|
899 |
OrderStatus.FIRST_DELIVERY_ATTEMPT_MADE,OrderStatus.DOA_REQUEST_RECEIVED,
|
|
|
900 |
OrderStatus.DOA_REQUEST_AUTHORIZED, OrderStatus.DOA_RECEIVED_DAMAGED,
|
|
|
901 |
OrderStatus.DOA_LOST_IN_TRANSIT, OrderStatus.RTO_RECEIVED_DAMAGED,
|
|
|
902 |
OrderStatus.RTO_LOST_IN_TRANSIT, OrderStatus.RTO_INVENTORY_REVERSED,
|
|
|
903 |
OrderStatus.RET_REQUEST_RECEIVED, OrderStatus.RET_REQUEST_AUTHORIZED,
|
|
|
904 |
OrderStatus.RET_PICKUP_REQUEST_RAISED, OrderStatus.RET_PICKUP_DENIED,
|
|
|
905 |
OrderStatus.RET_PICKUP_CONFIRMED, OrderStatus.RET_RETURN_IN_TRANSIT,
|
|
|
906 |
OrderStatus.RET_RECEIVED_PRESTINE, OrderStatus.RET_RECEIVED_DAMAGED,
|
|
|
907 |
OrderStatus.RET_LOST_IN_TRANSIT, OrderStatus.RET_PRODUCT_USABLE,
|
| 5867 |
rajveer |
908 |
OrderStatus.RET_PRODUCT_UNUSABLE, OrderStatus.LOST_IN_TRANSIT,
|
|
|
909 |
OrderStatus.DELIVERED_AT_STORE, OrderStatus.RECEIVED_AT_STORE
|
| 4983 |
phani.kuma |
910 |
],
|
| 5031 |
varun.gupt |
911 |
7:list<OrderStatus> failedOrders = [
|
| 4983 |
phani.kuma |
912 |
OrderStatus.PAYMENT_FAILED, OrderStatus.CANCELLED_DUE_TO_LOW_INVENTORY,
|
|
|
913 |
OrderStatus.REJECTED, OrderStatus.DOA_INVALID_REFUNDED,
|
|
|
914 |
OrderStatus.DOA_INVALID_RESHIPPED, OrderStatus.DOA_VALID_REFUNDED,
|
|
|
915 |
OrderStatus.DOA_VALID_RESHIPPED, OrderStatus.RTO_REFUNDED,
|
| 6566 |
amit.gupta |
916 |
OrderStatus.RTO_RESHIPPED, OrderStatus.COD_VERIFICATION_FAILED
|
| 4837 |
varun.gupt |
917 |
]
|
| 4815 |
phani.kuma |
918 |
}
|
|
|
919 |
|
| 8282 |
kshitij.so |
920 |
struct AmazonFbaSalesSnapshot {
|
|
|
921 |
1:i64 dateOfSale
|
|
|
922 |
2:i64 item_id
|
| 8363 |
vikram.rag |
923 |
3:i32 totalOrderCount
|
| 8282 |
kshitij.so |
924 |
4:i64 amazonFbaInventory
|
|
|
925 |
5:bool isOutOfStock
|
|
|
926 |
6:double salePrice
|
|
|
927 |
7:double minFbaPrice
|
| 8363 |
vikram.rag |
928 |
8:double minMfnPrice
|
|
|
929 |
9:double totalSale
|
|
|
930 |
10:double promotionSale
|
| 8445 |
vikram.rag |
931 |
11:i32 promotionOrderCount
|
|
|
932 |
12:double ourPrice
|
| 8532 |
vikram.rag |
933 |
13:i64 minFbaPriceSnapshotDate
|
|
|
934 |
14:i64 minMfnPriceSnapshotDate
|
|
|
935 |
15:i64 ourPriceSnapshotDate
|
|
|
936 |
16:i64 salePriceSnapshotDate
|
| 11173 |
vikram.rag |
937 |
17:AmazonFCWarehouseLocation fcLocation
|
| 8282 |
kshitij.so |
938 |
}
|
|
|
939 |
|
| 12103 |
manish.sha |
940 |
struct AmazonFbaOrderReturns {
|
|
|
941 |
1:string amazonOrderId,
|
|
|
942 |
2:i64 insertionTimestamp,
|
|
|
943 |
3:i64 sku,
|
|
|
944 |
4:i64 creationTimestamp,
|
|
|
945 |
5:i64 shippedQuantity,
|
|
|
946 |
6:i64 sellableReturnQuantity,
|
|
|
947 |
7:i64 nonSellableReturnQuantity
|
|
|
948 |
}
|
|
|
949 |
|
| 12589 |
manish.sha |
950 |
struct FlipkartAdvantageOrder {
|
|
|
951 |
1:string fkOrderId,
|
|
|
952 |
2:string fkOrderItemId,
|
| 12772 |
manish.sha |
953 |
3:i64 sku,
|
| 12589 |
manish.sha |
954 |
4:i64 creationTimestamp
|
|
|
955 |
5:string customerName,
|
|
|
956 |
6:string customerAddress,
|
|
|
957 |
7:string pincode,
|
|
|
958 |
8:string customerCity,
|
|
|
959 |
9:string customerState
|
|
|
960 |
10:string customerPhone
|
|
|
961 |
11:string status,
|
|
|
962 |
12:i64 quantity,
|
|
|
963 |
13:double totalPrice,
|
|
|
964 |
14:double listPrice,
|
|
|
965 |
15:i64 modifiedDate,
|
|
|
966 |
16:string listingId,
|
|
|
967 |
17:string cancelReason,
|
|
|
968 |
18:string returnReason,
|
|
|
969 |
19:string freebieItemId,
|
|
|
970 |
20:string productTitle
|
|
|
971 |
}
|
|
|
972 |
|
| 13148 |
manish.sha |
973 |
struct FlipkartFaSalesSnapshot {
|
|
|
974 |
1:i64 dateOfSale
|
|
|
975 |
2:i64 item_id
|
|
|
976 |
3:i32 totalOrderCount
|
|
|
977 |
4:bool isOutOfStock
|
|
|
978 |
5:double totalSale
|
|
|
979 |
6:double ourPrice
|
| 13584 |
manish.sha |
980 |
7:FlipkartFCWarehouseLocation fcLocation
|
|
|
981 |
8:i32 returnQuantity
|
|
|
982 |
9:double returnValue
|
| 13148 |
manish.sha |
983 |
}
|
|
|
984 |
|
| 13114 |
kshitij.so |
985 |
struct AmazonHourlySaleSnapshot {
|
|
|
986 |
1:i64 snapshotTime
|
|
|
987 |
2:i64 item_id
|
|
|
988 |
3:i32 totalOrderCount
|
|
|
989 |
4:i64 amazonFbaInventory
|
|
|
990 |
5:bool isOutOfStock
|
|
|
991 |
6:double totalSale
|
|
|
992 |
7:double promotionSale
|
|
|
993 |
8:i32 promotionOrderCount
|
|
|
994 |
9:AmazonFCWarehouseLocation fcLocation
|
|
|
995 |
}
|
|
|
996 |
|
| 13478 |
kshitij.so |
997 |
struct AmazonFbaOrderItem {
|
|
|
998 |
1:string amazonOrderId,
|
|
|
999 |
2:i64 purchaseDate,
|
|
|
1000 |
3:string orderStatus,
|
|
|
1001 |
4:i64 item_id,
|
|
|
1002 |
5:AmazonFCWarehouseLocation fcLocation,
|
|
|
1003 |
6:double totalAmount,
|
|
|
1004 |
7:double promotionDiscount,
|
|
|
1005 |
8:i64 quantity
|
|
|
1006 |
}
|
|
|
1007 |
|
| 13691 |
manish.sha |
1008 |
struct HsOrder {
|
|
|
1009 |
1:i64 orderId,
|
|
|
1010 |
2:string hsOrderNo,
|
|
|
1011 |
3:string hsSubOrderNo,
|
|
|
1012 |
4:string catalogueName,
|
|
|
1013 |
5:i64 hsOrderDate,
|
|
|
1014 |
6:string hsProductId,
|
|
|
1015 |
7:string hsItemId,
|
|
|
1016 |
8:string sellerSku,
|
|
|
1017 |
9:string paymentMode,
|
|
|
1018 |
10:string courierName,
|
| 13734 |
manish.sha |
1019 |
11:i64 slaDays,
|
|
|
1020 |
12:string shippingName
|
| 13691 |
manish.sha |
1021 |
}
|
| 18578 |
manish.sha |
1022 |
|
| 17470 |
manish.sha |
1023 |
/*
|
|
|
1024 |
struct PaytmOrder {
|
|
|
1025 |
1:i64 orderId,
|
|
|
1026 |
2:string paytmOrderId,
|
|
|
1027 |
3:string paytmSubOrderId,
|
|
|
1028 |
4:
|
|
|
1029 |
}*/
|
| 13691 |
manish.sha |
1030 |
|
| 18578 |
manish.sha |
1031 |
struct Creditor{
|
|
|
1032 |
1:i64 id,
|
|
|
1033 |
2:string name,
|
| 18674 |
amit.gupta |
1034 |
3:bool active,
|
|
|
1035 |
4:double ticket_size,
|
|
|
1036 |
5:i64 credit_due_days,
|
|
|
1037 |
6:i64 created,
|
|
|
1038 |
7:i64 updated
|
| 18578 |
manish.sha |
1039 |
}
|
|
|
1040 |
|
|
|
1041 |
struct UserSanction{
|
| 18634 |
manish.sha |
1042 |
1:i64 id,
|
|
|
1043 |
2:i64 user_id,
|
|
|
1044 |
3:i64 creditor_id,
|
|
|
1045 |
4:string user_ref_id,
|
|
|
1046 |
5:double credit_limit,
|
|
|
1047 |
6:double credit_blocked,
|
|
|
1048 |
7:double loan,
|
|
|
1049 |
8:bool active,
|
|
|
1050 |
9:i64 created,
|
| 18674 |
amit.gupta |
1051 |
10:i64 updated,
|
|
|
1052 |
11:double ticket_size,
|
|
|
1053 |
12:i64 credit_due_days
|
| 18578 |
manish.sha |
1054 |
}
|
|
|
1055 |
|
| 18794 |
manish.sha |
1056 |
struct PaginatedUserSanction{
|
|
|
1057 |
1:bool hasMore,
|
|
|
1058 |
2:i64 totalCount,
|
|
|
1059 |
3:list<UserSanction> userSanctions
|
|
|
1060 |
}
|
|
|
1061 |
|
| 18578 |
manish.sha |
1062 |
enum CreditTxnType{
|
|
|
1063 |
BLOCKED,
|
| 18769 |
manish.sha |
1064 |
BLOCKED_REVERSED,
|
| 18578 |
manish.sha |
1065 |
LOAN,
|
| 18634 |
manish.sha |
1066 |
LOAN_CANCELLED,
|
| 18585 |
amit.gupta |
1067 |
PAID,
|
| 18634 |
manish.sha |
1068 |
DEFAULTED,
|
|
|
1069 |
CORRECTION
|
| 18578 |
manish.sha |
1070 |
}
|
|
|
1071 |
|
|
|
1072 |
struct CreditHistory{
|
| 18634 |
manish.sha |
1073 |
1:i64 id,
|
|
|
1074 |
2:i64 user_id,
|
|
|
1075 |
3:i64 creditor_id,
|
|
|
1076 |
4:i64 payment_id,
|
|
|
1077 |
5:double amount,
|
|
|
1078 |
6:CreditTxnType credit_type,
|
|
|
1079 |
7:i64 created,
|
|
|
1080 |
8:string shipping_id
|
| 18578 |
manish.sha |
1081 |
}
|
|
|
1082 |
|
| 18794 |
manish.sha |
1083 |
struct PaginatedCreditHistory{
|
|
|
1084 |
1:bool hasMore,
|
|
|
1085 |
2:i64 totalCount,
|
|
|
1086 |
3:list<CreditHistory> creditHistoryList
|
|
|
1087 |
}
|
|
|
1088 |
|
| 18634 |
manish.sha |
1089 |
struct LoanHistory{
|
|
|
1090 |
1:i64 id,
|
|
|
1091 |
2:i64 user_id,
|
|
|
1092 |
3:i64 creditor_id,
|
|
|
1093 |
4:i64 payment_id,
|
|
|
1094 |
5:double amount,
|
|
|
1095 |
6:CreditTxnType credit_type,
|
|
|
1096 |
7:i64 created,
|
|
|
1097 |
8:i64 updated,
|
|
|
1098 |
9:string loan_id,
|
|
|
1099 |
10:i64 due_date,
|
| 18769 |
manish.sha |
1100 |
11:i64 value_date,
|
|
|
1101 |
12:string invoiceNumber
|
| 18634 |
manish.sha |
1102 |
}
|
|
|
1103 |
|
| 18794 |
manish.sha |
1104 |
struct PaginatedLoanHistory{
|
|
|
1105 |
1:bool hasMore,
|
|
|
1106 |
2:i64 totalCount,
|
|
|
1107 |
3:list<LoanHistory> loanHistoryList
|
|
|
1108 |
}
|
|
|
1109 |
|
| 19888 |
manas |
1110 |
|
|
|
1111 |
struct OutstandingPayments{
|
|
|
1112 |
1:i64 user_id,
|
|
|
1113 |
2:string counter_name
|
|
|
1114 |
3:i64 creditor_id,
|
|
|
1115 |
4:i64 payment_id,
|
|
|
1116 |
5:double totalAmount,
|
|
|
1117 |
6:i64 created
|
|
|
1118 |
}
|
|
|
1119 |
|
| 18578 |
manish.sha |
1120 |
enum ReturnAction{
|
|
|
1121 |
REPLACEMENT,
|
|
|
1122 |
REFUND
|
|
|
1123 |
}
|
|
|
1124 |
|
|
|
1125 |
enum ReturnPickupType{
|
|
|
1126 |
NOW,
|
|
|
1127 |
LATER,
|
|
|
1128 |
NOT_REQUIRED
|
|
|
1129 |
}
|
|
|
1130 |
|
|
|
1131 |
enum RefundType{
|
|
|
1132 |
INIT,
|
|
|
1133 |
CHEQUE,
|
|
|
1134 |
WALLET,
|
|
|
1135 |
COUPON,
|
|
|
1136 |
GATEWAY,
|
|
|
1137 |
REPLACEMENT
|
|
|
1138 |
}
|
|
|
1139 |
|
|
|
1140 |
enum ReplacementShippingType{
|
|
|
1141 |
IMMEDIATE,
|
|
|
1142 |
LATER
|
|
|
1143 |
}
|
|
|
1144 |
|
|
|
1145 |
enum ReturnTxnPickupStatus{
|
|
|
1146 |
PENDING,
|
|
|
1147 |
PICKUP_REQUESTED,
|
|
|
1148 |
PICKUP_CONFIRMED,
|
|
|
1149 |
PICKUP_SCHEDULED,
|
|
|
1150 |
PICKUP_IN_TRANSIT,
|
|
|
1151 |
PICKUP_RECEIVED
|
|
|
1152 |
}
|
|
|
1153 |
|
|
|
1154 |
struct ReturnPickupRequest{
|
|
|
1155 |
1:i64 id,
|
|
|
1156 |
2:i64 logisticsProviderId,
|
|
|
1157 |
3:string pickupRequestNo,
|
|
|
1158 |
4:i64 confirmedAt,
|
|
|
1159 |
5:i64 promised_pickup_timestamp,
|
|
|
1160 |
6:i64 pickedUpAt,
|
|
|
1161 |
7:ReturnTxnPickupStatus pickupStatus
|
|
|
1162 |
}
|
|
|
1163 |
|
|
|
1164 |
enum ReceivedReturnType{
|
|
|
1165 |
PRESTINE,
|
|
|
1166 |
DAMAGED,
|
|
|
1167 |
LOST_IN_TRANSIT
|
|
|
1168 |
}
|
|
|
1169 |
|
|
|
1170 |
enum ReturnTxnResolutionStatus{
|
|
|
1171 |
PENDING,
|
|
|
1172 |
AWAITING_PICKUP,
|
|
|
1173 |
QUALITY_CHECK,
|
|
|
1174 |
REPLACEMENT_ORDER_CREATED,
|
|
|
1175 |
REPLACEMENT_DONE,
|
|
|
1176 |
REFUND_IN_PROCESS,
|
|
|
1177 |
REFUND_DONE,
|
|
|
1178 |
CLOSED
|
|
|
1179 |
}
|
|
|
1180 |
|
|
|
1181 |
struct ReturnOrderInfo{
|
|
|
1182 |
1:i64 id,
|
|
|
1183 |
2:i64 returnTransactionId,
|
|
|
1184 |
3:string masterOrderId,
|
|
|
1185 |
4:i64 orderId,
|
|
|
1186 |
5:i64 lineItemId,
|
|
|
1187 |
6:i64 logisticsRequestId,
|
|
|
1188 |
7:i64 returnQuantity,
|
|
|
1189 |
8:i64 receivedQuantity,
|
|
|
1190 |
9:i64 createdAt,
|
|
|
1191 |
10:i64 processedAt,
|
|
|
1192 |
11:string returnStatus,
|
|
|
1193 |
12:i64 reshippedAt,
|
|
|
1194 |
13:i64 receivedAt,
|
|
|
1195 |
14:string refundReason,
|
|
|
1196 |
15:string refundedBy,
|
|
|
1197 |
16:i64 refundedAt,
|
|
|
1198 |
17:i64 warehouse_id,
|
|
|
1199 |
18:double refundAmount,
|
|
|
1200 |
19:RefundType refundType,
|
|
|
1201 |
20:string refundDescription,
|
|
|
1202 |
21:ReturnPickupType returnPickupType,
|
|
|
1203 |
22:ReplacementShippingType shippingType,
|
|
|
1204 |
23:i64 replacementOrderId,
|
|
|
1205 |
24:ReceivedReturnType receivedReturnType,
|
|
|
1206 |
25:i64 freebieItemId,
|
|
|
1207 |
26:ReturnAction returnAction,
|
|
|
1208 |
27:ReturnTxnResolutionStatus returnTxnResolutionStatus,
|
|
|
1209 |
28:LineItem lineitem,
|
|
|
1210 |
29:ReturnPickupRequest returnPickUpRequest
|
|
|
1211 |
}
|
|
|
1212 |
|
|
|
1213 |
enum ReturnTransactionStatus{
|
|
|
1214 |
INITIATED,
|
|
|
1215 |
AUTHORIZED,
|
|
|
1216 |
INPROCESS,
|
|
|
1217 |
REJECTED,
|
|
|
1218 |
PROCESSED,
|
|
|
1219 |
COMPLETED,
|
|
|
1220 |
CLOSED
|
|
|
1221 |
}
|
|
|
1222 |
|
|
|
1223 |
struct ReturnTransaction{
|
|
|
1224 |
1:i64 id,
|
|
|
1225 |
2:ReturnTransactionStatus status,
|
|
|
1226 |
3:string customer_email,
|
|
|
1227 |
4:string customer_name,
|
|
|
1228 |
5:i64 customer_id,
|
|
|
1229 |
6:i64 address_id,
|
|
|
1230 |
7:i64 ticketId
|
|
|
1231 |
8:i64 createdAt,
|
|
|
1232 |
9:i64 processedAt,
|
|
|
1233 |
10:i64 authorizedAt,
|
|
|
1234 |
11:i64 closedAt,
|
|
|
1235 |
12:string customerAddress,
|
|
|
1236 |
13:string pincode,
|
|
|
1237 |
14:string customerCity,
|
|
|
1238 |
15:string customerState,
|
|
|
1239 |
16:string customerPhone,
|
|
|
1240 |
17:list<ReturnOrderInfo> returnOrders
|
|
|
1241 |
}
|
|
|
1242 |
|
| 19474 |
manish.sha |
1243 |
struct ShipmentLogisticsCostDetail{
|
|
|
1244 |
1:string logisticsTransactionId,
|
|
|
1245 |
2:string airwayBillNo,
|
|
|
1246 |
3:double shipmentAmount,
|
|
|
1247 |
4:double shipmentWeight,
|
|
|
1248 |
5:double shipmentLogsiticsCost,
|
|
|
1249 |
6:double shipmentCodCollectionCharges,
|
|
|
1250 |
7:i64 createdAt,
|
| 20744 |
kshitij.so |
1251 |
8:i64 updatedAt,
|
|
|
1252 |
9:string packageDimensions
|
| 19474 |
manish.sha |
1253 |
}
|
|
|
1254 |
|
| 20029 |
kshitij.so |
1255 |
struct ShipmentDelayDetail{
|
|
|
1256 |
1:i64 orderId,
|
|
|
1257 |
2:DelayReason delayReason,
|
|
|
1258 |
3:string delayReasonText,
|
|
|
1259 |
4:i64 delay
|
|
|
1260 |
}
|
|
|
1261 |
|
| 20927 |
kshitij.so |
1262 |
|
| 21090 |
kshitij.so |
1263 |
struct Pmsa{
|
|
|
1264 |
1:i64 id,
|
|
|
1265 |
2:string name,
|
|
|
1266 |
3:string phone,
|
|
|
1267 |
4:string emailId,
|
|
|
1268 |
5:string address,
|
|
|
1269 |
6:string state,
|
|
|
1270 |
7:string level,
|
|
|
1271 |
8:string l1_email,
|
|
|
1272 |
9:string l2_email,
|
|
|
1273 |
10:bool activated,
|
|
|
1274 |
11:string pin,
|
|
|
1275 |
12:string code,
|
|
|
1276 |
13:i64 createdAt
|
|
|
1277 |
}
|
|
|
1278 |
|
|
|
1279 |
struct PmsaSearchFilter{
|
|
|
1280 |
1:string name,
|
|
|
1281 |
2:string phone,
|
|
|
1282 |
3:string emailId,
|
|
|
1283 |
4:string code,
|
|
|
1284 |
5:bool activated,
|
|
|
1285 |
6:string l1_email,
|
|
|
1286 |
7:string l2_email
|
|
|
1287 |
}
|
|
|
1288 |
|
| 3374 |
rajveer |
1289 |
service TransactionService extends GenericService.GenericService{
|
| 483 |
rajveer |
1290 |
|
|
|
1291 |
i64 createTransaction(1:Transaction transaction) throws (1:TransactionServiceException ex),
|
|
|
1292 |
|
|
|
1293 |
// Get transaction methods.
|
|
|
1294 |
Transaction getTransaction(1:i64 id) throws (1:TransactionServiceException ex),
|
|
|
1295 |
list<Transaction> getTransactionsForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:TransactionStatus status) throws (1:TransactionServiceException ex),
|
|
|
1296 |
list<Transaction> getTransactionsForShoppingCartId(1:i64 shoppingCartId) throws (1:TransactionServiceException ex),
|
|
|
1297 |
TransactionStatus getTransactionStatus(1:i64 transactionId) throws (1:TransactionServiceException ex),
|
| 7293 |
anupam.sin |
1298 |
bool changeTransactionStatus(1:i64 transactionId, 2:TransactionStatus status, 3:string description, 4:i64 pickUp, 5:OrderType orderType, 6:OrderSource source) throws (1:TransactionServiceException ex),
|
| 1382 |
varun.gupt |
1299 |
|
| 1398 |
varun.gupt |
1300 |
bool enqueueTransactionInfoEmail(1:i64 transactionId) throws (1:TransactionServiceException ex),
|
| 1382 |
varun.gupt |
1301 |
|
| 4801 |
anupam.sin |
1302 |
list<Order> getAllOrders(1:list<OrderStatus> statuses, 2:i64 from_date, 3:i64 to_date, 4:i64 warehouse_id) throws (1:TransactionServiceException ex),
|
| 1111 |
varun.gupt |
1303 |
|
| 1115 |
chandransh |
1304 |
/**
|
| 4133 |
chandransh |
1305 |
Returns at most 'limit' orders with the given statuses for the given warehouse starting from the given offset.
|
|
|
1306 |
Pass the status as null and the limit as 0 to ignore them.
|
|
|
1307 |
*/
|
| 8303 |
amar.kumar |
1308 |
list<Order> getOrdersInBatch(1:list<OrderStatus> statuses, 2:i64 offset, 3:i64 limit, 4:i64 warehouse_id, 5:i64 source) throws (1:TransactionServiceException ex),
|
| 4133 |
chandransh |
1309 |
|
|
|
1310 |
/**
|
|
|
1311 |
Returns the count of orders with the given statuses assigned to the given warehouse.
|
|
|
1312 |
*/
|
| 8303 |
amar.kumar |
1313 |
i32 getOrderCount(1:list<OrderStatus> statuses, 2:i64 warehouseId, 3:i64 source) throws (1:TransactionServiceException ex),
|
| 4133 |
chandransh |
1314 |
|
|
|
1315 |
/**
|
| 1115 |
chandransh |
1316 |
Returns orders within a range of their billing dates
|
|
|
1317 |
*/
|
| 1000 |
varun.gupt |
1318 |
list<Order> getOrdersByBillingDate(1:OrderStatus status, 2:i64 start_billing_date, 3:i64 end_billing_date, 4:i64 warehouse_id) throws (1:TransactionServiceException ex),
|
| 1111 |
varun.gupt |
1319 |
|
| 1382 |
varun.gupt |
1320 |
/**
|
| 3427 |
chandransh |
1321 |
Returns orders for a particular provider and warehouse which were shipped between the given dates.
|
| 3451 |
chandransh |
1322 |
Returned orders comprise of COD orders if cod parameter is true. It comprises of prepaid orders otherwise.
|
|
|
1323 |
Pass providerId and warehouseId as -1 to ignore both these parameters.
|
| 3427 |
chandransh |
1324 |
*/
|
| 3451 |
chandransh |
1325 |
list<Order> getOrdersByShippingDate(1:i64 fromShippingDate, 2:i64 toShippingDate, 3:i64 providerId, 4:i64 warehouseId, 5:bool cod) throws (1:TransactionServiceException ex),
|
| 3427 |
chandransh |
1326 |
|
|
|
1327 |
/**
|
| 1382 |
varun.gupt |
1328 |
Returns order ids for orders which can be returned
|
|
|
1329 |
*/
|
|
|
1330 |
list<i64> getReturnableOrdersForCustomer(1:i64 customer_id, 2:i64 limit) throws (1:TransactionServiceException ex),
|
|
|
1331 |
|
|
|
1332 |
/**
|
|
|
1333 |
Returns order ids for orders which can be cancelled
|
|
|
1334 |
*/
|
|
|
1335 |
list<i64> getCancellableOrdersForCustomer(1:i64 customer_id, 2:i64 limit) throws (1:TransactionServiceException ex),
|
|
|
1336 |
|
| 483 |
rajveer |
1337 |
bool changeOrderStatus(1:i64 orderId, 2:OrderStatus status, 3:string description) throws (1:TransactionServiceException ex),
|
| 1147 |
chandransh |
1338 |
|
|
|
1339 |
/**
|
| 1529 |
ankur.sing |
1340 |
Returns list of orders for given transaction Id. Also filters based on customer Id so that
|
|
|
1341 |
only user who owns the transaction can view its order details.
|
|
|
1342 |
*/
|
|
|
1343 |
list<Order> getOrdersForTransaction(1:i64 transactionId 2:i64 customerId) throws (1:TransactionServiceException ex),
|
| 3014 |
chandransh |
1344 |
|
|
|
1345 |
/**
|
|
|
1346 |
Returns list of orders for the given customer created between the given dates and having the given statuses.
|
|
|
1347 |
Pass and empty list to ignore filtering on statuses.
|
|
|
1348 |
*/
|
|
|
1349 |
list<Order> getOrdersForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:list<OrderStatus> statuses) throws (1:TransactionServiceException ex),
|
| 1529 |
ankur.sing |
1350 |
|
| 483 |
rajveer |
1351 |
i64 createOrder(1:Order order) throws (1:TransactionServiceException ex),
|
|
|
1352 |
Order getOrder(1:i64 id) throws (1:TransactionServiceException ex),
|
|
|
1353 |
list<LineItem> getLineItemsForOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1354 |
|
| 4999 |
phani.kuma |
1355 |
list<Order> getOrderList(1:list<i64> order_ids),
|
| 1529 |
ankur.sing |
1356 |
|
| 5386 |
phani.kuma |
1357 |
list<Order> getOrderListForVendor(1:list<i64> order_ids, 2:i64 vendorId),
|
|
|
1358 |
|
| 757 |
chandransh |
1359 |
/**
|
| 1529 |
ankur.sing |
1360 |
Returns an order for the order Id. Also checks if the order belongs to the customer whose Id is passed.
|
|
|
1361 |
Throws exception if either order Id is invalid or order does not below to the customer whose Id is passed.
|
|
|
1362 |
*/
|
|
|
1363 |
Order getOrderForCustomer(1:i64 orderId, 2:i64 customerId) throws (1:TransactionServiceException ex),
|
|
|
1364 |
|
| 3060 |
chandransh |
1365 |
//Alerts apis
|
| 4444 |
rajveer |
1366 |
list<Alert> getAlerts(1:i64 type, 2:i64 warehouseId, 3:i64 status, 4:i64 timestamp),
|
|
|
1367 |
void addAlert(1:i64 type, 2:i64 warehouseId, 3:string description),
|
|
|
1368 |
void markAlertsAsSeen(1:i64 warehouseId),
|
| 3060 |
chandransh |
1369 |
|
| 1529 |
ankur.sing |
1370 |
/**
|
| 3060 |
chandransh |
1371 |
Return the number of valid orders. (OrderStatus >= OrderStatus.SUBMITTED_FOR_PROCESSING)
|
|
|
1372 |
*/
|
|
|
1373 |
i64 getValidOrderCount(),
|
|
|
1374 |
|
|
|
1375 |
/**
|
|
|
1376 |
Returns the number of distinct customers who have done successful transactions
|
|
|
1377 |
*/
|
|
|
1378 |
i64 getNoOfCustomersWithSuccessfulTransaction(),
|
|
|
1379 |
|
|
|
1380 |
/**
|
|
|
1381 |
Returns the minimum and maximum amounts of a valid order. (OrderStatus >= OrderStatus.SUBMITTED_FOR_PROCESSING)
|
|
|
1382 |
List contains two values, first minimum amount and second maximum amount.
|
|
|
1383 |
*/
|
|
|
1384 |
list<double> getValidOrdersAmountRange(),
|
|
|
1385 |
|
|
|
1386 |
/**
|
|
|
1387 |
Returns list of Orders in descending order by Order creation date. List is restricted to limit Orders.
|
|
|
1388 |
If limit is passed as 0, then all valid Orders are returned.
|
|
|
1389 |
*/
|
| 5874 |
rajveer |
1390 |
list<Order> getValidOrders(1:i64 limit, 2:bool onlyStore),
|
| 3060 |
chandransh |
1391 |
|
|
|
1392 |
/**
|
|
|
1393 |
Create a batch of all the pending orders for the given warehouse.
|
|
|
1394 |
The returned list is orderd by created_timestamp.
|
|
|
1395 |
If there are no pending orders, an empty list is returned.
|
|
|
1396 |
*/
|
| 1223 |
chandransh |
1397 |
list<Order> batchOrders(1:i64 warehouseId) throws (1:TransactionServiceException ex),
|
|
|
1398 |
|
|
|
1399 |
/**
|
|
|
1400 |
Mark the given order as out of stock. Throws an exception if the order with the given Id couldn't be found.
|
| 1244 |
chandransh |
1401 |
*/
|
| 1210 |
chandransh |
1402 |
bool markOrderAsOutOfStock(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1403 |
|
|
|
1404 |
/**
|
| 3060 |
chandransh |
1405 |
Marks the given order as SUBMITTED_FOR_PROCESSING and updates the verified
|
|
|
1406 |
timestamp. It is intended to be used for COD orders but can be harmlessly
|
|
|
1407 |
used for all other orders as well.
|
|
|
1408 |
Throws an exception if no such order exists.
|
| 757 |
chandransh |
1409 |
*/
|
| 3060 |
chandransh |
1410 |
bool verifyOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
|
| 1115 |
chandransh |
1411 |
|
|
|
1412 |
/**
|
| 3060 |
chandransh |
1413 |
Marks the given order as ACCEPTED and updates the accepted timestamp. If the
|
|
|
1414 |
given order is not a COD order, it also captures the payment if the same has
|
|
|
1415 |
not been captured.
|
|
|
1416 |
Throws an exception if no such order exists.
|
|
|
1417 |
*/
|
|
|
1418 |
bool acceptOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
|
| 19832 |
amit.gupta |
1419 |
|
|
|
1420 |
bool unacceptOrder(1:i64 orderId),
|
| 3060 |
chandransh |
1421 |
|
|
|
1422 |
/**
|
|
|
1423 |
Add billing details such as the bill number and the biller to the Order.
|
| 4658 |
mandeep.dh |
1424 |
Adds jacket number, item number and Serial no. to the order. Doesn't update
|
| 3060 |
chandransh |
1425 |
the IMEI no. if a -1 is supplied.
|
|
|
1426 |
Also, it generates an invoice number for the order, marks the order as
|
|
|
1427 |
BILLED and sets the billing timestamp.
|
|
|
1428 |
Returns false if it doesn't find the order with the given ID.
|
|
|
1429 |
*/
|
| 7190 |
amar.kumar |
1430 |
bool addBillingDetails(1:i64 orderId, 2:string invoice_number, 3:list<string> serialNumber, 4:list<string> itemNumber, 5:i64 freebieWarehouseId, 6:string billed_by, 7:i64 jacketNumber, 8:i64 billingType, 9:i64 fulfilmentWarehouseId, 10:bool authorize) throws (1:TransactionServiceException ex),
|
| 4579 |
rajveer |
1431 |
|
|
|
1432 |
/**
|
|
|
1433 |
Add the invoice number to the order.
|
|
|
1434 |
*/
|
| 6747 |
amar.kumar |
1435 |
void addInvoiceNumber(1:i64 orderId, 2:string invoiceNumber, 3:string color, 4:string serialNumber, 5:string itemNumber) throws (1:TransactionServiceException ex),
|
| 4910 |
phani.kuma |
1436 |
|
| 3060 |
chandransh |
1437 |
/**
|
|
|
1438 |
Depending on the third parameter, marks either all prepaid or all cod orders BILLED by the
|
| 4410 |
rajveer |
1439 |
given warehouse and were picked up by the given provider as SHIPPED_FROM_WH.
|
|
|
1440 |
*/
|
| 4788 |
rajveer |
1441 |
bool markOrdersAsShippedFromWarehouse(1:i64 warehouseId, 2:i64 providerId, 3:bool cod, 4:list<i64> orderIds) throws (1:TransactionServiceException ex),
|
| 5676 |
rajveer |
1442 |
|
| 5713 |
rajveer |
1443 |
bool markOrdersAsReturnedFromStore(1:i64 providerId, 2:list<i64> orderIds, 3:list<string> awbs) throws (1:TransactionServiceException ex),
|
| 4410 |
rajveer |
1444 |
|
|
|
1445 |
/**
|
| 1115 |
chandransh |
1446 |
Marks all SHIPPED_FROM_WH orders of the previous day for a provider as SHIPPED_TO_LOGISTICS.
|
| 4910 |
phani.kuma |
1447 |
Raises an exception if we encounter report for an AWB number that we did not ship.
|
|
|
1448 |
*/
|
|
|
1449 |
void markOrdersAsPickedUp(1:i64 providerId, 2:map<string, string> pickupDetails) throws (1:TransactionServiceException ex),
|
|
|
1450 |
|
|
|
1451 |
/**
|
| 1115 |
chandransh |
1452 |
Returns a list of orders that were shipped from warehouse but did not appear in the pick-up report.
|
|
|
1453 |
*/
|
| 4910 |
phani.kuma |
1454 |
list<Order> getOrdersNotPickedUp(1:i64 providerId),
|
| 1134 |
chandransh |
1455 |
|
|
|
1456 |
/**
|
|
|
1457 |
Marks all orders with AWBs in the given map as delivered. Also sets the delivery timestamp and
|
|
|
1458 |
the name of the receiver.
|
|
|
1459 |
Raises an exception if we encounter report for an AWB number that we did not ship.
|
|
|
1460 |
*/
|
|
|
1461 |
void markOrdersAsDelivered(1:i64 providerId, 2:map<string, string> deliveredOrders) throws (1:TransactionServiceException ex),
|
|
|
1462 |
|
|
|
1463 |
/**
|
| 4910 |
phani.kuma |
1464 |
Mark all orders with AWBs in the given map as RTO. Also sets the delivery timestamp.
|
| 1134 |
chandransh |
1465 |
Raises an exception if we encounter report for an AWB number that we did not ship.
|
|
|
1466 |
*/
|
| 4910 |
phani.kuma |
1467 |
void markAsRTOrders(1:i64 providerId, 2:map<string, string> returnedOrders) throws (1:TransactionServiceException ex),
|
| 1134 |
chandransh |
1468 |
|
| 1244 |
chandransh |
1469 |
/**
|
| 4910 |
phani.kuma |
1470 |
Returns a list of orders that were returned by courier.
|
|
|
1471 |
*/
|
|
|
1472 |
list<Order> getRTOrders(1:i64 providerId),
|
|
|
1473 |
|
|
|
1474 |
/**
|
| 1244 |
chandransh |
1475 |
Update the status description of orders whose AWB numbers are keys of the Map.
|
| 4910 |
phani.kuma |
1476 |
*/
|
|
|
1477 |
void updateNonDeliveryReason(1:i64 providerId, 2:map<string, string> undeliveredOrders) throws (1:TransactionServiceException ex),
|
|
|
1478 |
|
|
|
1479 |
/**
|
| 4581 |
phani.kuma |
1480 |
Returns a list of orders that were picked up or shipped four days ago but did not get delivered.
|
| 1244 |
chandransh |
1481 |
*/
|
| 4910 |
phani.kuma |
1482 |
list<Order> getNonDeliveredOrdersbyCourier(1:i64 providerId),
|
| 1244 |
chandransh |
1483 |
|
| 1407 |
ankur.sing |
1484 |
/**
|
| 4910 |
phani.kuma |
1485 |
Mark all orders with AWBs in the given map as local connected. Also sets the local connected timestamp.
|
|
|
1486 |
*/
|
|
|
1487 |
void markOrdersAsLocalConnected(1:i64 providerId, 2:map<string, string> local_connected_orders) throws (1:TransactionServiceException ex),
|
|
|
1488 |
|
|
|
1489 |
/**
|
|
|
1490 |
Returns a list of orders that were picked up or shipped but pending local connection.
|
|
|
1491 |
*/
|
|
|
1492 |
list<Order> getOrdersNotLocalConnected(1:i64 providerId),
|
|
|
1493 |
|
|
|
1494 |
/**
|
|
|
1495 |
Mark all orders with AWBs in the given map as reached destination city. Also sets the reached destination timestamp.
|
|
|
1496 |
*/
|
|
|
1497 |
void markOrdersAsDestinationCityReached(1:i64 providerId, 2:map<string, string> destination_city_reached_orders) throws (1:TransactionServiceException ex),
|
|
|
1498 |
|
|
|
1499 |
/**
|
|
|
1500 |
Mark all orders with AWBs in the given map as first delivery attempt made. Also sets the first delivery attempted timestamp.
|
|
|
1501 |
*/
|
|
|
1502 |
void markOrdersAsFirstDeliveryAttempted(1:i64 providerId, 2:map<string, string> first_atdl_orders) throws (1:TransactionServiceException ex),
|
|
|
1503 |
|
|
|
1504 |
/**
|
| 1407 |
ankur.sing |
1505 |
Returns the list of orders whose delivery time has passed but have not been
|
|
|
1506 |
delivered yet for the given provider and warehouse. To get a complete list of
|
|
|
1507 |
undelivered orders, pass them as -1.
|
|
|
1508 |
Returns an empty list if no such orders exist.
|
|
|
1509 |
*/
|
|
|
1510 |
list<Order> getUndeliveredOrders(1:i64 providerId, 2:i64 warehouseId),
|
|
|
1511 |
|
| 1599 |
ankur.sing |
1512 |
/**
|
| 4783 |
phani.kuma |
1513 |
Returns the list of orders whose expected delivery date has passed but have not been
|
|
|
1514 |
delivered yet.
|
|
|
1515 |
Returns an empty list if no such orders exist.
|
|
|
1516 |
*/
|
|
|
1517 |
list<Order> getUndeliveredOrdersExpectedDeliveryDateNotMet(),
|
|
|
1518 |
|
|
|
1519 |
/**
|
| 2537 |
chandransh |
1520 |
Toggle the DOA flag of an order. This should be used to flag an order for follow-up and unflag it when the follow-up is complete.
|
|
|
1521 |
Returns the final flag status.
|
|
|
1522 |
Throws an exception if the order with the given id couldn't be found or if the order status is not DELVIERY_SUCCESS.
|
|
|
1523 |
*/
|
|
|
1524 |
bool toggleDOAFlag(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1525 |
|
| 4712 |
rajveer |
1526 |
void markOrderAsDelivered(1:i64 orderId, 2:i64 deliveryTimestamp, string receiver) throws (1:TransactionServiceException ex),
|
|
|
1527 |
|
| 5553 |
rajveer |
1528 |
void markOrderAsReceivedAtStore(1:i64 orderId, 2:i64 deliveryTimestamp) throws (1:TransactionServiceException ex),
|
|
|
1529 |
|
| 2537 |
chandransh |
1530 |
/**
|
| 4454 |
rajveer |
1531 |
Once user raise the request for a DOA, order status will be changed from DELVIERY_SUCCESS to DOA_REQUEST_RECEIVED
|
|
|
1532 |
*/
|
|
|
1533 |
bool markOrderDoaRequestReceived(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1534 |
|
|
|
1535 |
/**
|
|
|
1536 |
CRM person can authorize or deny the request reised by customer. If he authorizes order will change from DOA_REQUEST_RECEIVED
|
|
|
1537 |
to DOA_REQUEST_AUTHORIZED. If he denies, status will be changed back to DELVIERY_SUCCESS.
|
|
|
1538 |
*/
|
| 7645 |
anupam.sin |
1539 |
bool markOrderDoaRequestAuthorized(1:i64 orderId, 2:bool isAuthorized, 3:bool fromStore, 4:bool isReship) throws (1:TransactionServiceException ex),
|
| 4454 |
rajveer |
1540 |
|
|
|
1541 |
/**
|
| 4488 |
rajveer |
1542 |
Once user raise the request for a RET, order status will be changed from DELVIERY_SUCCESS to RET_REQUEST_RECEIVED
|
|
|
1543 |
*/
|
|
|
1544 |
bool markOrderReturnRequestReceived(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1545 |
|
|
|
1546 |
/**
|
|
|
1547 |
CRM person can authorize or deny the request reised by customer. If he authorizes order will change from RET_REQUEST_RECEIVED
|
|
|
1548 |
to RET_REQUEST_AUTHORIZED. If he denies, status will be changed back to DELVIERY_SUCCESS.
|
|
|
1549 |
*/
|
| 7645 |
anupam.sin |
1550 |
bool markOrderReturnRequestAuthorized(1:i64 orderId, 2:bool isAuthorized, 3:bool fromStore, 4:bool isReship) throws (1:TransactionServiceException ex),
|
| 4488 |
rajveer |
1551 |
|
|
|
1552 |
/**
|
| 2537 |
chandransh |
1553 |
Sends out an email to the account manager of the original courier provider used to ship the order.
|
| 4452 |
rajveer |
1554 |
If the order status was DELIVERY_SUCCESS, it is changed to be DOA_PICKUP_REQUEST_RAISED.
|
|
|
1555 |
If the order status was DOA_PICKUP_REQUEST_RAISED, it is left unchanged.
|
| 2537 |
chandransh |
1556 |
For any other status, it returns false.
|
|
|
1557 |
Throws an exception if the order with the given id couldn't be found.
|
|
|
1558 |
*/
|
| 4579 |
rajveer |
1559 |
bool requestPickupNumber(1:i64 orderId, 2:i64 providerId) throws (1:TransactionServiceException ex),
|
| 2537 |
chandransh |
1560 |
|
|
|
1561 |
/**
|
| 4452 |
rajveer |
1562 |
If the order status is DOA_PICKUP_REQUEST_RAISED, it does the following
|
| 2537 |
chandransh |
1563 |
1. Sends out an email to the customer with the dispatch advice that he has to print as an attachment.
|
|
|
1564 |
2. Changes order status to be DOA_PICKUP_AUTHORIZED.
|
|
|
1565 |
3. Returns true
|
| 2589 |
chandransh |
1566 |
If the order is in any other status, it returns false.
|
| 2537 |
chandransh |
1567 |
Throws an exception if the order with the given id couldn't be found.
|
|
|
1568 |
*/
|
| 4602 |
rajveer |
1569 |
bool authorizePickup(1:i64 orderId, 2:string pickupNumber, 3:i64 providerId) throws (1:TransactionServiceException ex),
|
| 2589 |
chandransh |
1570 |
|
|
|
1571 |
/**
|
| 2765 |
chandransh |
1572 |
Marks all DOA_PICKUP_AUTHORIZED orders of the previous day for a provider as DOA_RETURN_IN_TRANSIT.
|
| 4910 |
phani.kuma |
1573 |
*/
|
|
|
1574 |
void markDoasAsPickedUp(1:i64 providerId, 2:map<string, string> pickupDetails),
|
|
|
1575 |
|
|
|
1576 |
/**
|
| 2765 |
chandransh |
1577 |
Returns a list of orders that were authorized for pickup but did not appear in the pick-up report.
|
|
|
1578 |
*/
|
| 4910 |
phani.kuma |
1579 |
list<Order> getDoasNotPickedUp(1:i64 providerId),
|
| 2765 |
chandransh |
1580 |
|
|
|
1581 |
/**
|
| 4741 |
phani.kuma |
1582 |
Marks all RET_PICKUP_CONFIRMED orders of the previous day for a provider as RET_RETURN_IN_TRANSIT.
|
| 4910 |
phani.kuma |
1583 |
*/
|
|
|
1584 |
void markReturnOrdersAsPickedUp(1:i64 providerId, 2:map<string, string> pickupDetails),
|
|
|
1585 |
|
|
|
1586 |
/**
|
| 4741 |
phani.kuma |
1587 |
Returns a list of orders that were authorized for pickup but did not appear in the pick-up report.
|
|
|
1588 |
*/
|
| 4910 |
phani.kuma |
1589 |
list<Order> getReturnOrdersNotPickedUp(1:i64 providerId),
|
| 4741 |
phani.kuma |
1590 |
|
|
|
1591 |
/**
|
| 4452 |
rajveer |
1592 |
If the order status is DOA_PICKUP_CONFIRMED or DOA_RETURN_IN_TRANSIT, marks the order status as DOA_RECEIVED_PRESTINE and returns true.
|
| 4484 |
rajveer |
1593 |
If the order status is RTO_IN_TRANSIT, marks the order status as RTO_RECEIVED_PRESTINE and returns true.
|
| 2589 |
chandransh |
1594 |
If the order is in any other state, it returns false.
|
|
|
1595 |
Throws an exception if the order with the given id couldn't be found.
|
|
|
1596 |
*/
|
| 13276 |
manish.sha |
1597 |
bool receiveReturn(1:i64 orderId, 2:i64 receiveCondition, 3:bool receiveFreebie, 4:string serialNumbers) throws (1:TransactionServiceException ex),
|
| 2589 |
chandransh |
1598 |
|
|
|
1599 |
/**
|
| 4452 |
rajveer |
1600 |
Used to validate the DOA certificate for an order in the DOA_RECEIVED_PRESTINE state. If the certificate is valid,
|
| 2614 |
chandransh |
1601 |
the order state is changed to DOA_CERT_VALID. If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
|
| 2589 |
chandransh |
1602 |
If the order is in any other state, it returns false.
|
|
|
1603 |
Throws an exception if the order with the given id couldn't be found.
|
|
|
1604 |
*/
|
|
|
1605 |
bool validateDoa(1:i64 orderId, 2:bool isValid) throws (1:TransactionServiceException ex),
|
| 2614 |
chandransh |
1606 |
|
| 4495 |
rajveer |
1607 |
bool validateReturnProduct(1:i64 orderId, 2:bool isUsable) throws (1:TransactionServiceException ex),
|
|
|
1608 |
|
| 2614 |
chandransh |
1609 |
/**
|
| 4484 |
rajveer |
1610 |
If the order is in RTO_RECEIVED_PRESTINE or DOA_CERT_INVALID state, it does the following:
|
| 2614 |
chandransh |
1611 |
1. Creates a new order for processing in the BILLED state. All billing information is saved.
|
| 4484 |
rajveer |
1612 |
2. Marks the current order as one of the final states RTO_RESHIPPED and DOA_INVALID_RESHIPPED depending on what state the order started in.
|
| 2614 |
chandransh |
1613 |
|
|
|
1614 |
If the order is in DOA_CERT_VALID state, it does the following:
|
|
|
1615 |
1. Creates a new order for processing in the SUBMITTED_FOR_PROCESSING state.
|
|
|
1616 |
2. Creates a return order for the warehouse executive to return the DOA material.
|
| 4452 |
rajveer |
1617 |
3. Marks the current order as the final DOA_VALID_RESHIPPED state.
|
| 2614 |
chandransh |
1618 |
|
|
|
1619 |
Returns the id of the newly created order.
|
|
|
1620 |
|
|
|
1621 |
Throws an exception if the order with the given id couldn't be found.
|
|
|
1622 |
*/
|
|
|
1623 |
i64 reshipOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1624 |
|
|
|
1625 |
/**
|
| 4484 |
rajveer |
1626 |
If the order is in RTO_RECEIVED_PRESTINE, DOA_CERT_VALID or DOA_CERT_INVALID state, it does the following:
|
| 2614 |
chandransh |
1627 |
1. Creates a refund request for batch processing.
|
|
|
1628 |
2. Creates a return order for the warehouse executive to return the shipped material.
|
| 4484 |
rajveer |
1629 |
3. Marks the current order as RTO_REFUNDED, DOA_VALID_REFUNDED or DOA_INVALID_REFUNDED final states.
|
| 2614 |
chandransh |
1630 |
|
|
|
1631 |
If the order is in SUBMITTED_FOR_PROCESSING or INVENTORY_LOW state, it does the following:
|
|
|
1632 |
1. Creates a refund request for batch processing.
|
| 3226 |
chandransh |
1633 |
2. Cancels the reservation of the item in the warehouse.
|
|
|
1634 |
3. Marks the current order as the REFUNDED final state.
|
| 2614 |
chandransh |
1635 |
|
| 3226 |
chandransh |
1636 |
For all COD orders, if the order is in INIT, SUBMITTED_FOR_PROCESSING or INVENTORY_LOW state, it does the following:
|
|
|
1637 |
1. Cancels the reservation of the item in the warehouse.
|
|
|
1638 |
2. Marks the current order as CANCELED.
|
|
|
1639 |
|
|
|
1640 |
In all cases, it updates the reason for cancellation or refund and the person who performed the action.
|
|
|
1641 |
|
| 2614 |
chandransh |
1642 |
Returns True if it is successful, False otherwise.
|
|
|
1643 |
|
|
|
1644 |
Throws an exception if the order with the given id couldn't be found.
|
|
|
1645 |
*/
|
| 3226 |
chandransh |
1646 |
bool refundOrder(1:i64 orderId, 2:string refundedBy, 3:string reason) throws (1:TransactionServiceException ex),
|
| 2688 |
chandransh |
1647 |
|
|
|
1648 |
/**
|
|
|
1649 |
Get all return orders created between the from and to dates for the given warehouse.
|
|
|
1650 |
Ignores the warehouse if it is passed as -1.
|
|
|
1651 |
*/
|
|
|
1652 |
list<ReturnOrder> getReturnOrders(1:i64 warehouseId, 2:i64 fromDate, 3:i64 toDate),
|
|
|
1653 |
|
|
|
1654 |
/**
|
| 5481 |
phani.kuma |
1655 |
Get all return orders created between the from and to dates.
|
|
|
1656 |
*/
|
|
|
1657 |
list<ReturnOrder> getAllReturnOrders(1:bool onlyNotProcessed, 2:i64 fromDate, 3:i64 toDate),
|
|
|
1658 |
|
|
|
1659 |
/**
|
| 2700 |
chandransh |
1660 |
Returns the ReturnOrder corresponding to the given id.
|
|
|
1661 |
Throws an exception if the return order with the given id couldn't be found.
|
|
|
1662 |
*/
|
|
|
1663 |
ReturnOrder getReturnOrder(1:i64 id) throws (1:TransactionServiceException ex),
|
|
|
1664 |
|
|
|
1665 |
/**
|
| 2688 |
chandransh |
1666 |
Marks the return order with the given id as processed. Raises an exception if no such return order exists.
|
|
|
1667 |
*/
|
| 2819 |
chandransh |
1668 |
void processReturn(1:i64 returnOrderId) throws (1:TransactionServiceException ex),
|
|
|
1669 |
|
|
|
1670 |
/**
|
| 3451 |
chandransh |
1671 |
Set the weight of the given order to the provided value. Will attempt to update the weight of the item in the catalog as well.
|
|
|
1672 |
*/
|
| 3469 |
chandransh |
1673 |
Order updateWeight(1:i64 orderId, 2:double weight) throws (1:TransactionServiceException ex),
|
|
|
1674 |
|
|
|
1675 |
/**
|
|
|
1676 |
Change the item to be shipped for this order. Also adjusts the reservation in the inventory accordingly.
|
|
|
1677 |
Currently, it also ensures that only a different color of the given item is shipped.
|
|
|
1678 |
*/
|
|
|
1679 |
Order changeItem(1:i64 orderId, 2:i64 itemId) throws (1:TransactionServiceException ex),
|
|
|
1680 |
|
| 7560 |
rajveer |
1681 |
Order changeCourierProvider(1:i64 orderId, 2:i64 providerId) throws (1:TransactionServiceException ex),
|
|
|
1682 |
|
| 3469 |
chandransh |
1683 |
/**
|
|
|
1684 |
Moves the given order to the given warehouse. Also adjusts the inventory reservations accordingly.
|
|
|
1685 |
*/
|
| 3553 |
chandransh |
1686 |
Order shiftToWarehouse(1:i64 orderId, 2:i64 warehouseId) throws (1:TransactionServiceException ex),
|
|
|
1687 |
|
|
|
1688 |
/**
|
|
|
1689 |
Adds the given delay reason to the given order.
|
| 3986 |
chandransh |
1690 |
Increases the expected delivery time of the given order by the given no. of days.
|
| 3553 |
chandransh |
1691 |
Raises an exception if no order with the given id can be found.
|
|
|
1692 |
*/
|
| 4647 |
rajveer |
1693 |
bool addDelayReason(1:i64 orderId, 2:DelayReason delayReason, 3:i64 furtherDelay, 4:string delayReasonText) throws (1:TransactionServiceException ex),
|
| 3956 |
chandransh |
1694 |
|
|
|
1695 |
/**
|
|
|
1696 |
Marks the COD orders with given AWB nos. as having been processed.
|
|
|
1697 |
Updates the captured amount for the corresponding payment.
|
|
|
1698 |
|
|
|
1699 |
Returns a map of AWBs which were not processed and the associated reason. An AWB is not processed if:
|
|
|
1700 |
1. There is no order corresponding to an AWB number.
|
|
|
1701 |
2. The captured amount for a payment exceeds the total payment.
|
|
|
1702 |
3. The order corresponding to an AWB no. is in a state prior to DELIVERY_SUCCESS.
|
|
|
1703 |
*/
|
| 4008 |
mandeep.dh |
1704 |
map<string, string> reconcileCodCollection(1:map<string, double> collectedAmountMap, 2:string xferBy, 3:string xferTxnId, 4:i64 xferDate) throws (1:TransactionServiceException ex),
|
|
|
1705 |
|
|
|
1706 |
/**
|
| 4065 |
mandeep.dh |
1707 |
* Returns the list of transaction ids that require some extra processing and
|
| 4008 |
mandeep.dh |
1708 |
* which belong to a particular category. This is currently used by CRM
|
| 4065 |
mandeep.dh |
1709 |
* application. If no such transaction ids are present, it returns an empty list.
|
| 4008 |
mandeep.dh |
1710 |
*/
|
|
|
1711 |
list<i64> getTransactionsRequiringExtraProcessing(1:ExtraTransactionProcessingType category),
|
|
|
1712 |
|
|
|
1713 |
/**
|
|
|
1714 |
* Marks a particular transaction as processed for a particular cateogory.
|
| 4065 |
mandeep.dh |
1715 |
* It essentially deletes the transaction id record for a particular
|
|
|
1716 |
* processing type category (if present) from DB.
|
|
|
1717 |
* This is currently used by CRM application.
|
| 4008 |
mandeep.dh |
1718 |
*/
|
| 4018 |
chandransh |
1719 |
void markTransactionAsProcessed(1:i64 transactionId, 2:ExtraTransactionProcessingType category),
|
|
|
1720 |
|
|
|
1721 |
/**
|
|
|
1722 |
Returns a map containing the number of risky orders keyed by item id. A risky order
|
|
|
1723 |
is defined as one whose shipping date is about to expire.
|
|
|
1724 |
*/
|
| 4245 |
rajveer |
1725 |
map<i64, i64> getItemWiseRiskyOrdersCount(),
|
|
|
1726 |
|
|
|
1727 |
/**
|
| 4295 |
varun.gupt |
1728 |
Returns a list of all orders which have items with given id
|
|
|
1729 |
*/
|
|
|
1730 |
list<Order> getOrdersForItemIds(1:list<i64> itemIds),
|
|
|
1731 |
|
|
|
1732 |
/**
|
| 4245 |
rajveer |
1733 |
* Mark order as cancellation request received. If customer sends request of cancellation of
|
|
|
1734 |
* a particular order, this method will be called. It will just change status of the order
|
|
|
1735 |
* depending on its current status. It also records the previous status, so that we can move
|
|
|
1736 |
* back to that status if cancellation request is denied.
|
|
|
1737 |
*/
|
|
|
1738 |
void markOrderCancellationRequestReceived(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1739 |
|
|
|
1740 |
/**
|
|
|
1741 |
* If we decide to to cancel order, CRM will call this method to move the status of order to
|
|
|
1742 |
* cancellation request confirmed. After this OM will be able to cancel the order.
|
|
|
1743 |
*/
|
|
|
1744 |
void markOrderCancellationRequestConfirmed(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1745 |
|
|
|
1746 |
/**
|
|
|
1747 |
* If we decide to not to cancel order, we will move the order ro previous status.
|
|
|
1748 |
*/
|
|
|
1749 |
void markOrderCancellationRequestDenied(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1750 |
|
|
|
1751 |
/**
|
| 4258 |
rajveer |
1752 |
* If we and/or payment gateway has decided to accept the payment, this method needs to be called.
|
|
|
1753 |
* Changed transaction and all orders status to payment accepted.
|
| 4245 |
rajveer |
1754 |
*/
|
| 4285 |
rajveer |
1755 |
void markTransactionAsPaymentFlagRemoved(1:i64 transactionId) throws (1:TransactionServiceException ex),
|
| 4245 |
rajveer |
1756 |
|
| 4259 |
anupam.sin |
1757 |
/**
|
|
|
1758 |
* This method is called when a flagged payment is deemed unserviceable and the corresponding orders
|
|
|
1759 |
* need to be cancelled
|
|
|
1760 |
*/
|
| 4285 |
rajveer |
1761 |
void refundTransaction(1:i64 transactionId, 2:string refundedBy, 3:string reason) throws (1:TransactionServiceException ex),
|
| 4324 |
mandeep.dh |
1762 |
|
|
|
1763 |
/**
|
|
|
1764 |
* Updates shipment address of an order. Delivery and shipping date estimates
|
|
|
1765 |
* etc. are also updated here.
|
|
|
1766 |
*
|
|
|
1767 |
* Throws TransactionServiceException in case address change is not
|
|
|
1768 |
* possible due to certain reasons such as new pincode in address is
|
|
|
1769 |
* not serviceable etc.
|
|
|
1770 |
*/
|
|
|
1771 |
void updateShipmentAddress(1:i64 orderId, 2:i64 addressId) throws (1:TransactionServiceException ex)
|
| 4285 |
rajveer |
1772 |
|
|
|
1773 |
/**
|
|
|
1774 |
Marks the orders as ACCEPTED for the given itemId and inventory. It also updates the accepted timestamp. If the
|
|
|
1775 |
given order is not a COD order, it also captures the payment if the same has not been captured.
|
|
|
1776 |
*/
|
| 4303 |
rajveer |
1777 |
bool acceptOrdersForItemId(1:i64 itemId, 2:i64 inventory) throws (1:TransactionServiceException ex),
|
| 4285 |
rajveer |
1778 |
|
| 4369 |
rajveer |
1779 |
void markOrdersAsPORaised(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate, 5:bool isReminder) throws (1:TransactionServiceException ex),
|
|
|
1780 |
void markOrdersAsReversalInitiated(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate, 5:bool isReminder) throws (1:TransactionServiceException ex),
|
|
|
1781 |
void markOrdersAsNotAvailabke(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate, 5:bool isReminder) throws (1:TransactionServiceException ex),
|
|
|
1782 |
|
| 4386 |
anupam.sin |
1783 |
map<i32, TimeoutSummary> markOrdersAsTimeout(1:i64 vendorId) throws (1:TransactionServiceException ex),
|
| 4661 |
rajveer |
1784 |
|
| 4386 |
anupam.sin |
1785 |
/**
|
| 4661 |
rajveer |
1786 |
Mark order as LOST_IN_TRANSIT
|
|
|
1787 |
*/
|
|
|
1788 |
bool markOrderAsLostInTransit(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1789 |
|
|
|
1790 |
/**
|
| 4386 |
anupam.sin |
1791 |
Returns the order corresponding to an AWB number
|
|
|
1792 |
*/
|
| 13276 |
manish.sha |
1793 |
list<Order> getOrderForAwb(1:string awb) throws (1:TransactionServiceException ex),
|
| 4506 |
phani.kuma |
1794 |
|
|
|
1795 |
/**
|
| 4910 |
phani.kuma |
1796 |
Returns the order corresponding to a logistics provider id for a given list of order status
|
| 4506 |
phani.kuma |
1797 |
*/
|
| 4910 |
phani.kuma |
1798 |
list<Order> getOrdersForProviderForStatus(1:i64 logistics_provider_id, 2:list<OrderStatus> order_status_list) throws (1:TransactionServiceException ex)
|
| 4600 |
varun.gupt |
1799 |
|
|
|
1800 |
/**
|
|
|
1801 |
Returns list of orders fullfiled from a certain vendor and billed in a given date range
|
|
|
1802 |
*/
|
|
|
1803 |
list<Order> getBilledOrdersForVendor(1:i64 vendorId, 2:i64 billingDateFrom, 3:i64 billingDateTo) throws (1:TransactionServiceException ex),
|
|
|
1804 |
|
| 4607 |
rajveer |
1805 |
list<Order> getSlippedSippingDateOrders() throws (1:TransactionServiceException ex),
|
|
|
1806 |
|
| 4709 |
rajveer |
1807 |
list<Order> getCancelledOrders(1:i64 cancelDateFrom, 2:i64 cancelDateTo) throws (1:TransactionServiceException ex),
|
|
|
1808 |
|
| 4600 |
varun.gupt |
1809 |
void saveBluedartSettlements(1:map<i64, double> mapAWBAndAmount) throws (1:TransactionServiceException ex),
|
|
|
1810 |
|
| 4905 |
varun.gupt |
1811 |
void savePaymentSettlements(1:i64 settlementDate, 2:i64 paymentGatewayId, 3:i64 referenceId, 4:double serviceTax, 5:double otherCharges, 6:double netCollection) throws (1:TransactionServiceException ex),
|
| 4600 |
varun.gupt |
1812 |
|
|
|
1813 |
void saveEBSSettlementSummary(1:i64 settlementId, 2:i64 settlementDate, 3:i64 transactionDateFrom, 4:i64 transactionDateTo, 5:double amount) throws (1:TransactionServiceException ex),
|
|
|
1814 |
|
| 5386 |
phani.kuma |
1815 |
PaymentSettlement getSettlementForPrepaid(1:i64 referenceId, 2:bool isRefund) throws (1:TransactionServiceException ex),
|
| 4600 |
varun.gupt |
1816 |
|
| 5386 |
phani.kuma |
1817 |
PaymentSettlement getSettlementForCod(1:i64 orderId, 2:bool isRefund) throws (1:TransactionServiceException ex),
|
|
|
1818 |
|
| 4600 |
varun.gupt |
1819 |
map<i64, string> getEBSSettlementSummaries() throws (1:TransactionServiceException ex),
|
|
|
1820 |
|
|
|
1821 |
void markEBSSettlementUploaded(1:i64 settlementId) throws (1:TransactionServiceException ex),
|
|
|
1822 |
|
| 4715 |
varun.gupt |
1823 |
i64 getEBSSettlementDate(1:i64 settlementId) throws (1:TransactionServiceException ex),
|
|
|
1824 |
|
|
|
1825 |
list<PaymentSettlement> getSettlementsByDate(1:i64 settlementDateFrom, 2:i64 settlementDateTo, 3:bool isRefund) throws (1:TransactionServiceException ex),
|
|
|
1826 |
|
|
|
1827 |
/**
|
|
|
1828 |
Returns list of Order Ids, which belong to reshiped orders, shortlisted from a given list of Order Ids
|
|
|
1829 |
*/
|
| 4875 |
varun.gupt |
1830 |
list<i64> getReshippedOrderIds(1:list<i64> orderIds) throws (1:TransactionServiceException ex),
|
|
|
1831 |
|
| 5481 |
phani.kuma |
1832 |
list<Order> getBilledOrders(1:i64 vendorId, 2:bool onlyVendorNotPaid, 3:i64 billingDateFrom, 4:i64 billingDateTo) throws (1:TransactionServiceException ex),
|
| 5031 |
varun.gupt |
1833 |
|
| 5067 |
varun.gupt |
1834 |
map<i64, i64> getStatusDistributionOfOrders(1:i64 startDate, 2:i64 endDate) throws (1:TransactionServiceException ex),
|
|
|
1835 |
|
| 5099 |
varun.gupt |
1836 |
list<i64> getOrderIdsForStatus(1:i64 status, 2:i64 startDatetime, 3:i64 endDatetime) throws (1:TransactionServiceException ex),
|
|
|
1837 |
|
| 5348 |
anupam.sin |
1838 |
/**
|
|
|
1839 |
* Updates the agent who handled the COD verification call
|
|
|
1840 |
*/
|
|
|
1841 |
void updateCODAgent(1:string agent, 2:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1842 |
|
| 5208 |
varun.gupt |
1843 |
void updateOrderAsPaidToVendor(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1844 |
|
| 5386 |
phani.kuma |
1845 |
void updateOrderOnlyAsPaidToVendor(1:i64 orderId) throws (1:TransactionServiceException ex),
|
|
|
1846 |
|
| 5447 |
anupam.sin |
1847 |
list<Order> getRefundedOrdersMarkedPaid() throws (1:TransactionServiceException ex),
|
|
|
1848 |
|
|
|
1849 |
/**
|
|
|
1850 |
* gets all COD Verification Agents for all orderIds from a minId to maxId
|
|
|
1851 |
*
|
|
|
1852 |
*/
|
| 5527 |
anupam.sin |
1853 |
list<CODVerificationAgent> getAllVerificationAgents(1:i64 minOrderId, 2:i64 maxOrderId),
|
|
|
1854 |
|
|
|
1855 |
/**
|
|
|
1856 |
* gets all attributes for a given orderId
|
|
|
1857 |
*/
|
|
|
1858 |
list<Attribute> getAllAttributesForOrderId(1:i64 orderId),
|
|
|
1859 |
|
|
|
1860 |
/**
|
| 5676 |
rajveer |
1861 |
* sets attributes for an order
|
|
|
1862 |
*/
|
|
|
1863 |
void setOrderAttributes(1:i64 orderId, list<Attribute> attributes),
|
|
|
1864 |
|
|
|
1865 |
/**
|
| 5527 |
anupam.sin |
1866 |
* sets attributes for all orders in a transaction
|
|
|
1867 |
*/
|
| 5553 |
rajveer |
1868 |
void setOrderAttributeForTransaction(1:i64 transactionId, Attribute attribute),
|
|
|
1869 |
|
|
|
1870 |
list<Order> getReceivePendingOrders(1:i64 storeId),
|
|
|
1871 |
|
| 5593 |
mandeep.dh |
1872 |
list<Order> getReceivedAtStoreOrders(1:i64 storeId),
|
| 5713 |
rajveer |
1873 |
|
|
|
1874 |
list<Order> getOrdersCollectionAtStore(1:i64 storeId, 2:i64 fromDate, 3:i64 toDate, 4:bool onlyCod),
|
| 5593 |
mandeep.dh |
1875 |
|
| 5833 |
rajveer |
1876 |
string getOrderAttributeValue(1:i64 orderId, string attributeName),
|
| 6019 |
rajveer |
1877 |
|
|
|
1878 |
bool changeJacketNumber(1:i64 orderId, 2:i64 jacketNumber),
|
|
|
1879 |
|
|
|
1880 |
bool markOrderAsRtoInTransit(1:i64 orderId),
|
|
|
1881 |
|
| 5593 |
mandeep.dh |
1882 |
/**
|
|
|
1883 |
* Accepts appropriate order for an item in a given billingWarehouse. Usually
|
|
|
1884 |
* invoked while scanning IN of items.
|
|
|
1885 |
*/
|
| 6000 |
mandeep.dh |
1886 |
void acceptOrderForItem(1:i64 itemId, 2:i64 quantity, 3:i64 fulfilmentWarehouseId, 4:i64 billingWarehouseId);
|
|
|
1887 |
|
|
|
1888 |
RechargeOrder createRechargeOrder(1:RechargeOrder rechargeOrder) throws (1:TransactionServiceException ex);
|
| 6031 |
rajveer |
1889 |
RechargeOrder getRechargeOrder(1:i64 rechargeRrderId) throws (1:TransactionServiceException ex);
|
|
|
1890 |
list<RechargeOrder> getRechargeOrders(1:i64 userId);
|
|
|
1891 |
|
|
|
1892 |
bool updateRechargeOrderStatus(1:i64 rechargeOrderId, 2:RechargeOrderStatus rechargeOrderStatus) throws (1:TransactionServiceException ex);
|
|
|
1893 |
bool activateRechargeTxn(1:i64 rechargeOrderId) throws (1:TransactionServiceException ex);
|
|
|
1894 |
UserWallet getUserWallet(1:i64 userId);
|
|
|
1895 |
list<UserWalletHistory> getUserWalletHistory(1:i64 userId);
|
| 22043 |
amit.gupta |
1896 |
list<UserWalletHistory> getLatestUserWalletHistory(1:i64 userId, 2:i64 offset, 3:i64 limit);
|
| 6050 |
anupam.sin |
1897 |
/**
|
|
|
1898 |
Returns a recharge order for a given transactionId
|
|
|
1899 |
*/
|
|
|
1900 |
RechargeOrder getRechargeOrdersForTransaction(1:i64 txnId) throws (1:TransactionServiceException ex);
|
| 6206 |
rajveer |
1901 |
map<i64, string> getServiceProviders(1:RechargeType rechargeType, 2:bool onlyActive);
|
| 6289 |
anupam.sin |
1902 |
DeviceNumberInfo getServiceProviderForDevice(1:RechargeType rechargeType, 2:string deviceNumber);
|
| 6591 |
anupam.sin |
1903 |
string validateRecharge(1:RechargeType rechargeType, 2:string deviceNumber, 3:i64 userSelectedProviderId, 4:string clientAddress);
|
| 6094 |
rajveer |
1904 |
list<RechargeOrder> getRechargeOrdersForDevice(1:string deviceNumber);
|
| 20929 |
kshitij.so |
1905 |
//void addAmountToWallet(1:i64 userId, 2:i64 orderId, 3:i64 amount);
|
| 13941 |
amit.gupta |
1906 |
void creditBatch(1:i64 batchId, 2:string userAmount);
|
| 6188 |
rajveer |
1907 |
|
|
|
1908 |
RechargeStatistics getRechargeStatistics();
|
|
|
1909 |
|
| 6154 |
rajveer |
1910 |
list<RechargeOrder> getRechargeOrdersForStatus(1:i64 status);
|
| 6159 |
rajveer |
1911 |
list<RechargePlan> getPlansForOperator(1:i64 operatorId);
|
| 6289 |
anupam.sin |
1912 |
|
|
|
1913 |
/**
|
|
|
1914 |
Returns denominations for a given operator and circle
|
|
|
1915 |
*/
|
| 6307 |
anupam.sin |
1916 |
list<RechargeDenomination> getRechargeDenominations(1:i64 operatorId, 2:string circleCode, 3:DenominationType denominationType) throws (1:TransactionServiceException ex);
|
| 6371 |
rajveer |
1917 |
|
|
|
1918 |
void updateAvailabilityStatus(1:i64 operatorId, 2:i64 circleId, 3:bool isAvailable);
|
| 6389 |
rajveer |
1919 |
|
|
|
1920 |
list<EmiScheme> getAvailableEmiSchemes();
|
|
|
1921 |
|
| 6412 |
rajveer |
1922 |
map<i64, double> getMiscCharges(1:i64 transactionId);
|
| 6507 |
anupam.sin |
1923 |
|
|
|
1924 |
bool refundRechargeOrder(1:i64 rechargeOrderId) throws (1:TransactionServiceException ex);
|
| 6821 |
amar.kumar |
1925 |
|
| 6906 |
rajveer |
1926 |
list<Order> getPhysicalOrders(1:i64 fromDate, 2:i64 toDate);
|
|
|
1927 |
|
|
|
1928 |
binary getDocument(1:i64 docType, 2:i64 docSource);
|
| 6985 |
anupam.sin |
1929 |
|
|
|
1930 |
bool changeShippingAddress(1:i64 orderId, 2:string line1, 3:string line2, 4:string city, 5:string state, 6:string pin);
|
| 6988 |
rajveer |
1931 |
|
| 7075 |
rajveer |
1932 |
binary retrieveInvoice(1:i64 orderId, 2:i64 userId);
|
| 6988 |
rajveer |
1933 |
|
| 7026 |
rajveer |
1934 |
list<string> receiveUpdatesForRedExpress(1:string awbNumber);
|
| 7073 |
anupam.sin |
1935 |
|
|
|
1936 |
RechargeTransaction createRechargeTransaction(1:RechargeTransaction thriftRechargeTransaction);
|
| 7080 |
anupam.sin |
1937 |
|
| 7084 |
rajveer |
1938 |
list<RechargeTransaction> getRechargeTransactions(1:i64 storeId);
|
| 7151 |
amit.gupta |
1939 |
|
|
|
1940 |
list<RechargeTransaction> getRechargeTrans(1:i64 storeId, 2:i64 startDate, 3:i64 endDate, 4:RechargeOrderStatus status);
|
| 7084 |
rajveer |
1941 |
|
| 7080 |
anupam.sin |
1942 |
RechargeTransaction getRechargeTransaction(1:i64 rechargeId);
|
|
|
1943 |
|
|
|
1944 |
list<FRC> getFRCs(1:i64 circleId, 2:i64 operatorId);
|
| 7096 |
anupam.sin |
1945 |
|
|
|
1946 |
HotspotStore getHotspotStore(1:i64 id, 2:string hotspotid);
|
|
|
1947 |
|
|
|
1948 |
TelecomCircle getTelecomCircle(1:i64 id, 2:string code);
|
| 7109 |
anupam.sin |
1949 |
|
|
|
1950 |
binary retrieveHotspotRechargeInvoice(1:i64 rechargeId);
|
| 7169 |
anupam.sin |
1951 |
|
| 7190 |
amar.kumar |
1952 |
Order splitFreebieOrder(1:i64 orderId, 2:string splitReason, 3:i64 shippingDate);
|
|
|
1953 |
|
| 7172 |
anupam.sin |
1954 |
list<RechargeTransaction> getRechargeTransactionsByNumber(1:string number, 2:i64 storeId);
|
| 7169 |
anupam.sin |
1955 |
|
|
|
1956 |
bool updateHotspotStorePassword(1:i64 storeId, 2:string password);
|
| 7263 |
anupam.sin |
1957 |
|
| 7285 |
rajveer |
1958 |
i64 topupCompanyWallet(1:i64 companyId, 2:i64 amount);
|
|
|
1959 |
|
|
|
1960 |
i64 getWalletBalanceForCompany(1:i64 companyId);
|
| 7363 |
rajveer |
1961 |
|
|
|
1962 |
i64 getSaholicRechargeBalance();
|
| 7285 |
rajveer |
1963 |
|
| 7263 |
anupam.sin |
1964 |
SourceDetail getSourceDetail(1:i64 source);
|
| 7267 |
anupam.sin |
1965 |
|
|
|
1966 |
list<TelecomCircle> getAllCircles();
|
|
|
1967 |
|
|
|
1968 |
bool deleteFrcs(1:list<i64> frcIdsToDelete);
|
| 7311 |
kshitij.so |
1969 |
|
|
|
1970 |
void addAmazonOrder(1:AmazonOrder amazonOrder);
|
|
|
1971 |
|
| 7322 |
vikram.rag |
1972 |
bool updateAmazonOrderStatus(1:i64 orderId,2:string status);
|
| 7311 |
kshitij.so |
1973 |
|
| 7686 |
vikram.rag |
1974 |
list<Order> getAmazonOrdersShipped();
|
| 7311 |
kshitij.so |
1975 |
|
|
|
1976 |
list<Order> getAmazonOrdersCancelled(1:i64 interval);
|
|
|
1977 |
|
| 7343 |
anupam.sin |
1978 |
AmazonOrder getAmazonOrder(1:i64 orderId);
|
| 7322 |
vikram.rag |
1979 |
|
| 7542 |
vikram.rag |
1980 |
list<AmazonOrder> getAmazonOrderByAmazonOrderId(1:string amazonOrderId);
|
|
|
1981 |
|
| 7343 |
anupam.sin |
1982 |
list<Order> getOrdersForStore(1:i64 id, 2:i64 storeId, 3:i64 startDate, 4:i64 endDate, 5:list<OrderStatus> statuses);
|
|
|
1983 |
|
| 7386 |
anupam.sin |
1984 |
binary getStoreOrderAdvanceInvoice(1:i64 orderId, 2:i64 storeId);
|
| 7355 |
vikram.rag |
1985 |
|
| 7370 |
anupam.sin |
1986 |
bool addFrc(1:i64 circleId, 2:i64 operatorId, 3:i64 denomination, 4:i64 maxDiscount);
|
| 7371 |
anupam.sin |
1987 |
|
|
|
1988 |
string addSeries(1:i64 circle, 2:i64 operatorId, 3:i64 series);
|
| 7386 |
anupam.sin |
1989 |
|
|
|
1990 |
bool saveStoreOrderDetail(1:StoreOrderDetail storeOrderDetail);
|
|
|
1991 |
|
|
|
1992 |
StoreOrderDetail getStoreOrderDetail(1:i64 orderId, 2:i64 storeId);
|
|
|
1993 |
|
|
|
1994 |
list<string> getAllEdcBanks();
|
| 7393 |
anupam.sin |
1995 |
|
|
|
1996 |
bool saveRefundAmountsForStoreOrder(1:i64 orderId, 2:i64 storeId, 3:double cashRefundAmount, 4:double cardRefundAmount);
|
| 7427 |
anupam.sin |
1997 |
|
|
|
1998 |
list<StoreOrderCollection> getCollectionsForStore(1:i64 storeId, 2:i64 startDate, 3:i64 endDate);
|
| 7442 |
vikram.rag |
1999 |
|
| 12614 |
amit.gupta |
2000 |
list<AmazonOrdersToAcknowledge> getAmazonOrdersToAcknowledge(1:OrderSource source);
|
| 7442 |
vikram.rag |
2001 |
|
| 7460 |
kshitij.so |
2002 |
void changeAmazonOrderStatus(1:string amazonOrderCode,2:string status);
|
|
|
2003 |
|
| 7762 |
kshitij.so |
2004 |
bool updateTimestampForAmazonOrder(1:map<i64, map<string,string>> amazonOrderDelivery);
|
| 7530 |
kshitij.so |
2005 |
|
|
|
2006 |
bool updateSourceDetailTimestamp(1:i64 id , 2:i64 lastUpdatedOn);
|
| 7572 |
anupam.sin |
2007 |
|
|
|
2008 |
list<Order> getOrdersByMobileNumber(1:string mobileNumber);
|
|
|
2009 |
|
| 7645 |
anupam.sin |
2010 |
list<Order> getOrdersByAmazonOrderCode(1:string amazonId);
|
| 7730 |
anupam.sin |
2011 |
|
|
|
2012 |
bool convertStoreToNormal(1:i64 orderId);
|
| 7822 |
amar.kumar |
2013 |
|
|
|
2014 |
Order updateFreebieItem(1:i64 orderId, 2:i64 newFreebieItemId);
|
| 7939 |
manish.sha |
2015 |
|
| 7967 |
anupam.sin |
2016 |
list<HotspotServiceMatrix> getHotspotServiceMatrices();
|
|
|
2017 |
|
| 7939 |
manish.sha |
2018 |
Order updateOrderAWB(1:i64 orderId, 2:string airwayBillNo);
|
| 8182 |
amar.kumar |
2019 |
|
|
|
2020 |
list<Order> getOrdersByVendor(1:list<i64> vendors, 2:list<OrderStatus> statuses) throws (1:TransactionServiceException ex);
|
|
|
2021 |
|
|
|
2022 |
void createEbayOrder(1:EbayOrder ebayOrder);
|
|
|
2023 |
|
|
|
2024 |
EbayOrder getEbayOrderByOrderId(1:i64 orderId);
|
|
|
2025 |
|
|
|
2026 |
EbayOrder getEbayOrderBySalesRecNumber(1:i64 salesRecordNumber);
|
|
|
2027 |
|
| 8241 |
amar.kumar |
2028 |
list<EbayOrder> getEbayOrder(1:i64 salesRecordNumber, 2:string listingId, 3:string paisapayId);
|
| 8182 |
amar.kumar |
2029 |
|
|
|
2030 |
void updateEbayOrder(1:EbayOrder ebayOrder);
|
|
|
2031 |
|
|
|
2032 |
bool ebayOrderExists(1:i64 salesRecNumber, 2:string ebayListingId);
|
|
|
2033 |
|
|
|
2034 |
void updateOrderForEbay(1:Order order);
|
|
|
2035 |
|
|
|
2036 |
Order splitEbayOrder(1:i64 orderId, 2:i64 splitOrderQty, 3:i64 splitOrderItemId, 4:bool usePowerShip);
|
| 8282 |
kshitij.so |
2037 |
|
|
|
2038 |
void addOrUpdateAmazonFbaSalesSnapshot(1:AmazonFbaSalesSnapshot amazonfbasalessnapshot);
|
|
|
2039 |
|
|
|
2040 |
list<AmazonFbaSalesSnapshot> getAmazonFbaSalesSnapshotForDays(1:i32 days);
|
|
|
2041 |
|
| 8488 |
amar.kumar |
2042 |
AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItem(1:i64 item_id);
|
|
|
2043 |
|
|
|
2044 |
void createSnapdealOrder(1:SnapdealOrder snapdealOrder);
|
|
|
2045 |
|
| 11424 |
kshitij.so |
2046 |
list<SnapdealOrder> getSnapdealOrder(1:i64 orderId, 2:string referenceCode, 3:string subrderId)
|
| 8488 |
amar.kumar |
2047 |
|
| 9630 |
vikram.rag |
2048 |
bool snapdealOrderExists(1:string subOrderId, 2:string referenceCode);
|
| 8488 |
amar.kumar |
2049 |
|
| 8532 |
vikram.rag |
2050 |
void updateLatestFbaPricesForItem(1:FbaItemPrices fbaitemprices)
|
|
|
2051 |
|
| 8961 |
vikram.rag |
2052 |
bool flipkartOrderExists(1:string flipkartOrderId, 2:string flipkartSubOrderId)
|
|
|
2053 |
|
|
|
2054 |
void createFlipkartOrder(1:FlipkartOrder flipkartOrder)
|
|
|
2055 |
|
| 9107 |
vikram.rag |
2056 |
FlipkartOrder getFlipkartOrder(1:i64 orderId)
|
| 8990 |
vikram.rag |
2057 |
|
| 9159 |
amar.kumar |
2058 |
FlipkartOrder getFlipkartOrderByOrderItemId(1:string flipkartOrderItemId)
|
|
|
2059 |
|
| 9107 |
vikram.rag |
2060 |
void updateFlipkartOrderDatesAndAWB(1:string flipkartOrderId,2:string flipkartSubOrderId,3:i64 date,4:string awb)
|
| 9404 |
vikram.rag |
2061 |
|
| 9571 |
vikram.rag |
2062 |
map<i64,i64> getOrdersCreatedAfterTimestampForSource(1:i64 timestamp,2:i64 source)
|
| 9404 |
vikram.rag |
2063 |
|
| 13276 |
manish.sha |
2064 |
list<Order> getOrderForAirwayBillNo(1:string airwaybillNo) throws (1:TransactionServiceException ex)
|
| 9651 |
manish.sha |
2065 |
|
|
|
2066 |
i64 getMinCreatedTimeStampUndeliveredOrdersForSource(1:i32 source)
|
|
|
2067 |
|
| 9880 |
manish.sha |
2068 |
void updateSnapdealOrdersStatus(1:map<string, list<list<string>>> orders) throws (1:TransactionServiceException ex)
|
| 9651 |
manish.sha |
2069 |
|
|
|
2070 |
void updateFlipkartOrdersStatus(1:list<list<string>> delivered_orders) throws (1:TransactionServiceException ex)
|
| 9801 |
manish.sha |
2071 |
|
|
|
2072 |
void bulkAddOrUpdateAmazonFbaSalesSnapshot(1:list<AmazonFbaSalesSnapshot> amazonfbasalessnapshotlist)
|
| 9945 |
vikram.rag |
2073 |
|
|
|
2074 |
map<i64,i64> getCreatedOrdersForFlipkart(list<string> flipkartorderids)
|
|
|
2075 |
|
| 11896 |
amit.gupta |
2076 |
bool isPrivateDealTransaction(1:i64 transactionId)
|
|
|
2077 |
|
| 12396 |
kshitij.so |
2078 |
AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItemLocationWise(1:i64 item_id,2:i64 location);
|
|
|
2079 |
|
| 12103 |
manish.sha |
2080 |
bool changeEasyshipMfnOrderTxnStatus(1:i64 transactionId, 2:TransactionStatus status, 3:string description, 4:i64 pickUp, 5:OrderType orderType, 6:OrderSource source, 7:i64 shipTimestamp, 8:i64 deliveryTimeStamp) throws (1:TransactionServiceException ex)
|
|
|
2081 |
|
|
|
2082 |
void updateAmazonFbaOrdersReturns(1:list<AmazonFbaOrderReturns> fbaOrderReturns) throws (1:TransactionServiceException ex)
|
|
|
2083 |
|
|
|
2084 |
list<AmazonFbaOrderReturns> getAllAmazonFbaOrderReturnsByCurrentTime(1:i64 insertionTimestamp) throws (1:TransactionServiceException ex)
|
|
|
2085 |
|
|
|
2086 |
map<i64, map<string, i64>> getTotalSaleReturnsFbaSkusCurentTime(1:i64 insertionTimestamp) throws (1:TransactionServiceException ex)
|
|
|
2087 |
|
| 12589 |
manish.sha |
2088 |
list<FlipkartOrder> getVerificationPendingOrdersFK() throws (1:TransactionServiceException ex)
|
|
|
2089 |
|
| 12772 |
manish.sha |
2090 |
FlipkartAdvantageOrder getFAOrderByFkOrderId(1:string fkOrderId, 2:string fkOrderItemId) throws (1:TransactionServiceException ex)
|
| 12589 |
manish.sha |
2091 |
|
| 12772 |
manish.sha |
2092 |
list<FlipkartAdvantageOrder> getAllFAOrdersList(1:string status) throws (1:TransactionServiceException ex)
|
| 12589 |
manish.sha |
2093 |
|
| 12653 |
manish.sha |
2094 |
void addUpdateFaOrdersBulk(1:list<FlipkartAdvantageOrder> faOrdersList) throws (1:TransactionServiceException ex)
|
|
|
2095 |
|
|
|
2096 |
void addInvoiceDetailsToOrders(1:i64 transactionId, 2:i64 customerId) throws (1:TransactionServiceException ex)
|
| 12772 |
manish.sha |
2097 |
|
| 12980 |
kshitij.so |
2098 |
bool flipkartFaOrderExists(1:string fkOrderId, 2:string fkOrderItemId) throws (1:TransactionServiceException ex)
|
| 12979 |
kshitij.so |
2099 |
|
|
|
2100 |
RechargeOrder getRcgOrderStatus(1:i64 rechargeOrderId,2:bool isFinal)
|
|
|
2101 |
|
|
|
2102 |
RechargeTransaction getRcgTransactionStatus(1:i64 rechargeTransactionId,2:bool isFinal)
|
| 13148 |
manish.sha |
2103 |
|
|
|
2104 |
void bulkAddOrUpdateFlipkartFaSalesSnapshot(1:list<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist)
|
|
|
2105 |
|
|
|
2106 |
list<FlipkartFaSalesSnapshot> getFlipkartFaSalesSnapshotForDays(1:i32 days)
|
|
|
2107 |
|
|
|
2108 |
FlipkartFaSalesSnapshot getFlipkartFaSalesSnapshotBySkuAndSaleDate(1:i64 item_id, 2:i64 dateOfSale)
|
|
|
2109 |
|
|
|
2110 |
bool acceptPackageOrders(list<i64> orders) throws (1:TransactionServiceException ex)
|
|
|
2111 |
|
|
|
2112 |
list<Order> getGroupOrdersByLogisticsTxnId(1:string logisticsTxnId) throws (1:TransactionServiceException ex)
|
|
|
2113 |
|
| 20811 |
kshitij.so |
2114 |
bool addBillingDetailsForGrouppedOrders(1:list<i64> order_ids, 2:string invoice_number, 3:map<i64,list<string>> itemNumbersMap, 4:map<i64,list<string>> serialNumbersMap, 5:map<i64,list<i64>> freebieWarehouseIdMap, 6:string billed_by, 7:i64 jacketNumber, 8:i64 billingType, 9:bool authorize, 10:string invoiceType) throws (1:TransactionServiceException ex)
|
| 13276 |
manish.sha |
2115 |
|
|
|
2116 |
string getInvoiceFormatLogisticsTxnId(1:i64 transactionId, 2:i64 shipementSeq) throws (1:TransactionServiceException ex)
|
| 13691 |
manish.sha |
2117 |
|
|
|
2118 |
void createHomeShopOrder(1:HsOrder snapdealOrder);
|
|
|
2119 |
|
|
|
2120 |
list<HsOrder> getHomeShopOrder(1:i64 orderId, 2:string hsOrderNo, 3:string hsSubOrderNo);
|
|
|
2121 |
|
|
|
2122 |
bool homeShopOrderExists(1:string hsOrderNo, 2:string hsSubOrderNo);
|
| 17470 |
manish.sha |
2123 |
|
|
|
2124 |
Order splitBulkOrder(1:i64 orderId, 2:i64 splitOrderQty);
|
| 18041 |
manish.sha |
2125 |
|
|
|
2126 |
string moveOrdersToCorrectWarehouse();
|
| 18578 |
manish.sha |
2127 |
|
|
|
2128 |
Creditor getCreditorInfo(1:i64 id, 2:string name)
|
|
|
2129 |
|
|
|
2130 |
bool updateCreditorInfo(1:Creditor creditor)
|
|
|
2131 |
|
|
|
2132 |
list<UserSanction> getUserSanctionDetails(1:i64 userId)
|
|
|
2133 |
|
|
|
2134 |
UserSanction getUserSanctionDetailsForCreditor(1:i64 userId, i64 creditorId)
|
|
|
2135 |
|
|
|
2136 |
bool updateUserSanction(1:UserSanction userSanaction) throws (1:TransactionServiceException pe)
|
|
|
2137 |
|
| 18634 |
manish.sha |
2138 |
list<CreditHistory> getCreditHistoryRecordsForTransaction(1:i64 paymentId, 2:CreditTxnType creditTxnType)
|
| 18578 |
manish.sha |
2139 |
|
| 18634 |
manish.sha |
2140 |
list<CreditHistory> getCreditHistoryRecordsForUserAndCreditor(1:i64 userId, 2:i64 creditorId, 3:CreditTxnType creditTxnType)
|
| 18578 |
manish.sha |
2141 |
|
| 18634 |
manish.sha |
2142 |
bool processCreditTransaction(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:list<CreditHistory> creditTxns) throws (1:TransactionServiceException pe)
|
| 18578 |
manish.sha |
2143 |
|
| 18634 |
manish.sha |
2144 |
double getLoanPayableForUserToCreditor(1:i64 userId, 2:i64 creditorId, 3:i64 dueDate)
|
| 18578 |
manish.sha |
2145 |
|
| 18634 |
manish.sha |
2146 |
list<LoanHistory> getLoanHistoryRecordsForTransaction(1:i64 paymentId, 2:CreditTxnType creditTxnType)
|
|
|
2147 |
|
|
|
2148 |
list<LoanHistory> getLoanHistoryRecordsForUserAndCreditor(1:i64 userId, 2:i64 creditorId, 3:CreditTxnType creditTxnType)
|
|
|
2149 |
|
|
|
2150 |
bool processLoanTransaction(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:list<LoanHistory> creditTxns) throws (1:TransactionServiceException pe)
|
|
|
2151 |
|
| 18794 |
manish.sha |
2152 |
PaginatedCreditHistory getLimitedCreditHistoryRecords(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:i64 limit, 5:i64 offset)
|
| 18769 |
manish.sha |
2153 |
|
| 18794 |
manish.sha |
2154 |
PaginatedLoanHistory getLimitedLoanHistoryRecords(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:i64 limit, 5:i64 offset)
|
| 18769 |
manish.sha |
2155 |
|
| 19869 |
manas |
2156 |
PaginatedUserSanction getUserSanctionsDetailsAsPerLimit(1:i64 userId, 2:i64 creditorId, 3:i64 limit, 4:i64 offset,5:string sort)
|
| 18794 |
manish.sha |
2157 |
|
| 19888 |
manas |
2158 |
list<OutstandingPayments> getOutstandingPayments(1:string fetchType, 2:i64 userId, 3:i64 limit)
|
|
|
2159 |
|
| 19912 |
manas |
2160 |
map<bool,string> markPaymentSettled(1:i64 userId,2:i64 paymentId,3:double totalAmount,4:i64 repaymentDate)
|
|
|
2161 |
|
| 18578 |
manish.sha |
2162 |
ReturnOrderInfo getReturnOrderInfo(1:i64 id) throws (1:TransactionServiceException ex);
|
|
|
2163 |
|
|
|
2164 |
map<i64,list<ReturnOrderInfo>> getReturnOrderInfoList(1:list<i64> order_ids);
|
|
|
2165 |
|
|
|
2166 |
map<i64,list<ReturnOrderInfo>> getReturnOrderInfoListAsByStatus(1:list<i64> order_ids, 2:list<string> statuses);
|
|
|
2167 |
|
|
|
2168 |
bool updateReturnOrderInfo(1:ReturnOrderInfo returnInfo) throws (1:TransactionServiceException ex);
|
|
|
2169 |
|
|
|
2170 |
map<i64, bool> bulkUpdateReturnOrderInfo(1:map<i64,list<ReturnOrderInfo>> orderReturnInfosMap) throws (1:TransactionServiceException ex);
|
|
|
2171 |
|
|
|
2172 |
list<ReturnOrderInfo> getReturnOrdersAsPerWarehouseId(1:i64 warehouseId);
|
|
|
2173 |
|
| 19817 |
manish.sha |
2174 |
ReturnTransaction createReturnTransaction(1:ReturnTransaction returnTransaction, 2:string itemCondition, 3:bool overrideWarranty) throws (1:TransactionServiceException ex);
|
| 18578 |
manish.sha |
2175 |
|
|
|
2176 |
ReturnTransaction getReturnTransaction(1:i64 id) throws (1:TransactionServiceException ex);
|
|
|
2177 |
|
|
|
2178 |
list<ReturnOrderInfo> getReturnOrdersForReturnTransaction(1:i64 returnTransactionId) throws (1:TransactionServiceException ex);
|
|
|
2179 |
|
|
|
2180 |
bool changeReturnTransactionStatus(1:i64 returnTransactionId, 2:ReturnTransactionStatus status, 3:list<i64> returnOrderIds) throws (1:TransactionServiceException ex);
|
|
|
2181 |
|
| 20111 |
kshitij.so |
2182 |
i64 createReturnPickupRequest(1:list<i64> returnOrderIds) throws (1:TransactionServiceException ex);
|
| 18578 |
manish.sha |
2183 |
|
|
|
2184 |
bool updateReturnPickupRequest(1:ReturnPickupRequest returnPickupRequest) throws (1:TransactionServiceException ex);
|
|
|
2185 |
|
|
|
2186 |
list<ReturnOrderInfo> getAllReturnOrdersForReturnPickupRequest(1:i64 logisticsRequestId) throws (1:TransactionServiceException ex);
|
|
|
2187 |
|
|
|
2188 |
bool receiveReturnPickup(1:map<i64,map<string, string>> returnOrdersMap, 2:i64 id) throws (1:TransactionServiceException ex);
|
|
|
2189 |
|
|
|
2190 |
bool validateReturnPickup(1:i64 returnPickupId, 2:map<i64, bool>returnOrdersMap) throws (1:TransactionServiceException ex);
|
|
|
2191 |
|
|
|
2192 |
bool processReturnPickup(1:i64 returnPickupId, 2:map<i64, map<string, string>> returnOrdersMap) throws (1:TransactionServiceException ex);
|
|
|
2193 |
|
|
|
2194 |
bool markReturnTransactionComplete(1:i64 returnTransactionId) throws (1:TransactionServiceException ex);
|
|
|
2195 |
|
|
|
2196 |
bool refundReturnTransactionPayment(1:map<i64, map<string, string>> refundOrdersMap, 2:i64 returntransactionId) throws (1:TransactionServiceException ex);
|
|
|
2197 |
|
|
|
2198 |
list<ReturnTransaction> getReturnTransactionsForCustomer(1:list<ReturnTransactionStatus> statusList, 2:string customerMobile, 3:string customerEmail, 4:i64 returnTransactionId, 5:i64 customerId) throws (1:TransactionServiceException ex);
|
|
|
2199 |
|
|
|
2200 |
bool verifyOrderForTransaction(1:i64 transactionId) throws (1:TransactionServiceException ex);
|
| 19004 |
manish.sha |
2201 |
|
|
|
2202 |
/**
|
|
|
2203 |
Returns at most 'limit' orders with the given statuses for the given warehouse starting from the given offset.
|
|
|
2204 |
These orders should be in order of promised shipping time.
|
|
|
2205 |
Pass the status as null and the limit as 0 to ignore them.
|
|
|
2206 |
*/
|
|
|
2207 |
list<Order> getOrdersInBatchAsPromisedShipping(1:list<OrderStatus> statuses, 2:i64 offset, 3:i64 limit, 4:i64 warehouse_id, 5:i64 source) throws (1:TransactionServiceException ex),
|
| 19421 |
manish.sha |
2208 |
|
|
|
2209 |
/**
|
|
|
2210 |
* sets attributes for all orders in a Master Order Id or Shipment Id
|
|
|
2211 |
*/
|
|
|
2212 |
void setOrderAttributeForMasterOrderId(1:string logisticsTransactionId, 2:list<Attribute> attributes)
|
|
|
2213 |
|
|
|
2214 |
bool updateMasterOrderAWB(1:string logisticsTransactionId, 2:string airwayBillNo);
|
| 19474 |
manish.sha |
2215 |
|
|
|
2216 |
bool addOrUpdateShipmentLogisticsCostDetails(1:list<ShipmentLogisticsCostDetail> shipmentLogisticsCostDetails)
|
| 19714 |
manish.sha |
2217 |
|
|
|
2218 |
list<Order> getEligibleOrdersForReturn(1:i64 customerId, 2:string itemCondition, 3:bool overrideWarranty)
|
|
|
2219 |
|
|
|
2220 |
list<ReturnOrderInfo> getEligibleReturnOrdersForPickup(1:i64 customerId)
|
| 19735 |
manish.sha |
2221 |
|
|
|
2222 |
bool validateReturnTransaction(1:i64 customerId, 2:map<i64,i64> returnOrdersMap, 3:string itemCondition, 4:bool overrideWarranty)
|
| 19817 |
manish.sha |
2223 |
|
| 20029 |
kshitij.so |
2224 |
list<PendingStoreOrder> getPendingStoreOrders(1:i64 storeId);
|
| 19817 |
manish.sha |
2225 |
|
| 19973 |
amit.gupta |
2226 |
SellerInfo getSellerInfo(1:i64 sellerId);
|
| 20029 |
kshitij.so |
2227 |
|
| 19980 |
amit.gupta |
2228 |
WarehouseAddress getWarehouseAddress(1:i64 address_id);
|
|
|
2229 |
|
| 20030 |
kshitij.so |
2230 |
BuyerInfo getBuyerByWarehouse(1:i64 warehouse_id);
|
|
|
2231 |
|
| 20029 |
kshitij.so |
2232 |
bool markReturnNotRequiredOrdersProcessed(1:ReturnOrderInfo returnOrderInfo) throws (1:TransactionServiceException ex);
|
|
|
2233 |
|
|
|
2234 |
ReturnPickupRequest getReturnPickupRequest(1:i64 returnPickupId);
|
|
|
2235 |
|
|
|
2236 |
ReturnOrderInfo splitReturnOrderInfo(1:i64 returnOrderId, 2:i64 splitOrderQty);
|
|
|
2237 |
|
| 20744 |
kshitij.so |
2238 |
bool deleteReturnOrder(1:i64 returnOrderId);
|
| 20029 |
kshitij.so |
2239 |
|
| 20744 |
kshitij.so |
2240 |
bool refundReturnOrder(1:ReturnOrderInfo returnOrderInfo, 2:list<Attribute> attributes);
|
| 20029 |
kshitij.so |
2241 |
|
| 20744 |
kshitij.so |
2242 |
list<i64> addShipmentDelay(1:list<ShipmentDelayDetail> shipmentDelayDetail);
|
| 20029 |
kshitij.so |
2243 |
|
| 20744 |
kshitij.so |
2244 |
ShipmentLogisticsCostDetail getCostDetailForLogisticsTxnId(1:string logisticsTxnId);
|
|
|
2245 |
|
| 20811 |
kshitij.so |
2246 |
void addShipmentLogisticDetail(1:ShipmentLogisticsCostDetail shipmentLogisticsCostDetail)
|
|
|
2247 |
|
| 20873 |
kshitij.so |
2248 |
i64 createPayment(1:i64 userId, 2:i64 txnId, 3:i32 gatewayId)
|
|
|
2249 |
|
|
|
2250 |
double calculatePaymentAmount(1:i64 txnId)
|
|
|
2251 |
|
| 20954 |
kshitij.so |
2252 |
list<Order> getBilledOrdersForManifestGen(1:i64 warehouse_id, 2:i64 logistics_provider_id, 3:bool cod)
|
|
|
2253 |
|
| 21044 |
kshitij.so |
2254 |
bool registerRsa(1:i64 userId,2:string activation_code)
|
|
|
2255 |
|
| 21090 |
kshitij.so |
2256 |
string addSalesAssociate(1:Pmsa pmsa,2:string referrerEmail, 3:string l1_userEmail)
|
|
|
2257 |
|
|
|
2258 |
list<Pmsa> searchPmsa(1:PmsaSearchFilter pmsaSearchFilter,2:string associateEmail)
|
|
|
2259 |
|
|
|
2260 |
Pmsa getPmsaUser(1:i64 id, 2:string associateEmail);
|
|
|
2261 |
|
|
|
2262 |
string updatePmsaUser(1:Pmsa pmsa, 2:string associateEmail);
|
|
|
2263 |
|
|
|
2264 |
list<Pmsa> getPmsaUsers(1:string associateEmail);
|
|
|
2265 |
|
|
|
2266 |
list<Pmsa> getPendingAssociates(1:string associateEmail)
|
|
|
2267 |
|
|
|
2268 |
list<i64> getStatsForAssociates(1:string associateEmail)
|
| 21092 |
kshitij.so |
2269 |
|
|
|
2270 |
Pmsa getmypmsaprofile(1:string associateEmail)
|
| 21101 |
kshitij.so |
2271 |
|
| 22043 |
amit.gupta |
2272 |
bool creditUserWallet(1:i64 userId, 2:i64 amount, 3:double cash_back, 4:string shortDesc)
|
| 21535 |
kshitij.so |
2273 |
|
|
|
2274 |
list<RechargeOrder> getPaginatedRechargeOrders(1:i64 userId, 2:i32 offset, 3:i32 limit)
|
| 22452 |
amit.gupta |
2275 |
|
|
|
2276 |
bool markOrderForRegisteredGstInvoice(list<i64> tranasction_ids)
|
| 22749 |
amit.gupta |
2277 |
|
| 22754 |
amit.gupta |
2278 |
bool isShipmentCod(1:string logisticsTransactionId)
|
| 23069 |
amit.gupta |
2279 |
|
|
|
2280 |
list<Order> getInTransitOrdersOnDate(1:i64 closingDate);
|
|
|
2281 |
list<Order> getInTransitOrdersOnDateByItemId(1:i64 closingDate, 2:i64 itemId);
|
| 23081 |
amit.gupta |
2282 |
|
|
|
2283 |
bool addPriceDrop(1:i64 item_id, 2:list<string>imeis, 3:double amount, 4:i64 affected_on)
|
| 20029 |
kshitij.so |
2284 |
}
|