mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
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:
@ -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")]
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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()))
|
||||
// }
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user