vnorderui / com.venuenext.vnorderui.orders / CheckoutViewModel / getPaymentMethod

getPaymentMethod

suspend fun getPaymentMethod(forceRefresh: Boolean = false): PaymentMethod?

Gets the primary payment method

Parameters

forceRefresh - If true, fetches from the server before storing in the cache.