class RichCheckoutViewModel : AndroidViewModel, BaseCoroutineScope
<init> |
RichCheckoutViewModel(application: Application) |
orderLiveData |
val orderLiveData: LiveData<Order> |
init |
fun init(context: Context, qrCode: String, orderNumber: String, virtualCurrencyPaymentEnabled: Boolean, isSeasonTicketHolder: Boolean): Unit |
onCleared |
fun onCleared(): Unit |
onPaymentCancel |
fun onPaymentCancel(): Unit |
onPaymentResult |
fun onPaymentResult(paymentResult: PaymentResult): Unit |
onPromoCodeEntered |
fun onPromoCodeEntered(promoCode: String): Unit |
placeOrder |
fun placeOrder(): Unit |
setVCSwitch |
fun setVCSwitch(checked: Boolean): Unit |