vnorder / com.venuenext.vnorder.orders.data / PaymentDao

PaymentDao

interface PaymentDao

PaymentDao VenueNext

Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Functions

count

abstract fun count(): Int

deletePayment

abstract fun deletePayment(payment: Payment): Unit
abstract fun deletePayment(paymentUUID: String): Unit

deletePayments

abstract fun deletePayments(payments: List<Payment>): Unit

getPayments

abstract fun getPayments(cartUUID: String): LiveData<List<Payment>>

insertPayment

abstract fun insertPayment(payment: Payment): Unit

insertPayments

abstract fun insertPayments(payment: List<Payment>): Unit