package com.google.sps.data;

public class SearchObject {
  public String product;

  /**
  * Creates a new Search Object
  * @param product user inputted product
  * @return Search object
  **/

  public SearchObject(String product) {
    this.product = product;
  }
} 
Write search object class