コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }