feat(connector): [Paybox] Add mandates Flow for Paybox (#6378)

This commit is contained in:
awasthi21
2024-10-30 21:32:59 +05:30
committed by GitHub
parent c514608594
commit 37513e0f1e
55 changed files with 728 additions and 152 deletions

View File

@ -270,6 +270,11 @@ pub fn generate_time_ordered_id_without_prefix() -> String {
uuid::Uuid::now_v7().as_simple().to_string()
}
/// Generate a nanoid with the specified length
#[inline]
pub fn generate_id_with_len(length: usize) -> String {
nanoid::nanoid!(length, &consts::ALPHABETS)
}
#[allow(missing_docs)]
pub trait DbConnectionParams {
fn get_username(&self) -> &str;