예제 #1
0
        public async Task <ClientResponse> UpdateAccountAsync(AccountUpdaterType accountUpdate, string traceNumber = null)
        {
            var item    = accountUpdate.CopyToBase();
            var xmlBody = new Request {
                Item = item
            };
            var url     = Endpoint.Url();
            var request = new ClientRequest
            {
                Request     = xmlBody,
                TraceNumber = traceNumber,
            };

            return(await SendRequestAsync(url, request));
        }
예제 #2
0
 public async Task <ClientResponse> UpdateAccountAsync(AccountUpdaterType accountUpdate, string traceNumber = null)
 {
     return(await _client.UpdateAccountAsync(accountUpdate, traceNumber));
 }
예제 #3
0
 public ClientResponse UpdateAccount(AccountUpdaterType accountUpdate, string traceNumber = null)
 {
     return(_client.UpdateAccount(accountUpdate, traceNumber));
 }
예제 #4
0
 public ClientResponse UpdateAccount(AccountUpdaterType accountUpdate, string traceNumber = null)
 {
     return(UpdateAccountAsync(accountUpdate, traceNumber).GetAwaiter().GetResult());
 }