ProductImage

data class ProductImage(    val barcode: Barcode,     val field: ProductImageField,     val language: String?,     val bytes: ByteArray,     val filePath: String? = null)

Constructors

Link copied to clipboard
fun ProductImage(    code: String,     field: ProductImageField,     imageFile: File,     language: String?)
Link copied to clipboard
fun ProductImage(    code: String,     field: ProductImageField,     imageUri: Uri,     language: String?,     context: Context)
Link copied to clipboard
fun ProductImage(    barcode: Barcode,     field: ProductImageField,     language: String?,     bytes: ByteArray,     filePath: String? = null)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun getBarcodeBody(): RequestBody
Link copied to clipboard
fun getFieldBody(): RequestBody
Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard
val barcode: Barcode
Link copied to clipboard
val bytes: ByteArray
Link copied to clipboard
val field: ProductImageField
Link copied to clipboard
val filePath: String? = null
Link copied to clipboard
val language: String?