vnwalletui / com.venuenext.vnwalletui.view / State

State

data class State

Constructors

<init>

State(qrViewState: QrViewState = QrViewState.Loading, isVirtualCurrencyToggleChecked: Boolean = false, isVirtualCurrencyToggleVisible: Boolean = VNWalletUI.isVirtualCurrencyToggleVisible, virtualCurrencyName: String = VenueNext.config?.walletConfig?.virtualCurrencyName ?: VenueNext.walletInterface?.virtualCurrencyName ?: "", ticketingAccount: TicketingAccount? = null, loyaltyUser: LoyaltyUser? = null, awardsRules: List<AwardsRule> = emptyList(), paymentMethod: PaymentMethod? = null, actionBarTitle: String = VenueNext.config?.walletConfig?.walletTitle ?: VNWalletUI.integratorActionBarTitle ?: VenueNext.walletInterface?.virtualCurrencyName ?: "", isCameraSurfaceReady: Boolean = true)

Properties

actionBarTitle

val actionBarTitle: String

awardsRules

val awardsRules: List<AwardsRule>

isCameraSurfaceReady

val isCameraSurfaceReady: Boolean

isVirtualCurrencyToggleChecked

val isVirtualCurrencyToggleChecked: Boolean

isVirtualCurrencyToggleVisible

val isVirtualCurrencyToggleVisible: Boolean

loyaltyUser

val loyaltyUser: LoyaltyUser?

paymentMethod

val paymentMethod: PaymentMethod?

qrViewState

val qrViewState: QrViewState

ticketingAccount

val ticketingAccount: TicketingAccount?

virtualCurrencyName

val virtualCurrencyName: String

Extension Properties

hasCreditCard

val State.hasCreditCard: Boolean

isCameraPermissionGranted

val State.isCameraPermissionGranted: Boolean?

isVirtualCurrencyEnabled

val State.isVirtualCurrencyEnabled: Boolean

Extension Functions

setQrViewStateCameraActive

fun State.setQrViewStateCameraActive(isCameraActive: Boolean): QrViewState