feat(router): [cybersource] add disable_avs and disable_cvn flag in connector metadata (#5667)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
AkshayaFoiger
2024-08-22 20:25:09 +05:30
committed by GitHub
parent 914cab0d7b
commit 36cc0ccbe6
5 changed files with 72 additions and 7 deletions

View File

@ -1329,6 +1329,9 @@ impl<'a> ConnectorAuthTypeAndMetadataValidation<'a> {
}
api_enums::Connector::Cybersource => {
cybersource::transformers::CybersourceAuthType::try_from(self.auth_type)?;
cybersource::transformers::CybersourceConnectorMetadataObject::try_from(
self.connector_meta_data,
)?;
Ok(())
}
api_enums::Connector::Datatrans => {