* @throws RemoteException
* @throws ServiceException
* @throws SOAPException
*/
public static final RefundTransactionResponseType refundTransaction(String _txnId, String _amount, String _currency, String _memo, String _type, APICredential _credentials) throws RemoteException {
RefundTransactionRequestType request = new RefundTransactionRequestType();
request.setVersion(CURRENT_VERSION);
BasicAmountType amount = new BasicAmountType(_amount);
amount.setCurrencyID(CurrencyCodeType.fromString(_currency));
request.setAmount(amount);
request.setMemo(_memo);
request.setRefundType(RefundPurposeTypeCodeType.fromString(_type));
request.setTransactionID(_txnId);
return refundTransaction(request, _credentials);
}