public static interface CreateTransactionViewModel.AddDocumentListener
Modifier and Type | Method and Description |
---|---|
void |
documentAddFailed(String transactionId,
String documentId,
Error error)
Gets called when adding a document to a transaction fails.
|
void |
documentAddSuccessful(String transactionId,
String documentId)
Gets called when adding a document to a transaction is successful.
|
void documentAddSuccessful(String transactionId, String documentId)
transactionId
- The unique identifier of the transaction having received the document.documentId
- The unique identifier of the document added.void documentAddFailed(String transactionId, String documentId, Error error)
transactionId
- The unique identifier of the transaction having received the document.documentId
- The unique identifier of the document added.error
- The error occurred when trying to add the document.