class PaymentRepository
PaymentRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
PaymentRepository VenueNext PaymentRepository(context: Context) |
context |
var context: Context |
paymentDao |
val paymentDao: PaymentDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deletePayment |
fun deletePayment(paymentUUID: String): Deferred<Unit> |
getPayments |
fun getPayments(cartUUID: String): LiveData<List<Payment>> |
insertPayment |
fun insertPayment(payment: Payment): Deferred<Unit> |
insertPayments |
fun insertPayments(payments: List<Payment>): Deferred<Unit> |