chore: merging back release v0.3.0 back to main (#636) (#655)

Co-authored-by: Sangamesh Kulkarni <59434228+Sangamesh26@users.noreply.github.com>
Co-authored-by: ItsMeShashank <shashank.attarde@juspay.in>
Co-authored-by: Abhishek <abhishek.marrivagu@juspay.in>
Co-authored-by: Jagan <jaganelavarasan@gmail.com>
Co-authored-by: SamraatBansal <55536657+SamraatBansal@users.noreply.github.com>
Co-authored-by: Sampras Lopes <lsampras@protonmail.com>
This commit is contained in:
Arun Raj M
2023-02-26 13:55:17 +05:30
committed by GitHub
parent 7792de55ef
commit f3224cc4df
74 changed files with 5979 additions and 355 deletions

View File

@ -11,6 +11,7 @@ use utoipa::ToSchema;
serde::Serialize,
strum::Display,
strum::EnumString,
frunk::LabelledGeneric,
)]
#[serde(rename_all = "snake_case")]
#[strum(serialize_all = "snake_case")]
@ -572,8 +573,10 @@ pub enum MandateStatus {
pub enum Connector {
Aci,
Adyen,
Airwallex,
Applepay,
Authorizedotnet,
Bluesnap,
Braintree,
Checkout,
Cybersource,
@ -583,6 +586,7 @@ pub enum Connector {
Fiserv,
Globalpay,
Klarna,
Nuvei,
Payu,
Rapyd,
Shift4,
@ -593,7 +597,7 @@ pub enum Connector {
impl Connector {
pub fn supports_access_token(&self) -> bool {
matches!(self, Self::Globalpay | Self::Payu)
matches!(self, Self::Airwallex | Self::Globalpay | Self::Payu)
}
}
@ -614,7 +618,9 @@ impl Connector {
pub enum RoutableConnectors {
Aci,
Adyen,
Airwallex,
Authorizedotnet,
Bluesnap,
Braintree,
Checkout,
Cybersource,
@ -622,6 +628,7 @@ pub enum RoutableConnectors {
Fiserv,
Globalpay,
Klarna,
Nuvei,
Payu,
Rapyd,
Shift4,