mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(connector): [Facilitapay] Add support for Pix Bank Transfers (#7704)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -84,7 +84,7 @@ pub enum RoutableConnectors {
|
||||
Dlocal,
|
||||
Ebanx,
|
||||
Elavon,
|
||||
// Facilitapay,
|
||||
Facilitapay,
|
||||
Fiserv,
|
||||
Fiservemea,
|
||||
Fiuu,
|
||||
@ -233,7 +233,7 @@ pub enum Connector {
|
||||
Dlocal,
|
||||
Ebanx,
|
||||
Elavon,
|
||||
// Facilitapay,
|
||||
Facilitapay,
|
||||
Fiserv,
|
||||
Fiservemea,
|
||||
Fiuu,
|
||||
@ -352,6 +352,7 @@ impl Connector {
|
||||
| (Self::Iatapay, _)
|
||||
| (Self::Volt, _)
|
||||
| (Self::Itaubank, _)
|
||||
| (Self::Facilitapay, _)
|
||||
)
|
||||
}
|
||||
pub fn supports_file_storage_module(self) -> bool {
|
||||
@ -397,7 +398,7 @@ impl Connector {
|
||||
| Self::Dlocal
|
||||
| Self::Ebanx
|
||||
| Self::Elavon
|
||||
// | Self::Facilitapay
|
||||
| Self::Facilitapay
|
||||
| Self::Fiserv
|
||||
| Self::Fiservemea
|
||||
| Self::Fiuu
|
||||
@ -549,7 +550,7 @@ impl From<RoutableConnectors> for Connector {
|
||||
RoutableConnectors::Dlocal => Self::Dlocal,
|
||||
RoutableConnectors::Ebanx => Self::Ebanx,
|
||||
RoutableConnectors::Elavon => Self::Elavon,
|
||||
// RoutableConnectors::Facilitapay => Self::Facilitapay,
|
||||
RoutableConnectors::Facilitapay => Self::Facilitapay,
|
||||
RoutableConnectors::Fiserv => Self::Fiserv,
|
||||
RoutableConnectors::Fiservemea => Self::Fiservemea,
|
||||
RoutableConnectors::Fiuu => Self::Fiuu,
|
||||
@ -660,7 +661,7 @@ impl TryFrom<Connector> for RoutableConnectors {
|
||||
Connector::Dlocal => Ok(Self::Dlocal),
|
||||
Connector::Ebanx => Ok(Self::Ebanx),
|
||||
Connector::Elavon => Ok(Self::Elavon),
|
||||
// Connector::Facilitapay => Ok(Self::Facilitapay),
|
||||
Connector::Facilitapay => Ok(Self::Facilitapay),
|
||||
Connector::Fiserv => Ok(Self::Fiserv),
|
||||
Connector::Fiservemea => Ok(Self::Fiservemea),
|
||||
Connector::Fiuu => Ok(Self::Fiuu),
|
||||
|
||||
@ -6607,6 +6607,66 @@ pub enum RomaniaStatesAbbreviation {
|
||||
ValceaCounty,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Debug, Clone, PartialEq, Eq, Serialize, Deserialize, strum::Display, strum::EnumString,
|
||||
)]
|
||||
pub enum BrazilStatesAbbreviation {
|
||||
#[strum(serialize = "AC")]
|
||||
Acre,
|
||||
#[strum(serialize = "AL")]
|
||||
Alagoas,
|
||||
#[strum(serialize = "AP")]
|
||||
Amapá,
|
||||
#[strum(serialize = "AM")]
|
||||
Amazonas,
|
||||
#[strum(serialize = "BA")]
|
||||
Bahia,
|
||||
#[strum(serialize = "CE")]
|
||||
Ceará,
|
||||
#[strum(serialize = "DF")]
|
||||
DistritoFederal,
|
||||
#[strum(serialize = "ES")]
|
||||
EspíritoSanto,
|
||||
#[strum(serialize = "GO")]
|
||||
Goiás,
|
||||
#[strum(serialize = "MA")]
|
||||
Maranhão,
|
||||
#[strum(serialize = "MT")]
|
||||
MatoGrosso,
|
||||
#[strum(serialize = "MS")]
|
||||
MatoGrossoDoSul,
|
||||
#[strum(serialize = "MG")]
|
||||
MinasGerais,
|
||||
#[strum(serialize = "PA")]
|
||||
Pará,
|
||||
#[strum(serialize = "PB")]
|
||||
Paraíba,
|
||||
#[strum(serialize = "PR")]
|
||||
Paraná,
|
||||
#[strum(serialize = "PE")]
|
||||
Pernambuco,
|
||||
#[strum(serialize = "PI")]
|
||||
Piauí,
|
||||
#[strum(serialize = "RJ")]
|
||||
RioDeJaneiro,
|
||||
#[strum(serialize = "RN")]
|
||||
RioGrandeDoNorte,
|
||||
#[strum(serialize = "RS")]
|
||||
RioGrandeDoSul,
|
||||
#[strum(serialize = "RO")]
|
||||
Rondônia,
|
||||
#[strum(serialize = "RR")]
|
||||
Roraima,
|
||||
#[strum(serialize = "SC")]
|
||||
SantaCatarina,
|
||||
#[strum(serialize = "SP")]
|
||||
SãoPaulo,
|
||||
#[strum(serialize = "SE")]
|
||||
Sergipe,
|
||||
#[strum(serialize = "TO")]
|
||||
Tocantins,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
|
||||
Reference in New Issue
Block a user