Subversion Repositories SmartDukaan

Rev

Rev 13148 | Rev 13478 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13148 Rev 13276
Line 1175... Line 1175...
1175
	If the order status is DOA_PICKUP_CONFIRMED or DOA_RETURN_IN_TRANSIT, marks the order status as DOA_RECEIVED_PRESTINE and returns true.
1175
	If the order status is DOA_PICKUP_CONFIRMED or DOA_RETURN_IN_TRANSIT, marks the order status as DOA_RECEIVED_PRESTINE and returns true.
1176
	If the order status is RTO_IN_TRANSIT, marks the order status as RTO_RECEIVED_PRESTINE and returns true.
1176
	If the order status is RTO_IN_TRANSIT, marks the order status as RTO_RECEIVED_PRESTINE and returns true.
1177
	If the order is in any other state, it returns false.
1177
	If the order is in any other state, it returns false.
1178
	Throws an exception if the order with the given id couldn't be found.
1178
	Throws an exception if the order with the given id couldn't be found.
1179
	*/
1179
	*/
1180
	bool receiveReturn(1:i64 orderId, 2:i64 receiveCondition, 3:bool receiveFreebie) throws (1:TransactionServiceException ex),
1180
	bool receiveReturn(1:i64 orderId, 2:i64 receiveCondition, 3:bool receiveFreebie, 4:string serialNumbers) throws (1:TransactionServiceException ex),
1181
	
1181
	
1182
	/**
1182
	/**
1183
	Used to validate the DOA certificate for an order in the DOA_RECEIVED_PRESTINE state. If the certificate is valid,
1183
	Used to validate the DOA certificate for an order in the DOA_RECEIVED_PRESTINE state. If the certificate is valid,
1184
	the order state is changed to DOA_CERT_VALID. If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
1184
	the order state is changed to DOA_CERT_VALID. If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
1185
	If the order is in any other state, it returns false.
1185
	If the order is in any other state, it returns false.
Line 1371... Line 1371...
1371
	bool markOrderAsLostInTransit(1:i64 orderId) throws (1:TransactionServiceException ex),
1371
	bool markOrderAsLostInTransit(1:i64 orderId) throws (1:TransactionServiceException ex),
1372
		
1372
		
1373
	/**
1373
	/**
1374
	Returns the order corresponding to an AWB number
1374
	Returns the order corresponding to an AWB number
1375
	*/
1375
	*/
1376
	Order getOrderForAwb(1:string awb) throws (1:TransactionServiceException ex),
1376
	list<Order> getOrderForAwb(1:string awb) throws (1:TransactionServiceException ex),
1377
	
1377
	
1378
	/**
1378
	/**
1379
	Returns the order corresponding to a logistics provider id for a given list of order status
1379
	Returns the order corresponding to a logistics provider id for a given list of order status
1380
	*/
1380
	*/
1381
	list<Order> getOrdersForProviderForStatus(1:i64 logistics_provider_id, 2:list<OrderStatus> order_status_list) throws (1:TransactionServiceException ex)
1381
	list<Order> getOrdersForProviderForStatus(1:i64 logistics_provider_id, 2:list<OrderStatus> order_status_list) throws (1:TransactionServiceException ex)
Line 1640... Line 1640...
1640
     
1640
     
1641
     void updateFlipkartOrderDatesAndAWB(1:string flipkartOrderId,2:string flipkartSubOrderId,3:i64 date,4:string awb)
1641
     void updateFlipkartOrderDatesAndAWB(1:string flipkartOrderId,2:string flipkartSubOrderId,3:i64 date,4:string awb)
1642
     
1642
     
1643
     map<i64,i64> getOrdersCreatedAfterTimestampForSource(1:i64 timestamp,2:i64 source)
1643
     map<i64,i64> getOrdersCreatedAfterTimestampForSource(1:i64 timestamp,2:i64 source)
1644
     
1644
     
1645
     Order getOrderForAirwayBillNo(1:string airwaybillNo) throws (1:TransactionServiceException ex)
1645
     list<Order> getOrderForAirwayBillNo(1:string airwaybillNo) throws (1:TransactionServiceException ex)
1646
 
1646
 
1647
	 i64 getMinCreatedTimeStampUndeliveredOrdersForSource(1:i32 source)
1647
	 i64 getMinCreatedTimeStampUndeliveredOrdersForSource(1:i32 source)
1648
	 
1648
	 
1649
	 void updateSnapdealOrdersStatus(1:map<string, list<list<string>>> orders)  throws (1:TransactionServiceException ex)
1649
	 void updateSnapdealOrdersStatus(1:map<string, list<list<string>>> orders)  throws (1:TransactionServiceException ex)
1650
	 
1650
	 
Line 1690... Line 1690...
1690
	 
1690
	 
1691
	 bool acceptPackageOrders(list<i64> orders) throws (1:TransactionServiceException ex)
1691
	 bool acceptPackageOrders(list<i64> orders) throws (1:TransactionServiceException ex)
1692
	 
1692
	 
1693
	 list<Order> getGroupOrdersByLogisticsTxnId(1:string logisticsTxnId) throws (1:TransactionServiceException ex)
1693
	 list<Order> getGroupOrdersByLogisticsTxnId(1:string logisticsTxnId) throws (1:TransactionServiceException ex)
1694
	 
1694
	 
1695
	 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) throws (1:TransactionServiceException ex)
1695
	 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)
-
 
1696
	 
-
 
1697
	 string getInvoiceFormatLogisticsTxnId(1:i64 transactionId, 2:i64 shipementSeq) throws (1:TransactionServiceException ex)
1696
}
1698
}
1697
1699