private static double parsePriceValue(@NotNull Map<String, Object> jsonObject, @NotNull String key) {
    Object value = jsonObject.get(key);
    if (value instanceof Double) {
      return (double)value;
    }
    if (value instanceof String) {
      try {
        return Double.parseDouble((String)value);
      }
      catch (NumberFormatException ignore) {
      }
    }
    return 0;
  }
private static double parsePriceValue(@NotNull Map<String, Object> jsonObject, @NotNull String key)