SearchProduct

open class SearchProduct : Serializable

Constructors

Link copied to clipboard
fun SearchProduct()

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 barcode: Barcode
Link copied to clipboard
var brands: String? = null

A string containing the brands, comma separated

Link copied to clipboard
lateinit var code: String
Link copied to clipboard
val ecoscore: String? = null
Link copied to clipboard
val imageIngredientsUrl: String? = null
Link copied to clipboard
val imageNutritionUrl: String? = null
Link copied to clipboard
val imagePackagingUrl: String? = null
Link copied to clipboard
val imageSmallUrl: String? = null
Link copied to clipboard
var imageUrl: String? = null
Link copied to clipboard
val novaGroups: String? = null
Link copied to clipboard
val nutritionGradeFr: String? = null
Link copied to clipboard
val productName: String? = null

Get the default product name.

Link copied to clipboard
val quantity: String? = null
Link copied to clipboard
val selectedImages: Map<String, Map<String, Map<String, String>>>? = null

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
fun SearchProduct?.getEcoscoreResource(): Int
Link copied to clipboard
fun SearchProduct.getFrontImageUrl(languageCode: String?): String?
Link copied to clipboard
fun SearchProduct.getIngredientsImageUrl(languageCode: String?): String?
Link copied to clipboard
fun SearchProduct?.getNovaGroupResource(): Int

Returns the NOVA group graphic asset given the group

Link copied to clipboard
fun SearchProduct?.getNutriScoreResource(vertical: Boolean = false): Int
Link copied to clipboard
fun SearchProduct.getPackagingImageUrl(languageCode: String?): String?
Link copied to clipboard
fun SearchProduct.getProductBrandsQuantityDetails(): String
Link copied to clipboard
fun SearchProduct.getSelectedImageUrl(    languageCode: String?,     type: ProductImageField,     size: ImageSize): String?
Link copied to clipboard
fun SearchProduct.getSmallFrontImageUrl(languageCode: String?): String?