Subversion Repositories SmartDukaan

Rev

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

Rev 4324 Rev 4369
Line 42... Line 42...
42
	DOA_VALID_REFUNDED,
42
	DOA_VALID_REFUNDED,
43
	DOA_INVALID_REFUNDED,
43
	DOA_INVALID_REFUNDED,
44
	REFUNDED,
44
	REFUNDED,
45
	LOW_INV_PO_RAISED,
45
	LOW_INV_PO_RAISED,
46
	LOW_INV_REVERSAL_IN_PROCESS,
46
	LOW_INV_REVERSAL_IN_PROCESS,
47
	LOW_INV_NOT_AVAILABLE_AT_HOTSPOT
47
	LOW_INV_NOT_AVAILABLE_AT_HOTSPOT,
-
 
48
	LOW_INV_PO_RAISED_TIMEOUT,
-
 
49
	LOW_INV_REVERSAL_TIMEOUT
48
}
50
}
49
 
51
 
50
 
52
 
51
enum TransactionStatus{
53
enum TransactionStatus{
52
	INIT,
54
	INIT,
Line 225... Line 227...
225
	PO_RAISED,
227
	PO_RAISED,
226
	REVERSAL_INITIATED,
228
	REVERSAL_INITIATED,
227
	NOT_AVAILABLE
229
	NOT_AVAILABLE
228
}
230
}
229
 
231
 
-
 
232
struct TimeoutSummary{
-
 
233
	1:i32 poRaised,
-
 
234
	2:i32 poEstimate
-
 
235
	3:i32 reversalInitiated,
-
 
236
	4:i32 reversalEstimate
-
 
237
}
-
 
238
 
230
exception TransactionServiceException{
239
exception TransactionServiceException{
231
	1:i32 errorCode,
240
	1:i32 errorCode,
232
	2:string message
241
	2:string message
233
}
242
}
234
 
243
 
Line 623... Line 632...
623
	Marks the orders as ACCEPTED for the given itemId and inventory. It also updates the accepted timestamp. If the
632
	Marks the orders as ACCEPTED for the given itemId and inventory. It also updates the accepted timestamp. If the
624
	given order is not a COD order, it also captures the payment if the same has not been captured.
633
	given order is not a COD order, it also captures the payment if the same has not been captured.
625
	*/
634
	*/
626
	bool acceptOrdersForItemId(1:i64 itemId, 2:i64 inventory) throws (1:TransactionServiceException ex),
635
	bool acceptOrdersForItemId(1:i64 itemId, 2:i64 inventory) throws (1:TransactionServiceException ex),
627
	
636
	
628
	void markOrdersAsPORaised(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate) throws (1:TransactionServiceException ex),
637
	void markOrdersAsPORaised(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate, 5:bool isReminder) throws (1:TransactionServiceException ex),
629
	void markOrdersAsReversalInitiated(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate) throws (1:TransactionServiceException ex),
638
	void markOrdersAsReversalInitiated(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate, 5:bool isReminder) throws (1:TransactionServiceException ex),
630
	void markOrdersAsNotAvailabke(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate) throws (1:TransactionServiceException ex)
639
	void markOrdersAsNotAvailabke(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate, 5:bool isReminder) throws (1:TransactionServiceException ex),
-
 
640
	
-
 
641
	map<i32, TimeoutSummary> markOrdersAsTimeout(1:i64 vendorId) throws (1:TransactionServiceException ex)
-
 
642
	
-
 
643
 
631
}
644
}
632
645