refactor(router): add display_name field to connector feature api (#7121)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
AkshayaFoiger
2025-02-07 12:49:46 +05:30
committed by GitHub
parent 9772cb36ee
commit 50784ad1c1
8 changed files with 28 additions and 17 deletions

View File

@ -19,7 +19,7 @@ pub struct CardSpecificFeatures {
/// Indicates whether three_ds card payments are supported.
pub three_ds: FeatureStatus,
/// Indicates whether non three_ds card payments are supported.
pub non_three_ds: FeatureStatus,
pub no_three_ds: FeatureStatus,
/// List of supported card networks
pub supported_card_networks: Vec<CardNetwork>,
}
@ -47,6 +47,7 @@ pub struct SupportedPaymentMethod {
#[derive(Debug, ToSchema, Serialize)]
pub struct ConnectorFeatureMatrixResponse {
pub name: String,
pub display_name: Option<String>,
pub description: Option<String>,
pub category: Option<PaymentConnectorCategory>,
pub supported_payment_methods: Vec<SupportedPaymentMethod>,