toggle menu
| MTN MOMO ANDROID SDK
androidJvm
switch theme
search in API
sample
/
io.rekast.sdk.sample.views.disbursement.deposit
/
DisbursementDepositScreenViewModel
Disbursement
Deposit
Screen
View
Model
class
DisbursementDepositScreenViewModel
@
Inject
constructor
(
defaultRepository
:
DefaultRepository
,
context
:
Context
)
:
ViewModel
Members
Constructors
Disbursement
Deposit
Screen
View
Model
Link copied to clipboard
@
Inject
constructor
(
defaultRepository
:
DefaultRepository
,
context
:
Context
)
Properties
amount
Link copied to clipboard
val
amount
:
LiveData
<
String
>
delivery
Note
Link copied to clipboard
val
deliveryNote
:
LiveData
<
String
>
financial
Id
Link copied to clipboard
val
financialId
:
LiveData
<
String
>
momo
Transaction
Link copied to clipboard
var
momoTransaction
:
MutableLiveData
<
MomoTransaction
?
>
payment
Message
Link copied to clipboard
val
paymentMessage
:
LiveData
<
String
>
payment
Note
Link copied to clipboard
val
paymentNote
:
LiveData
<
String
>
phone
Number
Link copied to clipboard
val
phoneNumber
:
LiveData
<
String
>
reference
Id
To
Refund
Link copied to clipboard
val
referenceIdToRefund
:
LiveData
<
String
>
show
Progress
Bar
Link copied to clipboard
val
showProgressBar
:
MutableLiveData
<
Boolean
>
snack
Bar
State
Flow
Link copied to clipboard
val
snackBarStateFlow
:
SharedFlow
<
SnackBarComponentConfiguration
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
on
Amount
Updated
Link copied to clipboard
fun
onAmountUpdated
(
amount
:
String
)
on
Delivery
Note
Updated
Link copied to clipboard
fun
onDeliveryNoteUpdated
(
deliveryNote
:
String
)
on
Financial
Id
Updated
Link copied to clipboard
fun
onFinancialIdUpdated
(
financialId
:
String
)
on
Payer
Message
Updated
Link copied to clipboard
fun
onPayerMessageUpdated
(
payerMessage
:
String
)
on
Payer
Note
Updated
Link copied to clipboard
fun
onPayerNoteUpdated
(
payerNote
:
String
)
on
Phone
Number
Updated
Link copied to clipboard
fun
onPhoneNumberUpdated
(
phoneNumber
:
String
)
on
Reference
Id
To
Refund
Updated
Link copied to clipboard
fun
onReferenceIdToRefundUpdated
(
deliveryNote
:
String
)