public PagarMeRequest BuildFindQuery(TModel searchParameters) { var request = new PagarMeRequest(_service, "GET", _endpointPrefix + _endpoint); var keys = searchParameters.ToDictionary(SerializationType.Plain); request.Query = searchParameters.BuildQueryForKeys(null, keys); return(request); }
public async Task ExecuteSelfRequestAsync(PagarMeRequest request) { LoadFrom((await request.ExecuteAsync()).Body); }
public void ExecuteSelfRequest(PagarMeRequest request) { LoadFrom(request.Execute().Body); }
public async Task ExecuteSelfRequestAsync(PagarMeRequest request) { LoadFrom((await request.ExecuteAsync()).Body); }
public void ExecuteSelfRequest(PagarMeRequest request) { LoadFrom(request.Execute().Body); }