public virtual Task <Result <Transaction> > RefundAsync(string id, decimal amount) { var request = new TransactionRefundRequest { Amount = amount }; return(RefundAsync(id, request)); }
public virtual async Task <Result <Transaction> > RefundAsync(string id, TransactionRefundRequest refundRequest) { XmlNode response = await service.PostAsync(service.MerchantPath() + "/transactions/" + id + "/refund", refundRequest).ConfigureAwait(false); return(new ResultImpl <Transaction>(new NodeWrapper(response), gateway)); }
public virtual Result <Transaction> Refund(string id, TransactionRefundRequest refundRequest) { XmlNode response = service.Post(service.MerchantPath() + "/transactions/" + id + "/refund", refundRequest); return(new ResultImpl <Transaction>(new NodeWrapper(response), gateway)); }
public virtual Result<Transaction> Refund(string id, decimal amount) { var request = new TransactionRefundRequest { Amount = amount }; return Refund(id, request); }
public virtual Result<Transaction> Refund(string id, TransactionRefundRequest refundRequest) { XmlNode response = service.Post(service.MerchantPath() + "/transactions/" + id + "/refund", refundRequest); return new ResultImpl<Transaction>(new NodeWrapper(response), gateway); }