Example #1
0
        public async Task <MultiTraderCreditProviderBeginDepositResponse> BeginDepositAsync(MultiTraderCreditProviderBeginDepositRequest request, CancellationToken cancellation)
        {
            var response = new MultiTraderCreditProviderBeginDepositResponse();
            var sr       = await BeginApplyAsync(new MultiTraderCreditProviderBeginApplyRequest
            {
                TraderKey = request.TraderKey,
                UserName  = request.UserName,
                Amount    = request.Amount,
                Info      = request.Info,
                AuditCode = "CRD_BGNDPST"
            }, cancellation);

            response.Copy(sr);

            return(response);
        }
Example #2
0
        // -------------------------- Deposit --------------------------
        public MultiTraderCreditProviderBeginDepositResponse BeginDeposit(MultiTraderCreditProviderBeginDepositRequest request)
        {
            var response = new MultiTraderCreditProviderBeginDepositResponse();
            var sr       = BeginApply(new MultiTraderCreditProviderBeginApplyRequest
            {
                TraderKey = request.TraderKey,
                UserName  = request.UserName,
                Amount    = request.Amount,
                Info      = request.Info,
                AuditCode = "CRD_BGNDPST"
            });

            response.Copy(sr);

            return(response);
        }