Subversion Repositories SmartDukaan

Rev

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

Rev 4295 Rev 4303
Line 39... Line 39...
39
	DOA_INVALID_RESHIPPED,
39
	DOA_INVALID_RESHIPPED,
40
	DOA_RESHIPPED,
40
	DOA_RESHIPPED,
41
	SALES_RET_REFUNDED,
41
	SALES_RET_REFUNDED,
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,
-
 
46
	LOW_INV_REVERSAL_IN_PROCESS,
-
 
47
	LOW_INV_NOT_AVAILABLE_AT_HOTSPOT
45
}
48
}
46
 
49
 
47
 
50
 
48
enum TransactionStatus{
51
enum TransactionStatus{
49
	INIT,
52
	INIT,
Line 216... Line 219...
216
    13:bool processedStatus,
219
    13:bool processedStatus,
217
    14:i64 createdAt,
220
    14:i64 createdAt,
218
    15:i64 processedAt
221
    15:i64 processedAt
219
}
222
}
220
 
223
 
-
 
224
enum HotspotAction{
-
 
225
	PO_RAISED,
-
 
226
	REVERSAL_INITIATED,
-
 
227
	NOT_AVAILABLE
-
 
228
}
-
 
229
 
221
exception TransactionServiceException{
230
exception TransactionServiceException{
222
	1:i32 errorCode,
231
	1:i32 errorCode,
223
	2:string message
232
	2:string message
224
}
233
}
225
 
234
 
Line 602... Line 611...
602
	
611
	
603
	/**
612
	/**
604
	Marks the orders as ACCEPTED for the given itemId and inventory. It also updates the accepted timestamp. If the
613
	Marks the orders as ACCEPTED for the given itemId and inventory. It also updates the accepted timestamp. If the
605
	given order is not a COD order, it also captures the payment if the same has not been captured.
614
	given order is not a COD order, it also captures the payment if the same has not been captured.
606
	*/
615
	*/
607
	bool acceptOrdersForItemId(1:i64 itemId, 2:i64 inventory) throws (1:TransactionServiceException ex)
616
	bool acceptOrdersForItemId(1:i64 itemId, 2:i64 inventory) throws (1:TransactionServiceException ex),
-
 
617
	
-
 
618
	void markOrdersAsPORaised(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate) throws (1:TransactionServiceException ex),
-
 
619
	void markOrdersAsReversalInitiated(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate) throws (1:TransactionServiceException ex),
-
 
620
	void markOrdersAsNotAvailabke(1:i64 vendorId, 2:i64 itemId, 3:i64 quantity, 4:i64 estimate) throws (1:TransactionServiceException ex)
-
 
621
	
608
	
622
	
609
	
623
	
610
}
624
}
611
625