public async Task <MultiTraderCreditProviderEndWithdrawResponse> EndWithdrawAsync(MultiTraderCreditProviderEndWithdrawRequest request, CancellationToken cancellation) { var response = new MultiTraderCreditProviderEndWithdrawResponse(); var sr = await EndApplyAsync(new MultiTraderCreditProviderEndApplyRequest { TraderKey = request.TraderKey, TransactionKey = request.TransactionKey, AuditCode = "CRD_ENDWTHDRW" }, cancellation); response.Copy(sr); return(response); }
public MultiTraderCreditProviderEndWithdrawResponse EndWithdraw(MultiTraderCreditProviderEndWithdrawRequest request) { var response = new MultiTraderCreditProviderEndWithdrawResponse(); var sr = EndApply(new MultiTraderCreditProviderEndApplyRequest { TraderKey = request.TraderKey, TransactionKey = request.TransactionKey, AuditCode = "CRD_ENDWTHDRW" }); response.Copy(sr); return(response); }