Subversion Repositories SmartDukaan

Rev

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

Rev 4486 Rev 4488
Line 62... Line 62...
62
	RTO_LOST_IN_TRANSIT,
62
	RTO_LOST_IN_TRANSIT,
63
	RTO_DAMAGED_RESHIPPED,
63
	RTO_DAMAGED_RESHIPPED,
64
	RTO_DAMAGED_REFUNDED,
64
	RTO_DAMAGED_REFUNDED,
65
	RTO_LOST_IN_TRANSIT_RESHIPPED,
65
	RTO_LOST_IN_TRANSIT_RESHIPPED,
66
	RTO_LOST_IN_TRANSIT_REFUNDED,
66
	RTO_LOST_IN_TRANSIT_REFUNDED,
67
	RTO_INVENTORY_REVERSED
67
	RTO_INVENTORY_REVERSED,
-
 
68
	RET_REQUEST_RECEIVED,
-
 
69
	RET_REQUEST_AUTHORIZED,
-
 
70
	RET_PICKUP_REQUEST_RAISED,
-
 
71
	RET_PICKUP_DENIED,
-
 
72
	RET_PICKUP_CONFIRMED,
-
 
73
	RET_RETURN_IN_TRANSIT,
-
 
74
	RET_RECEIVED_PRESTINE,
-
 
75
	RET_RECEIVED_DAMAGED,
-
 
76
	RET_LOST_IN_TRANSIT,
-
 
77
	RET_PRODUCT_USABLE,
-
 
78
	RET_PRODUCT_UNUSABLE,
-
 
79
	RET_PRODUCT_USABLE_RESHIPPED,
-
 
80
	RET_PRODUCT_USABLE_REFUNDED,
-
 
81
	RET_PRODUCT_UNUSABLE_RESHIPPED,
-
 
82
	RET_PRODUCT_UNUSABLE_REFUNDED,
-
 
83
	RET_RESHIPPED_RCVD_DAMAGED,
-
 
84
	RET_REFUNDED_RCVD_DAMAGED,
-
 
85
	RET_RESHIPPED_LOST_IN_TRANSIT,
-
 
86
	RET_REFUNDED_LOST_IN_TRANSIT
68
}
87
}
69
 
88
 
70
 
89
 
71
enum TransactionStatus{
90
enum TransactionStatus{
72
	INIT,
91
	INIT,
Line 464... Line 483...
464
	 to DOA_REQUEST_AUTHORIZED. If he denies, status will be changed back to DELVIERY_SUCCESS. 
483
	 to DOA_REQUEST_AUTHORIZED. If he denies, status will be changed back to DELVIERY_SUCCESS. 
465
	*/
484
	*/
466
	bool markOrderDoaRequestAuthorized(1:i64 orderId, 2:bool isAuthorized) throws (1:TransactionServiceException ex),
485
	bool markOrderDoaRequestAuthorized(1:i64 orderId, 2:bool isAuthorized) throws (1:TransactionServiceException ex),
467
	
486
	
468
	/**
487
	/**
-
 
488
	 Once user raise the request for a RET, order status will be changed from DELVIERY_SUCCESS to RET_REQUEST_RECEIVED 
-
 
489
	*/
-
 
490
	bool markOrderReturnRequestReceived(1:i64 orderId) throws (1:TransactionServiceException ex),
-
 
491
	
-
 
492
	/**
-
 
493
	 CRM person can authorize or deny the request reised by customer. If he authorizes order will change from RET_REQUEST_RECEIVED 
-
 
494
	 to RET_REQUEST_AUTHORIZED. If he denies, status will be changed back to DELVIERY_SUCCESS. 
-
 
495
	*/
-
 
496
	bool markOrderReturnRequestAuthorized(1:i64 orderId, 2:bool isAuthorized) throws (1:TransactionServiceException ex),
-
 
497
 
-
 
498
	/**
469
	Sends out an email to the account manager of the original courier provider used to ship the order.
499
	Sends out an email to the account manager of the original courier provider used to ship the order.
470
	If the order status was DELIVERY_SUCCESS, it is changed to be DOA_PICKUP_REQUEST_RAISED.
500
	If the order status was DELIVERY_SUCCESS, it is changed to be DOA_PICKUP_REQUEST_RAISED.
471
	If the order status was DOA_PICKUP_REQUEST_RAISED, it is left unchanged.
501
	If the order status was DOA_PICKUP_REQUEST_RAISED, it is left unchanged.
472
	For any other status, it returns false.
502
	For any other status, it returns false.
473
	Throws an exception if the order with the given id couldn't be found.
503
	Throws an exception if the order with the given id couldn't be found.