Component evidence

Glomopay Connector Override (connector_override/glomopay.rs)

hyperswitch-prism · crates/internal/integration-tests/src/harness/connector_override/glomopay.rs · rust · Apache-2.0
paymentsintegrationtestingtag:glomopaytag:override

Glomopay-specific connector override for integration tests, no test-side normalization needed

Source preview public preview
// Source: https://github.com/juspay/hyperswitch-prism | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
use super::ConnectorOverride;

/// Glomopay-specific override.
///
/// No test-side normalisation is required — the sandbox supports every
/// suite listed in `connector_specs/glomopay/specs.json` end-to-end, so
/// assertions run against the real connector response.
#[derive(Debug, Clone, Default)]
pub struct GlomopayConnectorOverride;

impl GlomopayConnectorOverride {
    #[must_use]
    pub const fn new() -> Self {
        Self
    }
}

impl ConnectorOverride for GlomopayConnectorOverride {
    fn connector_name(&self) -> &str {
        "glomopay"
    }
}