feat(connector): [THUNES] Add template code (#5775)

Co-authored-by: Suman Maji <suman.maji@Suman-Maji-Q02JM2W56K.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Suman Maji
2024-09-10 16:03:50 +05:30
committed by GitHub
parent bf1797fe7c
commit 9b508a838d
23 changed files with 1277 additions and 4 deletions

View File

@ -68,7 +68,7 @@ pub use hyperswitch_connectors::connectors::{
fiserv, fiserv::Fiserv, fiservemea, fiservemea::Fiservemea, fiuu, fiuu::Fiuu, globepay,
globepay::Globepay, helcim, helcim::Helcim, nexixpay, nexixpay::Nexixpay, novalnet,
novalnet::Novalnet, powertranz, powertranz::Powertranz, stax, stax::Stax, taxjar,
taxjar::Taxjar, tsys, tsys::Tsys, worldline, worldline::Worldline,
taxjar::Taxjar, thunes, thunes::Thunes, tsys, tsys::Tsys, worldline, worldline::Worldline,
};
#[cfg(feature = "dummy_connector")]

View File

@ -1287,6 +1287,7 @@ default_imp_for_new_connector_integration_payouts!(
connector::Taxjar,
connector::Trustpay,
connector::Threedsecureio,
connector::Thunes,
connector::Tsys,
connector::Volt,
connector::Wellsfargo,
@ -2100,6 +2101,7 @@ default_imp_for_new_connector_integration_frm!(
connector::Taxjar,
connector::Trustpay,
connector::Threedsecureio,
connector::Thunes,
connector::Tsys,
connector::Volt,
connector::Wellsfargo,
@ -2704,6 +2706,7 @@ default_imp_for_new_connector_integration_connector_authentication!(
connector::Taxjar,
connector::Trustpay,
connector::Threedsecureio,
connector::Thunes,
connector::Tsys,
connector::Volt,
connector::Wellsfargo,

View File

@ -482,14 +482,17 @@ impl ConnectorData {
enums::Connector::Paypal => {
Ok(ConnectorEnum::Old(Box::new(connector::Paypal::new())))
}
// enums::Connector::Thunes => Ok(ConnectorEnum::Old(Box::new(connector::Thunes))),
enums::Connector::Trustpay => {
Ok(ConnectorEnum::Old(Box::new(connector::Trustpay::new())))
}
enums::Connector::Tsys => Ok(ConnectorEnum::Old(Box::new(&connector::Tsys))),
enums::Connector::Volt => Ok(ConnectorEnum::Old(Box::new(connector::Volt::new()))),
enums::Connector::Wellsfargo => {
Ok(ConnectorEnum::Old(Box::new(&connector::Wellsfargo)))
}
// enums::Connector::Wellsfargopayout => {
// Ok(Box::new(connector::Wellsfargopayout::new()))
// }

View File

@ -333,6 +333,8 @@ impl ForeignTryFrom<api_enums::Connector> for common_enums::RoutableConnectors {
api_enums::Connector::Square => Self::Square,
api_enums::Connector::Stax => Self::Stax,
api_enums::Connector::Stripe => Self::Stripe,
// api_enums::Connector::Taxjar => Self::Taxjar,
// api_enums::Connector::Thunes => Self::Thunes,
api_enums::Connector::Trustpay => Self::Trustpay,
api_enums::Connector::Tsys => Self::Tsys,
api_enums::Connector::Volt => Self::Volt,