ProductIngredient

data class ProductIngredient(    val text: String? = null,     val id: String,     val rank: Long = -1,     val percent: String? = null,     val percentEstimate: Float? = null,     val percentMin: Float? = null,     val percentMax: Float? = null,     val vegan: String? = null,     val vegetarian: String? = null,     val hasSubIngredients: String? = null) : Serializable

Represents an ingredient of the product

Constructors

Link copied to clipboard
fun ProductIngredient(    text: String? = null,     id: String,     rank: Long = -1,     percent: String? = null,     percentEstimate: Float? = null,     percentMin: Float? = null,     percentMax: Float? = null,     vegan: String? = null,     vegetarian: String? = null,     hasSubIngredients: String? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun setAdditionalProperty(name: String, value: Any)

Properties

Link copied to clipboard
val additionalProperties: HashMap<String, Any>
Link copied to clipboard
val hasSubIngredients: String? = null
Link copied to clipboard
val id: String
Link copied to clipboard
val percent: String? = null
Link copied to clipboard
val percentEstimate: Float? = null
Link copied to clipboard
val percentMax: Float? = null
Link copied to clipboard
val percentMin: Float? = null
Link copied to clipboard
val rank: Long
Link copied to clipboard
val text: String? = null
Link copied to clipboard
val vegan: String? = null
Link copied to clipboard
val vegetarian: String? = null