feat: add an api for toggling extended card info feature (#4444)

This commit is contained in:
Chethan Rao
2024-04-25 18:10:00 +05:30
committed by GitHub
parent 83ca04ea5e
commit 87d9fced07
16 changed files with 184 additions and 19 deletions

View File

@ -1088,3 +1088,10 @@ pub struct PaymentLinkConfig {
/// Enable saved payment method option for payment link
pub enabled_saved_payment_method: bool,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, PartialEq, Eq)]
pub struct ExtendedCardInfoChoice {
pub enabled: bool,
}
impl common_utils::events::ApiEventMetric for ExtendedCardInfoChoice {}