public static interface CreateTransactionViewModel.CreateTransactionListener
Modifier and Type | Method and Description |
---|---|
void |
createTransactionFailed(Error error)
Gets called when creating a new transaction fails.
|
void |
createTransactionFromTemplateSucceeded(String transactionId,
String templateId)
Gets called when creating a new transaction from a template succeeds.
|
void |
createTransactionSucceeded(String transactionId)
Gets called when creating a new transaction succeeds.
|
void createTransactionSucceeded(String transactionId)
transactionId
- The unique identifier of the newly created transaction.void createTransactionFromTemplateSucceeded(String transactionId, String templateId)
transactionId
- The unique identifier of the newly created transaction.templateId
- Thr unique identifier of the template used to create the Transaction.void createTransactionFailed(Error error)
error
- The error occurred when trying to create the new transaction.