HistoryProduct

open class HistoryProduct

Constructors

Link copied to clipboard
open fun HistoryProduct(    title: String,     brands: String,     url: String,     barcode: String,     quantity: String,     nutritionGrade: String,     ecoscore: String,     novaGroup: String)
Link copied to clipboard
open fun HistoryProduct(    id: Long,     title: String,     brands: String,     url: String,     lastSeen: Date,     barcode: String,     quantity: String,     nutritionGrade: String,     ecoscore: String,     novaGroup: String)
Link copied to clipboard
open fun HistoryProduct()

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int

Properties

Link copied to clipboard
open var barcode: String
Link copied to clipboard
open var brands: String
Link copied to clipboard
open var ecoscore: String
Link copied to clipboard
open var id: Long
Link copied to clipboard
open var lastSeen: Date
Link copied to clipboard
open var novaGroup: String
Link copied to clipboard
open var nutritionGrade: String
Link copied to clipboard
open var quantity: String
Link copied to clipboard
open var title: String
Link copied to clipboard
open var url: String

Extensions

Link copied to clipboard
fun HistoryProduct?.getEcoscoreResource(): Int
Link copied to clipboard
fun HistoryProduct?.getNovaGroupResource(): Int
Link copied to clipboard
fun HistoryProduct.getNutriScoreResource(vertical: Boolean = false): Int