Subversion Repositories SmartDukaan

Rev

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

Rev 5527 Rev 5553
Line 84... Line 84...
84
	RET_REFUNDED_RCVD_DAMAGED,
84
	RET_REFUNDED_RCVD_DAMAGED,
85
	RET_RESHIPPED_LOST_IN_TRANSIT,
85
	RET_RESHIPPED_LOST_IN_TRANSIT,
86
	RET_REFUNDED_LOST_IN_TRANSIT,
86
	RET_REFUNDED_LOST_IN_TRANSIT,
87
	LOST_IN_TRANSIT,
87
	LOST_IN_TRANSIT,
88
	LOST_IN_TRANSIT_RESHIPPED,
88
	LOST_IN_TRANSIT_RESHIPPED,
89
	LOST_IN_TRANSIT_REFUNDED
89
	LOST_IN_TRANSIT_REFUNDED,
-
 
90
	DELIVERED_AT_STORE,
-
 
91
	RECEIVED_AT_STORE
90
}
92
}
91
 
93
 
92
enum TransactionStatus{
94
enum TransactionStatus{
93
	INIT,
95
	INIT,
94
	IN_PROCESS,
96
	IN_PROCESS,
Line 224... Line 226...
224
	54:i64 originalOrderId,
226
	54:i64 originalOrderId,
225
	55:i64 fulfilmentWarehouseId,
227
	55:i64 fulfilmentWarehouseId,
226
	56:bool vendorPaid,
228
	56:bool vendorPaid,
227
	57:optional i64 received_return_timestamp,
229
	57:optional i64 received_return_timestamp,
228
	58:optional i64 first_attempt_timestamp,
230
	58:optional i64 first_attempt_timestamp,
229
	59:OrderType orderType
231
	59:OrderType orderType,
-
 
232
	60:i64 pickupStoreId,
-
 
233
	61:bool logisticsCod
-
 
234
	
230
}
235
}
231
 
236
 
232
struct Attribute{
237
struct Attribute{
233
	1:string name,
238
	1:string name,
234
	2:string value
239
	2:string value
Line 643... Line 648...
643
	*/
648
	*/
644
	bool toggleDOAFlag(1:i64 orderId) throws (1:TransactionServiceException ex),
649
	bool toggleDOAFlag(1:i64 orderId) throws (1:TransactionServiceException ex),
645
	
650
	
646
	void markOrderAsDelivered(1:i64 orderId, 2:i64 deliveryTimestamp, string receiver) throws (1:TransactionServiceException ex),
651
	void markOrderAsDelivered(1:i64 orderId, 2:i64 deliveryTimestamp, string receiver) throws (1:TransactionServiceException ex),
647
	
652
	
-
 
653
	void markOrderAsReceivedAtStore(1:i64 orderId, 2:i64 deliveryTimestamp) throws (1:TransactionServiceException ex),
-
 
654
	
648
	/**
655
	/**
649
	 Once user raise the request for a DOA, order status will be changed from DELVIERY_SUCCESS to DOA_REQUEST_RECEIVED 
656
	 Once user raise the request for a DOA, order status will be changed from DELVIERY_SUCCESS to DOA_REQUEST_RECEIVED 
650
	*/
657
	*/
651
	bool markOrderDoaRequestReceived(1:i64 orderId) throws (1:TransactionServiceException ex),
658
	bool markOrderDoaRequestReceived(1:i64 orderId) throws (1:TransactionServiceException ex),
652
	
659
	
Line 974... Line 981...
974
	list<Attribute> getAllAttributesForOrderId(1:i64 orderId),
981
	list<Attribute> getAllAttributesForOrderId(1:i64 orderId),
975
	
982
	
976
	/**
983
	/**
977
	* sets attributes for all orders in a transaction
984
	* sets attributes for all orders in a transaction
978
	*/
985
	*/
979
	void setOrderAttributeForTransaction(1:i64 transactionId, Attribute attribute)
986
	void setOrderAttributeForTransaction(1:i64 transactionId, Attribute attribute),
-
 
987
	
-
 
988
	list<Order> getReceivePendingOrders(1:i64 storeId),
-
 
989
	
-
 
990
	list<Order> getReceivedAtStoreOrders(1:i64 storeId)
980
}
991
}
981
992