{-# LANGUAGE MultiWayIf #-}
-- CHANGE WITH CAUTION: This is a generated code file generated by https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator.
{-# LANGUAGE OverloadedStrings #-}

-- | Contains the types generated from the schema PaymentMethodEps
module StripeAPI.Types.PaymentMethodEps where

import qualified Control.Monad.Fail
import qualified Data.Aeson
import qualified Data.Aeson as Data.Aeson.Encoding.Internal
import qualified Data.Aeson as Data.Aeson.Types
import qualified Data.Aeson as Data.Aeson.Types.FromJSON
import qualified Data.Aeson as Data.Aeson.Types.Internal
import qualified Data.Aeson as Data.Aeson.Types.ToJSON
import qualified Data.ByteString.Char8
import qualified Data.ByteString.Char8 as Data.ByteString.Internal
import qualified Data.Functor
import qualified Data.Scientific
import qualified Data.Text
import qualified Data.Text.Internal
import qualified Data.Time.Calendar as Data.Time.Calendar.Days
import qualified Data.Time.LocalTime as Data.Time.LocalTime.Internal.ZonedTime
import qualified GHC.Base
import qualified GHC.Classes
import qualified GHC.Int
import qualified GHC.Show
import qualified GHC.Types
import qualified StripeAPI.Common
import StripeAPI.TypeAlias
import qualified Prelude as GHC.Integer.Type
import qualified Prelude as GHC.Maybe

-- | Defines the object schema located at @components.schemas.payment_method_eps@ in the specification.
data PaymentMethodEps = PaymentMethodEps
  { -- | bank: The customer\'s bank. Should be one of \`arzte_und_apotheker_bank\`, \`austrian_anadi_bank_ag\`, \`bank_austria\`, \`bankhaus_carl_spangler\`, \`bankhaus_schelhammer_und_schattera_ag\`, \`bawag_psk_ag\`, \`bks_bank_ag\`, \`brull_kallmus_bank_ag\`, \`btv_vier_lander_bank\`, \`capital_bank_grawe_gruppe_ag\`, \`dolomitenbank\`, \`easybank_ag\`, \`erste_bank_und_sparkassen\`, \`hypo_alpeadriabank_international_ag\`, \`hypo_noe_lb_fur_niederosterreich_u_wien\`, \`hypo_oberosterreich_salzburg_steiermark\`, \`hypo_tirol_bank_ag\`, \`hypo_vorarlberg_bank_ag\`, \`hypo_bank_burgenland_aktiengesellschaft\`, \`marchfelder_bank\`, \`oberbank_ag\`, \`raiffeisen_bankengruppe_osterreich\`, \`schoellerbank_ag\`, \`sparda_bank_wien\`, \`volksbank_gruppe\`, \`volkskreditbank_ag\`, or \`vr_bank_braunau\`.
    PaymentMethodEps -> Maybe PaymentMethodEpsBank'
paymentMethodEpsBank :: (GHC.Maybe.Maybe PaymentMethodEpsBank')
  }
  deriving
    ( Int -> PaymentMethodEps -> ShowS
[PaymentMethodEps] -> ShowS
PaymentMethodEps -> String
(Int -> PaymentMethodEps -> ShowS)
-> (PaymentMethodEps -> String)
-> ([PaymentMethodEps] -> ShowS)
-> Show PaymentMethodEps
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PaymentMethodEps] -> ShowS
$cshowList :: [PaymentMethodEps] -> ShowS
show :: PaymentMethodEps -> String
$cshow :: PaymentMethodEps -> String
showsPrec :: Int -> PaymentMethodEps -> ShowS
$cshowsPrec :: Int -> PaymentMethodEps -> ShowS
GHC.Show.Show,
      PaymentMethodEps -> PaymentMethodEps -> Bool
(PaymentMethodEps -> PaymentMethodEps -> Bool)
-> (PaymentMethodEps -> PaymentMethodEps -> Bool)
-> Eq PaymentMethodEps
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PaymentMethodEps -> PaymentMethodEps -> Bool
$c/= :: PaymentMethodEps -> PaymentMethodEps -> Bool
== :: PaymentMethodEps -> PaymentMethodEps -> Bool
$c== :: PaymentMethodEps -> PaymentMethodEps -> Bool
GHC.Classes.Eq
    )

instance Data.Aeson.Types.ToJSON.ToJSON PaymentMethodEps where
  toJSON :: PaymentMethodEps -> Value
toJSON PaymentMethodEps
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"bank" Text -> Maybe PaymentMethodEpsBank' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= PaymentMethodEps -> Maybe PaymentMethodEpsBank'
paymentMethodEpsBank PaymentMethodEps
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
  toEncoding :: PaymentMethodEps -> Encoding
toEncoding PaymentMethodEps
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs (Text
"bank" Text -> Maybe PaymentMethodEpsBank' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= PaymentMethodEps -> Maybe PaymentMethodEpsBank'
paymentMethodEpsBank PaymentMethodEps
obj)

instance Data.Aeson.Types.FromJSON.FromJSON PaymentMethodEps where
  parseJSON :: Value -> Parser PaymentMethodEps
parseJSON = String
-> (Object -> Parser PaymentMethodEps)
-> Value
-> Parser PaymentMethodEps
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"PaymentMethodEps" (\Object
obj -> (Maybe PaymentMethodEpsBank' -> PaymentMethodEps)
-> Parser (Maybe PaymentMethodEpsBank' -> PaymentMethodEps)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe PaymentMethodEpsBank' -> PaymentMethodEps
PaymentMethodEps Parser (Maybe PaymentMethodEpsBank' -> PaymentMethodEps)
-> Parser (Maybe PaymentMethodEpsBank') -> Parser PaymentMethodEps
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe PaymentMethodEpsBank')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"bank"))

-- | Create a new 'PaymentMethodEps' with all required fields.
mkPaymentMethodEps :: PaymentMethodEps
mkPaymentMethodEps :: PaymentMethodEps
mkPaymentMethodEps = PaymentMethodEps :: Maybe PaymentMethodEpsBank' -> PaymentMethodEps
PaymentMethodEps {paymentMethodEpsBank :: Maybe PaymentMethodEpsBank'
paymentMethodEpsBank = Maybe PaymentMethodEpsBank'
forall a. Maybe a
GHC.Maybe.Nothing}

-- | Defines the enum schema located at @components.schemas.payment_method_eps.properties.bank@ in the specification.
--
-- The customer\'s bank. Should be one of \`arzte_und_apotheker_bank\`, \`austrian_anadi_bank_ag\`, \`bank_austria\`, \`bankhaus_carl_spangler\`, \`bankhaus_schelhammer_und_schattera_ag\`, \`bawag_psk_ag\`, \`bks_bank_ag\`, \`brull_kallmus_bank_ag\`, \`btv_vier_lander_bank\`, \`capital_bank_grawe_gruppe_ag\`, \`dolomitenbank\`, \`easybank_ag\`, \`erste_bank_und_sparkassen\`, \`hypo_alpeadriabank_international_ag\`, \`hypo_noe_lb_fur_niederosterreich_u_wien\`, \`hypo_oberosterreich_salzburg_steiermark\`, \`hypo_tirol_bank_ag\`, \`hypo_vorarlberg_bank_ag\`, \`hypo_bank_burgenland_aktiengesellschaft\`, \`marchfelder_bank\`, \`oberbank_ag\`, \`raiffeisen_bankengruppe_osterreich\`, \`schoellerbank_ag\`, \`sparda_bank_wien\`, \`volksbank_gruppe\`, \`volkskreditbank_ag\`, or \`vr_bank_braunau\`.
data PaymentMethodEpsBank'
  = -- | This case is used if the value encountered during decoding does not match any of the provided cases in the specification.
    PaymentMethodEpsBank'Other Data.Aeson.Types.Internal.Value
  | -- | This constructor can be used to send values to the server which are not present in the specification yet.
    PaymentMethodEpsBank'Typed Data.Text.Internal.Text
  | -- | Represents the JSON value @"arzte_und_apotheker_bank"@
    PaymentMethodEpsBank'EnumArzteUndApothekerBank
  | -- | Represents the JSON value @"austrian_anadi_bank_ag"@
    PaymentMethodEpsBank'EnumAustrianAnadiBankAg
  | -- | Represents the JSON value @"bank_austria"@
    PaymentMethodEpsBank'EnumBankAustria
  | -- | Represents the JSON value @"bankhaus_carl_spangler"@
    PaymentMethodEpsBank'EnumBankhausCarlSpangler
  | -- | Represents the JSON value @"bankhaus_schelhammer_und_schattera_ag"@
    PaymentMethodEpsBank'EnumBankhausSchelhammerUndSchatteraAg
  | -- | Represents the JSON value @"bawag_psk_ag"@
    PaymentMethodEpsBank'EnumBawagPskAg
  | -- | Represents the JSON value @"bks_bank_ag"@
    PaymentMethodEpsBank'EnumBksBankAg
  | -- | Represents the JSON value @"brull_kallmus_bank_ag"@
    PaymentMethodEpsBank'EnumBrullKallmusBankAg
  | -- | Represents the JSON value @"btv_vier_lander_bank"@
    PaymentMethodEpsBank'EnumBtvVierLanderBank
  | -- | Represents the JSON value @"capital_bank_grawe_gruppe_ag"@
    PaymentMethodEpsBank'EnumCapitalBankGraweGruppeAg
  | -- | Represents the JSON value @"dolomitenbank"@
    PaymentMethodEpsBank'EnumDolomitenbank
  | -- | Represents the JSON value @"easybank_ag"@
    PaymentMethodEpsBank'EnumEasybankAg
  | -- | Represents the JSON value @"erste_bank_und_sparkassen"@
    PaymentMethodEpsBank'EnumErsteBankUndSparkassen
  | -- | Represents the JSON value @"hypo_alpeadriabank_international_ag"@
    PaymentMethodEpsBank'EnumHypoAlpeadriabankInternationalAg
  | -- | Represents the JSON value @"hypo_bank_burgenland_aktiengesellschaft"@
    PaymentMethodEpsBank'EnumHypoBankBurgenlandAktiengesellschaft
  | -- | Represents the JSON value @"hypo_noe_lb_fur_niederosterreich_u_wien"@
    PaymentMethodEpsBank'EnumHypoNoeLbFurNiederosterreichUWien
  | -- | Represents the JSON value @"hypo_oberosterreich_salzburg_steiermark"@
    PaymentMethodEpsBank'EnumHypoOberosterreichSalzburgSteiermark
  | -- | Represents the JSON value @"hypo_tirol_bank_ag"@
    PaymentMethodEpsBank'EnumHypoTirolBankAg
  | -- | Represents the JSON value @"hypo_vorarlberg_bank_ag"@
    PaymentMethodEpsBank'EnumHypoVorarlbergBankAg
  | -- | Represents the JSON value @"marchfelder_bank"@
    PaymentMethodEpsBank'EnumMarchfelderBank
  | -- | Represents the JSON value @"oberbank_ag"@
    PaymentMethodEpsBank'EnumOberbankAg
  | -- | Represents the JSON value @"raiffeisen_bankengruppe_osterreich"@
    PaymentMethodEpsBank'EnumRaiffeisenBankengruppeOsterreich
  | -- | Represents the JSON value @"schoellerbank_ag"@
    PaymentMethodEpsBank'EnumSchoellerbankAg
  | -- | Represents the JSON value @"sparda_bank_wien"@
    PaymentMethodEpsBank'EnumSpardaBankWien
  | -- | Represents the JSON value @"volksbank_gruppe"@
    PaymentMethodEpsBank'EnumVolksbankGruppe
  | -- | Represents the JSON value @"volkskreditbank_ag"@
    PaymentMethodEpsBank'EnumVolkskreditbankAg
  | -- | Represents the JSON value @"vr_bank_braunau"@
    PaymentMethodEpsBank'EnumVrBankBraunau
  deriving (Int -> PaymentMethodEpsBank' -> ShowS
[PaymentMethodEpsBank'] -> ShowS
PaymentMethodEpsBank' -> String
(Int -> PaymentMethodEpsBank' -> ShowS)
-> (PaymentMethodEpsBank' -> String)
-> ([PaymentMethodEpsBank'] -> ShowS)
-> Show PaymentMethodEpsBank'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PaymentMethodEpsBank'] -> ShowS
$cshowList :: [PaymentMethodEpsBank'] -> ShowS
show :: PaymentMethodEpsBank' -> String
$cshow :: PaymentMethodEpsBank' -> String
showsPrec :: Int -> PaymentMethodEpsBank' -> ShowS
$cshowsPrec :: Int -> PaymentMethodEpsBank' -> ShowS
GHC.Show.Show, PaymentMethodEpsBank' -> PaymentMethodEpsBank' -> Bool
(PaymentMethodEpsBank' -> PaymentMethodEpsBank' -> Bool)
-> (PaymentMethodEpsBank' -> PaymentMethodEpsBank' -> Bool)
-> Eq PaymentMethodEpsBank'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PaymentMethodEpsBank' -> PaymentMethodEpsBank' -> Bool
$c/= :: PaymentMethodEpsBank' -> PaymentMethodEpsBank' -> Bool
== :: PaymentMethodEpsBank' -> PaymentMethodEpsBank' -> Bool
$c== :: PaymentMethodEpsBank' -> PaymentMethodEpsBank' -> Bool
GHC.Classes.Eq)

instance Data.Aeson.Types.ToJSON.ToJSON PaymentMethodEpsBank' where
  toJSON :: PaymentMethodEpsBank' -> Value
toJSON (PaymentMethodEpsBank'Other Value
val) = Value
val
  toJSON (PaymentMethodEpsBank'Typed Text
val) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
val
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumArzteUndApothekerBank) = Value
"arzte_und_apotheker_bank"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumAustrianAnadiBankAg) = Value
"austrian_anadi_bank_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBankAustria) = Value
"bank_austria"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBankhausCarlSpangler) = Value
"bankhaus_carl_spangler"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBankhausSchelhammerUndSchatteraAg) = Value
"bankhaus_schelhammer_und_schattera_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBawagPskAg) = Value
"bawag_psk_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBksBankAg) = Value
"bks_bank_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBrullKallmusBankAg) = Value
"brull_kallmus_bank_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBtvVierLanderBank) = Value
"btv_vier_lander_bank"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumCapitalBankGraweGruppeAg) = Value
"capital_bank_grawe_gruppe_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumDolomitenbank) = Value
"dolomitenbank"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumEasybankAg) = Value
"easybank_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumErsteBankUndSparkassen) = Value
"erste_bank_und_sparkassen"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoAlpeadriabankInternationalAg) = Value
"hypo_alpeadriabank_international_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoBankBurgenlandAktiengesellschaft) = Value
"hypo_bank_burgenland_aktiengesellschaft"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoNoeLbFurNiederosterreichUWien) = Value
"hypo_noe_lb_fur_niederosterreich_u_wien"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoOberosterreichSalzburgSteiermark) = Value
"hypo_oberosterreich_salzburg_steiermark"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoTirolBankAg) = Value
"hypo_tirol_bank_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoVorarlbergBankAg) = Value
"hypo_vorarlberg_bank_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumMarchfelderBank) = Value
"marchfelder_bank"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumOberbankAg) = Value
"oberbank_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumRaiffeisenBankengruppeOsterreich) = Value
"raiffeisen_bankengruppe_osterreich"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumSchoellerbankAg) = Value
"schoellerbank_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumSpardaBankWien) = Value
"sparda_bank_wien"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumVolksbankGruppe) = Value
"volksbank_gruppe"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumVolkskreditbankAg) = Value
"volkskreditbank_ag"
  toJSON (PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumVrBankBraunau) = Value
