mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
refactor(connector): [NMI,PAYONE,RISKIFIED] moved to hyperswitch_connectors (#7666)
This commit is contained in:
@ -1,15 +1,5 @@
|
||||
pub use common_utils::{collect_missing_value_keys, newtype};
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! get_formatted_date_time {
|
||||
($date_format:tt) => {{
|
||||
let format = time::macros::format_description!($date_format);
|
||||
time::OffsetDateTime::now_utc()
|
||||
.format(&format)
|
||||
.change_context($crate::core::errors::ConnectorError::InvalidDateFormat)
|
||||
}};
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! get_payment_link_config_value_based_on_priority {
|
||||
($config:expr, $business_config:expr, $field:ident, $default:expr) => {
|
||||
|
||||
Reference in New Issue
Block a user