Class RecurrentPaymentFlowViewModel
-
- All Implemented Interfaces:
public final class RecurrentPaymentFlowViewModel extends ViewModel
s.y.biryukov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRecurrentPaymentFlowViewModel.Statepublic interfaceRecurrentPaymentFlowViewModel.Commandpublic interfaceRecurrentPaymentFlowViewModel.Eventpublic interfaceRecurrentPaymentFlowViewModel.Result
-
Field Summary
Fields Modifier and Type Field Description private final SharedFlow<RecurrentPaymentFlowViewModel.Command>commandFlowprivate final MutableStateFlow<RecurrentPaymentFlowViewModel.State>stateFlowprivate final PaymentOptionspaymentOptionsprivate final Cardcard
-
Constructor Summary
Constructors Constructor Description RecurrentPaymentFlowViewModel(SavedStateHandle savedStateHandle)
-
Method Summary
Modifier and Type Method Description final SharedFlow<RecurrentPaymentFlowViewModel.Command>getCommandFlow()final MutableStateFlow<RecurrentPaymentFlowViewModel.State>getStateFlow()final PaymentOptionsgetPaymentOptions()final CardgetCard()final UnithandleEvent(RecurrentPaymentFlowViewModel.Event event)-
-
Constructor Detail
-
RecurrentPaymentFlowViewModel
RecurrentPaymentFlowViewModel(SavedStateHandle savedStateHandle)
-
-
Method Detail
-
getCommandFlow
final SharedFlow<RecurrentPaymentFlowViewModel.Command> getCommandFlow()
-
getStateFlow
final MutableStateFlow<RecurrentPaymentFlowViewModel.State> getStateFlow()
-
getPaymentOptions
final PaymentOptions getPaymentOptions()
-
getCard
final Card getCard()
-
handleEvent
final Unit handleEvent(RecurrentPaymentFlowViewModel.Event event)
-
-
-
-