findByCode

open fun findByCode(scannedCode: ScannedCode): Product

Find a product via its scannable code.

Return

The first product containing the given EAN, otherwise null if no product was found.

Parameters

scannedCode

A valid scannedCode code.