public async Task <List <ShopperHistory> > GetShopperHistoryAsync()
        {
            using var responseMessage =
                      await _httpClient.GetAsync($"shopperHistory?token={_productServiceConfig.Token}");

            try
            {
                var stream = await responseMessage.Content.ReadAsStreamAsync();

                responseMessage.EnsureSuccessStatusCode();
                var serializerOptions = JsonSerializerExtensions.GetDefaultJsonSerializerOptions();
                return(await JsonSerializer.DeserializeAsync <List <ShopperHistory> >(stream,
                                                                                      serializerOptions));
            }
            catch (Exception ex)
            {
                _logger.LogError(ex, "ProductServiceException.GetShopperHistoryAsync");
                throw new ProductServiceException(
                          $"ProductServiceException.GetShopperHistoryAsync {ex.Message} {responseMessage.StatusCode}");
            }
        }
        public async Task <decimal> GetTrollyTotalAsync(TrolleyTotalRequest request)
        {
            HttpContent httpContent = new StringContent(JsonSerializer.Serialize(request),
                                                        Encoding.UTF8, MediaTypeNames.Application.Json);

            using var responseMessage =
                      await _httpClient.PostAsync(
                          $"trolleyCalculator?token={_productServiceConfig.Token}", httpContent);

            try
            {
                var response = await responseMessage.Content.ReadAsStreamAsync();

                responseMessage.EnsureSuccessStatusCode();
                var serializerOptions = JsonSerializerExtensions.GetDefaultJsonSerializerOptions();
                return(await JsonSerializer.DeserializeAsync <decimal>(response, serializerOptions));
            }
            catch (Exception ex)
            {
                _logger.LogError(ex, "ProductServiceException.GetTrollyTotalAsync");
                throw new ProductServiceException(
                          $"ProductServiceException, {ex.Message} {responseMessage.StatusCode}");
            }
        }