vnorder / com.venuenext.vnorder.experience.util / getSalePriceForDisplay

getSalePriceForDisplay

fun Variant.getSalePriceForDisplay(isSeasonTicketHolder: Boolean, isPreferredCardHolder: Boolean): Double

Gets the price based on the sales group/exclusivity.

If the user is neither a season ticket holder or a preferred card holder then the price is derived from the "all" sales group if it exists, otherwise this will fallback to whichever restriction has a higher priority.

Parameters

isSeasonTicketHolder -

isPreferredCardHolder -