class Product {
  private Long id;
  private String name;
  private Double price;
  private Double cost;
  private String supplier;

  @Override
  public String toString() {<FILL_FUNCTION_BODY>}
}

    return "Product{"
            + "id=" + id
            + ", name='" + name + '\''
            + ", price=" + price
            + ", cost=" + cost
            + ", supplier='" + supplier + '\''
            + '}';
  
<no_super_class>