Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="amount"></param>
        /// <param name="bankAccountHolder"></param>
        /// <param name="bankAccountNumber"></param>
        /// <param name="bankAccountBic"></param>
        /// <returns></returns>
        public API.Banktransfer.Add.Response Add(int amount, string bankAccountHolder, string bankAccountNumber, string bankAccountBic)
        {
            var request = new API.Banktransfer.Add.Request(amount, bankAccountHolder, bankAccountNumber, bankAccountBic);

            _webClient.PerformRequest(request);
            return(request.Response);
        }
Ejemplo n.º 2
0
 public static API.Banktransfer.Add.Response Add(int amount, string bankAccountHolder, string bankAccountNumber, string bankAccountBic)
 {
     Client c = new Client("", "");
     var request = new API.Banktransfer.Add.Request(amount, bankAccountHolder, bankAccountNumber, bankAccountBic);
     c.PerformRequest(request);
     return request.Response;
 }
Ejemplo n.º 3
0
        public async Task <API.Banktransfer.Add.Response> AddAsync(int amount, string bankAccountHolder, string bankAccountNumber, string bankAccountBic)
        {
            var request = new API.Banktransfer.Add.Request(amount, bankAccountHolder, bankAccountNumber, bankAccountBic);
            await ClientService.PerformPostRequestAsync(request);

            return(request.Response);
        }
Ejemplo n.º 4
0
        static public API.Banktransfer.Add.Response Add(int amount, string bankAccountHolder, string bankAccountNumber, string bankAccountBic)
        {
            Client c       = new Client("", "");
            var    request = new API.Banktransfer.Add.Request(amount, bankAccountHolder, bankAccountNumber, bankAccountBic);

            c.PerformRequest(request);
            return(request.Response);
        }
Ejemplo n.º 5
0
        public async Task <API.Banktransfer.Add.Response> AddAsync(API.Banktransfer.Add.Request request)
        {
            await ClientService.PerformPostRequestAsync(request);

            return(request.Response);
        }
Ejemplo n.º 6
0
        static public API.Banktransfer.Add.Response Add(IClient client, API.Banktransfer.Add.Request request)
        {
            client.PerformRequest(request);

            return(request.Response);
        }