OfflineProductRepository

@Singleton
class OfflineProductRepository @Inject constructor(    context: Context,     daoSession: <Error class: unknown class>,     installationService: InstallationService,     api: ProductsAPI)

Constructors

Link copied to clipboard
@Inject
fun OfflineProductRepository(    context: Context,     daoSession: <Error class: unknown class>,     installationService: InstallationService,     api: ProductsAPI)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun getOfflineProductByBarcode(barcode: String): OfflineSavedProduct?
inline fun getOfflineProductByBarcode(barcode: Barcode): OfflineSavedProduct?
Link copied to clipboard
suspend fun uploadAll(includeImages: Boolean): Boolean