Subversion Repositories SmartDukaan

Rev

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

Rev 4283 Rev 4285
Line 584... Line 584...
584
	
584
	
585
	/**
585
	/**
586
	 * If we and/or payment gateway has decided to accept the payment, this method needs to be called.
586
	 * If we and/or payment gateway has decided to accept the payment, this method needs to be called.
587
	 * Changed transaction and all orders status to payment accepted.  
587
	 * Changed transaction and all orders status to payment accepted.  
588
	 */
588
	 */
589
	void markTransactionAsPaymentFlagRemoved(1:i64 transactionId) throws (1:TransactionServiceException ex)
589
	void markTransactionAsPaymentFlagRemoved(1:i64 transactionId) throws (1:TransactionServiceException ex),
590
	
590
	
591
	/**
591
	/**
592
	* This method is called when a flagged payment is deemed unserviceable and the corresponding orders
592
	* This method is called when a flagged payment is deemed unserviceable and the corresponding orders
593
	* need to be cancelled
593
	* need to be cancelled
594
	*/
594
	*/
595
	void refundTransaction(1:i64 transactionId, 2:string refundedBy, 3:string reason) throws (1:TransactionServiceException ex)
595
	void refundTransaction(1:i64 transactionId, 2:string refundedBy, 3:string reason) throws (1:TransactionServiceException ex),
-
 
596
	
-
 
597
	/**
-
 
598
	Marks the orders as ACCEPTED for the given itemId and inventory. It also updates the accepted timestamp. If the
-
 
599
	given order is not a COD order, it also captures the payment if the same has not been captured.
-
 
600
	*/
-
 
601
	bool acceptOrdersForItemId(1:i64 itemId, 2:i64 inventory) throws (1:TransactionServiceException ex)
-
 
602
	
-
 
603
	
596
}
604
}
597
605