{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE OverloadedStrings #-}
module StripeAPI.Types.PaymentMethodDetailsP24 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
data PaymentMethodDetailsP24 = PaymentMethodDetailsP24
{
PaymentMethodDetailsP24 -> Maybe PaymentMethodDetailsP24Bank'
paymentMethodDetailsP24Bank :: (GHC.Maybe.Maybe PaymentMethodDetailsP24Bank'),
PaymentMethodDetailsP24 -> Maybe Text
paymentMethodDetailsP24Reference :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
PaymentMethodDetailsP24 -> Maybe Text
paymentMethodDetailsP24VerifiedName :: (GHC.Maybe.Maybe Data.Text.Internal.Text)
}
deriving
( Int -> PaymentMethodDetailsP24 -> ShowS
[PaymentMethodDetailsP24] -> ShowS
PaymentMethodDetailsP24 -> String
(Int -> PaymentMethodDetailsP24 -> ShowS)
-> (PaymentMethodDetailsP24 -> String)
-> ([PaymentMethodDetailsP24] -> ShowS)
-> Show PaymentMethodDetailsP24
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PaymentMethodDetailsP24] -> ShowS
$cshowList :: [PaymentMethodDetailsP24] -> ShowS
show :: PaymentMethodDetailsP24 -> String
$cshow :: PaymentMethodDetailsP24 -> String
showsPrec :: Int -> PaymentMethodDetailsP24 -> ShowS
$cshowsPrec :: Int -> PaymentMethodDetailsP24 -> ShowS
GHC.Show.Show,
PaymentMethodDetailsP24 -> PaymentMethodDetailsP24 -> Bool
(PaymentMethodDetailsP24 -> PaymentMethodDetailsP24 -> Bool)
-> (PaymentMethodDetailsP24 -> PaymentMethodDetailsP24 -> Bool)
-> Eq PaymentMethodDetailsP24
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PaymentMethodDetailsP24 -> PaymentMethodDetailsP24 -> Bool
$c/= :: PaymentMethodDetailsP24 -> PaymentMethodDetailsP24 -> Bool
== :: PaymentMethodDetailsP24 -> PaymentMethodDetailsP24 -> Bool
$c== :: PaymentMethodDetailsP24 -> PaymentMethodDetailsP24 -> Bool
GHC.Classes.Eq
)
instance Data.Aeson.Types.ToJSON.ToJSON PaymentMethodDetailsP24 where
toJSON :: PaymentMethodDetailsP24 -> Value
toJSON PaymentMethodDetailsP24
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"bank" Text -> Maybe PaymentMethodDetailsP24Bank' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= PaymentMethodDetailsP24 -> Maybe PaymentMethodDetailsP24Bank'
paymentMethodDetailsP24Bank PaymentMethodDetailsP24
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"reference" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= PaymentMethodDetailsP24 -> Maybe Text
paymentMethodDetailsP24Reference PaymentMethodDetailsP24
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"verified_name" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= PaymentMethodDetailsP24 -> Maybe Text
paymentMethodDetailsP24VerifiedName PaymentMethodDetailsP24
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
toEncoding :: PaymentMethodDetailsP24 -> Encoding
toEncoding PaymentMethodDetailsP24
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"bank" Text -> Maybe PaymentMethodDetailsP24Bank' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= PaymentMethodDetailsP24 -> Maybe PaymentMethodDetailsP24Bank'
paymentMethodDetailsP24Bank PaymentMethodDetailsP24
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"reference" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= PaymentMethodDetailsP24 -> Maybe Text
paymentMethodDetailsP24Reference PaymentMethodDetailsP24
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"verified_name" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= PaymentMethodDetailsP24 -> Maybe Text
paymentMethodDetailsP24VerifiedName PaymentMethodDetailsP24
obj)))
instance Data.Aeson.Types.FromJSON.FromJSON PaymentMethodDetailsP24 where
parseJSON :: Value -> Parser PaymentMethodDetailsP24
parseJSON = String
-> (Object -> Parser PaymentMethodDetailsP24)
-> Value
-> Parser PaymentMethodDetailsP24
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"PaymentMethodDetailsP24" (\Object
obj -> (((Maybe PaymentMethodDetailsP24Bank'
-> Maybe Text -> Maybe Text -> PaymentMethodDetailsP24)
-> Parser
(Maybe PaymentMethodDetailsP24Bank'
-> Maybe Text -> Maybe Text -> PaymentMethodDetailsP24)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe PaymentMethodDetailsP24Bank'
-> Maybe Text -> Maybe Text -> PaymentMethodDetailsP24
PaymentMethodDetailsP24 Parser
(Maybe PaymentMethodDetailsP24Bank'
-> Maybe Text -> Maybe Text -> PaymentMethodDetailsP24)
-> Parser (Maybe PaymentMethodDetailsP24Bank')
-> Parser (Maybe Text -> Maybe Text -> PaymentMethodDetailsP24)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe PaymentMethodDetailsP24Bank')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"bank")) Parser (Maybe Text -> Maybe Text -> PaymentMethodDetailsP24)
-> Parser (Maybe Text)
-> Parser (Maybe Text -> PaymentMethodDetailsP24)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"reference")) Parser (Maybe Text -> PaymentMethodDetailsP24)
-> Parser (Maybe Text) -> Parser PaymentMethodDetailsP24
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"verified_name"))
mkPaymentMethodDetailsP24 :: PaymentMethodDetailsP24
mkPaymentMethodDetailsP24 :: PaymentMethodDetailsP24
mkPaymentMethodDetailsP24 =
PaymentMethodDetailsP24 :: Maybe PaymentMethodDetailsP24Bank'
-> Maybe Text -> Maybe Text -> PaymentMethodDetailsP24
PaymentMethodDetailsP24
{ paymentMethodDetailsP24Bank :: Maybe PaymentMethodDetailsP24Bank'
paymentMethodDetailsP24Bank = Maybe PaymentMethodDetailsP24Bank'
forall a. Maybe a
GHC.Maybe.Nothing,
paymentMethodDetailsP24Reference :: Maybe Text
paymentMethodDetailsP24Reference = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
paymentMethodDetailsP24VerifiedName :: Maybe Text
paymentMethodDetailsP24VerifiedName = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing
}
data PaymentMethodDetailsP24Bank'
=
PaymentMethodDetailsP24Bank'Other Data.Aeson.Types.Internal.Value
|
PaymentMethodDetailsP24Bank'Typed Data.Text.Internal.Text
|
PaymentMethodDetailsP24Bank'EnumAliorBank
|
PaymentMethodDetailsP24Bank'EnumBankMillennium
|
PaymentMethodDetailsP24Bank'EnumBankNowyBfgSa
|
PaymentMethodDetailsP24Bank'EnumBankPekaoSa
|
PaymentMethodDetailsP24Bank'EnumBankiSpbdzielcze
|
PaymentMethodDetailsP24Bank'EnumBlik
|
PaymentMethodDetailsP24Bank'EnumBnpParibas
|
PaymentMethodDetailsP24Bank'EnumBoz
|
PaymentMethodDetailsP24Bank'EnumCitiHandlowy
|
PaymentMethodDetailsP24Bank'EnumCreditAgricole
|
PaymentMethodDetailsP24Bank'EnumEnvelobank
|
PaymentMethodDetailsP24Bank'EnumEtransferPocztowy24
|
PaymentMethodDetailsP24Bank'EnumGetinBank
|
PaymentMethodDetailsP24Bank'EnumIdeabank
|
PaymentMethodDetailsP24Bank'EnumIng
|
PaymentMethodDetailsP24Bank'EnumInteligo
|
PaymentMethodDetailsP24Bank'EnumMbankMtransfer
|
PaymentMethodDetailsP24Bank'EnumNestPrzelew
|
PaymentMethodDetailsP24Bank'EnumNoblePay
|
PaymentMethodDetailsP24Bank'EnumPbacZIpko
|
PaymentMethodDetailsP24Bank'EnumPlusBank
|
PaymentMethodDetailsP24Bank'EnumSantanderPrzelew24
|
PaymentMethodDetailsP24Bank'EnumTmobileUsbugiBankowe
|
PaymentMethodDetailsP24Bank'EnumToyotaBank
|
PaymentMethodDetailsP24Bank'EnumVolkswagenBank
deriving (Int -> PaymentMethodDetailsP24Bank' -> ShowS
[PaymentMethodDetailsP24Bank'] -> ShowS
PaymentMethodDetailsP24Bank' -> String
(Int -> PaymentMethodDetailsP24Bank' -> ShowS)
-> (PaymentMethodDetailsP24Bank' -> String)
-> ([PaymentMethodDetailsP24Bank'] -> ShowS)
-> Show PaymentMethodDetailsP24Bank'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PaymentMethodDetailsP24Bank'] -> ShowS
$cshowList :: [PaymentMethodDetailsP24Bank'] -> ShowS
show :: PaymentMethodDetailsP24Bank' -> String
$cshow :: PaymentMethodDetailsP24Bank' -> String
showsPrec :: Int -> PaymentMethodDetailsP24Bank' -> ShowS
$cshowsPrec :: Int -> PaymentMethodDetailsP24Bank' -> ShowS
GHC.Show.Show, PaymentMethodDetailsP24Bank'
-> PaymentMethodDetailsP24Bank' -> Bool
(PaymentMethodDetailsP24Bank'
-> PaymentMethodDetailsP24Bank' -> Bool)
-> (PaymentMethodDetailsP24Bank'
-> PaymentMethodDetailsP24Bank' -> Bool)
-> Eq PaymentMethodDetailsP24Bank'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PaymentMethodDetailsP24Bank'
-> PaymentMethodDetailsP24Bank' -> Bool
$c/= :: PaymentMethodDetailsP24Bank'
-> PaymentMethodDetailsP24Bank' -> Bool
== :: PaymentMethodDetailsP24Bank'
-> PaymentMethodDetailsP24Bank' -> Bool
$c== :: PaymentMethodDetailsP24Bank'
-> PaymentMethodDetailsP24Bank' -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON PaymentMethodDetailsP24Bank' where
toJSON :: PaymentMethodDetailsP24Bank' -> Value
toJSON (PaymentMethodDetailsP24Bank'Other Value
val) = Value
val
toJSON (PaymentMethodDetailsP24Bank'Typed Text
val) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
val
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumAliorBank) = Value
"alior_bank"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBankMillennium) = Value
"bank_millennium"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBankNowyBfgSa) = Value
"bank_nowy_bfg_sa"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBankPekaoSa) = Value
"bank_pekao_sa"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBankiSpbdzielcze) = Value
"banki_spbdzielcze"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBlik) = Value
"blik"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBnpParibas) = Value
"bnp_paribas"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBoz) = Value
"boz"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumCitiHandlowy) = Value
"citi_handlowy"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumCreditAgricole) = Value
"credit_agricole"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumEnvelobank) = Value
"envelobank"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumEtransferPocztowy24) = Value
"etransfer_pocztowy24"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumGetinBank) = Value
"getin_bank"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumIdeabank) = Value
"ideabank"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumIng) = Value
"ing"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumInteligo) = Value
"inteligo"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumMbankMtransfer) = Value
"mbank_mtransfer"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumNestPrzelew) = Value
"nest_przelew"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumNoblePay) = Value
"noble_pay"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumPbacZIpko) = Value
"pbac_z_ipko"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumPlusBank) = Value
"plus_bank"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumSantanderPrzelew24) = Value
"santander_przelew24"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumTmobileUsbugiBankowe) = Value
"tmobile_usbugi_bankowe"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumToyotaBank) = Value
"toyota_bank"
toJSON (PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumVolkswagenBank) = Value
"volkswagen_bank"
instance Data.Aeson.Types.FromJSON.FromJSON PaymentMethodDetailsP24Bank' where
parseJSON :: Value -> Parser PaymentMethodDetailsP24Bank'
parseJSON Value
val =
PaymentMethodDetailsP24Bank' -> Parser PaymentMethodDetailsP24Bank'
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
"alior_bank" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumAliorBank
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bank_millennium" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBankMillennium
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bank_nowy_bfg_sa" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBankNowyBfgSa
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bank_pekao_sa" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBankPekaoSa
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"banki_spbdzielcze" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBankiSpbdzielcze
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"blik" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBlik
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bnp_paribas" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBnpParibas
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"boz" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumBoz
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"citi_handlowy" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumCitiHandlowy
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"credit_agricole" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumCreditAgricole
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"envelobank" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumEnvelobank
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"etransfer_pocztowy24" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumEtransferPocztowy24
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"getin_bank" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumGetinBank
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"ideabank" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumIdeabank
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"ing" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumIng
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"inteligo" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumInteligo
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"mbank_mtransfer" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumMbankMtransfer
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"nest_przelew" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumNestPrzelew
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"noble_pay" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumNoblePay
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"pbac_z_ipko" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumPbacZIpko
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"plus_bank" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumPlusBank
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"santander_przelew24" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumSantanderPrzelew24
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"tmobile_usbugi_bankowe" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumTmobileUsbugiBankowe
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"toyota_bank" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumToyotaBank
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"volkswagen_bank" -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'EnumVolkswagenBank
| Bool
GHC.Base.otherwise -> Value -> PaymentMethodDetailsP24Bank'
PaymentMethodDetailsP24Bank'Other Value
val
)