Class ItemResponse
java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.ItemResponse
Item Response
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Should be recognized by both the Platform, and the Business.Product image URI.getPrice()Unit price in minor (cents) currency units.getTitle()Product title.inthashCode()voidsetAdditionalProperty(String name, Object value) voidShould be recognized by both the Platform, and the Business.voidsetImageUrl(URI imageUrl) Product image URI.voidUnit price in minor (cents) currency units.voidProduct title.toString()withAdditionalProperty(String name, Object value) withImageUrl(URI imageUrl)
-
Constructor Details
-
ItemResponse
public ItemResponse()
-
-
Method Details
-
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
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
-
getTitle
Product title. (Required) -
setTitle
Product title. (Required) -
withTitle
-
getPrice
Unit price in minor (cents) currency units. (Required) -
setPrice
Unit price in minor (cents) currency units. (Required) -
withPrice
-
getImageUrl
Product image URI. -
setImageUrl
Product image URI. -
withImageUrl
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-