class MerchantRepository
MerchantRepository VenueNext
Created on 7/25/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
MerchantRepository VenueNext MerchantRepository(context: Context) |
context |
var context: Context |
merchantDao |
val merchantDao: MerchantDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteAllMerchants |
fun deleteAllMerchants(): Deferred<Unit> |
deleteMerchant |
fun deleteMerchant(merchantUUID: String): Deferred<Unit> |
getMerchant |
fun getMerchant(merchantUUID: String): Deferred<Merchant> |
insertMerchant |
fun insertMerchant(merchant: Merchant): Deferred<Unit> |
insertMerchants |
fun insertMerchants(merchants: List<Merchant>): Deferred<Unit> |