Class ItemResponse

java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.ItemResponse

@Generated("jsonschema2pojo") public class ItemResponse extends Object
Item Response

  • Constructor Details

    • ItemResponse

      public ItemResponse()
  • Method Details

    • getId

      public String getId()
      Should be recognized by both the Platform, and the Business. For Google it should match the id provided in the "id" field in the product feed. (Required)
    • setId

      public void setId(String id)
      Should be recognized by both the Platform, and the Business. For Google it should match the id provided in the "id" field in the product feed. (Required)
    • withId

      public ItemResponse withId(String id)
    • getTitle

      public String getTitle()
      Product title. (Required)
    • setTitle

      public void setTitle(String title)
      Product title. (Required)
    • withTitle

      public ItemResponse withTitle(String title)
    • getPrice

      public Integer getPrice()
      Unit price in minor (cents) currency units. (Required)
    • setPrice

      public void setPrice(Integer price)
      Unit price in minor (cents) currency units. (Required)
    • withPrice

      public ItemResponse withPrice(Integer price)
    • getImageUrl

      public URI getImageUrl()
      Product image URI.
    • setImageUrl

      public void setImageUrl(URI imageUrl)
      Product image URI.
    • withImageUrl

      public ItemResponse withImageUrl(URI imageUrl)
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • withAdditionalProperty

      public ItemResponse withAdditionalProperty(String name, Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object