mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
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:
@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user