Merge branch 'flow_id'

This commit is contained in:
Damir Jelić 2021-10-05 20:47:33 +02:00
commit 5aa6aeac16
1 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,11 @@ impl VerificationRequest {
self.inner.is_cancelled()
}
/// Get the transaction id of this verification request
pub fn flow_id(&self) -> &str {
self.inner.flow_id().as_str()
}
/// Get info about the cancellation if the verification request has been
/// cancelled.
pub fn cancel_info(&self) -> Option<CancelInfo> {