"vr_bank_braunau"

instance Data.Aeson.Types.FromJSON.FromJSON PaymentMethodEpsBank' where
  parseJSON :: Value -> Parser PaymentMethodEpsBank'
parseJSON Value
val =
    PaymentMethodEpsBank' -> Parser PaymentMethodEpsBank'
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure
      ( if
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"arzte_und_apotheker_bank" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumArzteUndApothekerBank
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"austrian_anadi_bank_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumAustrianAnadiBankAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bank_austria" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBankAustria
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bankhaus_carl_spangler" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBankhausCarlSpangler
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bankhaus_schelhammer_und_schattera_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBankhausSchelhammerUndSchatteraAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bawag_psk_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBawagPskAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bks_bank_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBksBankAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"brull_kallmus_bank_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBrullKallmusBankAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"btv_vier_lander_bank" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumBtvVierLanderBank
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"capital_bank_grawe_gruppe_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumCapitalBankGraweGruppeAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"dolomitenbank" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumDolomitenbank
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"easybank_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumEasybankAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"erste_bank_und_sparkassen" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumErsteBankUndSparkassen
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"hypo_alpeadriabank_international_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoAlpeadriabankInternationalAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"hypo_bank_burgenland_aktiengesellschaft" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoBankBurgenlandAktiengesellschaft
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"hypo_noe_lb_fur_niederosterreich_u_wien" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoNoeLbFurNiederosterreichUWien
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"hypo_oberosterreich_salzburg_steiermark" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoOberosterreichSalzburgSteiermark
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"hypo_tirol_bank_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoTirolBankAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"hypo_vorarlberg_bank_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumHypoVorarlbergBankAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"marchfelder_bank" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumMarchfelderBank
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"oberbank_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumOberbankAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"raiffeisen_bankengruppe_osterreich" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumRaiffeisenBankengruppeOsterreich
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"schoellerbank_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumSchoellerbankAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"sparda_bank_wien" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumSpardaBankWien
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"volksbank_gruppe" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumVolksbankGruppe
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"volkskreditbank_ag" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumVolkskreditbankAg
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"vr_bank_braunau" -> PaymentMethodEpsBank'
PaymentMethodEpsBank'EnumVrBankBraunau
            | Bool
GHC.Base.otherwise -> Value -> PaymentMethodEpsBank'
PaymentMethodEpsBank'Other Value
val
      )