Trait definitions for external vault operations used by connectors.
// Source: https://github.com/juspay/hyperswitch | 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.
//! Vault interface
use hyperswitch_domain_models::{
router_flow_types::vault::{
ExternalVaultCreateFlow, ExternalVaultDeleteFlow, ExternalVaultInsertFlow,
ExternalVaultRetrieveFlow,
},
router_request_types::VaultRequestData,
router_response_types::VaultResponseData,
};
use super::ConnectorCommon;
use crate::api::ConnectorIntegration;
/// trait ExternalVaultInsert
pub trait ExternalVaultInsert:
ConnectorIntegration<ExternalVaultInsertFlow, VaultRequestData, VaultResponseData>
{
}
/// trait ExternalVaultRetrieve
pub trait ExternalVaultRetrieve:
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key