{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE OverloadedStrings #-}
module StripeAPI.Types.ApiErrors 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 {-# SOURCE #-} StripeAPI.Types.Account
import {-# SOURCE #-} StripeAPI.Types.Address
import {-# SOURCE #-} StripeAPI.Types.BankAccount
import {-# SOURCE #-} StripeAPI.Types.Card
import {-# SOURCE #-} StripeAPI.Types.Customer
import {-# SOURCE #-} StripeAPI.Types.DeletedCustomer
import {-# SOURCE #-} StripeAPI.Types.PaymentIntent
import {-# SOURCE #-} StripeAPI.Types.PaymentMethod
import {-# SOURCE #-} StripeAPI.Types.Recipient
import {-# SOURCE #-} StripeAPI.Types.SetupIntent
import {-# SOURCE #-} StripeAPI.Types.Source
import {-# SOURCE #-} StripeAPI.Types.SourceCodeVerificationFlow
import {-# SOURCE #-} StripeAPI.Types.SourceOrder
import {-# SOURCE #-} StripeAPI.Types.SourceOwner
import {-# SOURCE #-} StripeAPI.Types.SourceReceiverFlow
import {-# SOURCE #-} StripeAPI.Types.SourceRedirectFlow
import {-# SOURCE #-} StripeAPI.Types.SourceTypeAchCreditTransfer
import {-# SOURCE #-} StripeAPI.Types.SourceTypeAchDebit
import {-# SOURCE #-} StripeAPI.Types.SourceTypeAcssDebit
import {-# SOURCE #-} StripeAPI.Types.SourceTypeAlipay
import {-# SOURCE #-} StripeAPI.Types.SourceTypeAuBecsDebit
import {-# SOURCE #-} StripeAPI.Types.SourceTypeBancontact
import {-# SOURCE #-} StripeAPI.Types.SourceTypeCard
import {-# SOURCE #-} StripeAPI.Types.SourceTypeCardPresent
import {-# SOURCE #-} StripeAPI.Types.SourceTypeEps
import {-# SOURCE #-} StripeAPI.Types.SourceTypeGiropay
import {-# SOURCE #-} StripeAPI.Types.SourceTypeIdeal
import {-# SOURCE #-} StripeAPI.Types.SourceTypeKlarna
import {-# SOURCE #-} StripeAPI.Types.SourceTypeMultibanco
import {-# SOURCE #-} StripeAPI.Types.SourceTypeP24
import {-# SOURCE #-} StripeAPI.Types.SourceTypeSepaDebit
import {-# SOURCE #-} StripeAPI.Types.SourceTypeSofort
import {-# SOURCE #-} StripeAPI.Types.SourceTypeThreeDSecure
import {-# SOURCE #-} StripeAPI.Types.SourceTypeWechat
import qualified Prelude as GHC.Integer.Type
import qualified Prelude as GHC.Maybe
data ApiErrors = ApiErrors
{
ApiErrors -> Maybe Text
apiErrorsCharge :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
ApiErrors -> Maybe Text
apiErrorsCode :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
ApiErrors -> Maybe Text
apiErrorsDeclineCode :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
ApiErrors -> Maybe Text
apiErrorsDocUrl :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
ApiErrors -> Maybe Text
apiErrorsMessage :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
ApiErrors -> Maybe Text
apiErrorsParam :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
ApiErrors -> Maybe PaymentIntent
apiErrorsPaymentIntent :: (GHC.Maybe.Maybe PaymentIntent),
ApiErrors -> Maybe PaymentMethod
apiErrorsPaymentMethod :: (GHC.Maybe.Maybe PaymentMethod),
ApiErrors -> Maybe Text
apiErrorsPaymentMethodType :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SetupIntent),
:: (GHC.Maybe.Maybe ApiErrorsSource'),
ApiErrors -> ApiErrorsType'
apiErrorsType :: ApiErrorsType'
}
deriving
( Int -> ApiErrors -> ShowS
[ApiErrors] -> ShowS
ApiErrors -> String
(Int -> ApiErrors -> ShowS)
-> (ApiErrors -> String)
-> ([ApiErrors] -> ShowS)
-> Show ApiErrors
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrors] -> ShowS
$cshowList :: [ApiErrors] -> ShowS
show :: ApiErrors -> String
$cshow :: ApiErrors -> String
showsPrec :: Int -> ApiErrors -> ShowS
$cshowsPrec :: Int -> ApiErrors -> ShowS
GHC.Show.Show,
ApiErrors -> ApiErrors -> Bool
(ApiErrors -> ApiErrors -> Bool)
-> (ApiErrors -> ApiErrors -> Bool) -> Eq ApiErrors
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrors -> ApiErrors -> Bool
$c/= :: ApiErrors -> ApiErrors -> Bool
== :: ApiErrors -> ApiErrors -> Bool
$c== :: ApiErrors -> ApiErrors -> Bool
GHC.Classes.Eq
)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrors where
toJSON :: ApiErrors -> Value
toJSON ApiErrors
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"charge" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsCharge ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"code" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsCode ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"decline_code" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsDeclineCode ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"doc_url" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsDocUrl ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"message" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsMessage ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"param" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsParam ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"payment_intent" Text -> Maybe PaymentIntent -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe PaymentIntent
apiErrorsPaymentIntent ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"payment_method" Text -> Maybe PaymentMethod -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe PaymentMethod
apiErrorsPaymentMethod ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"payment_method_type" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsPaymentMethodType ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"setup_intent" Text -> Maybe SetupIntent -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe SetupIntent
apiErrorsSetupIntent ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"source" Text -> Maybe ApiErrorsSource' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe ApiErrorsSource'
apiErrorsSource ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"type" Text -> ApiErrorsType' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> ApiErrorsType'
apiErrorsType ApiErrors
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
toEncoding :: ApiErrors -> Encoding
toEncoding ApiErrors
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"charge" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsCharge ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"code" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsCode ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"decline_code" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsDeclineCode ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"doc_url" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsDocUrl ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"message" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsMessage ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"param" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsParam ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"payment_intent" Text -> Maybe PaymentIntent -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe PaymentIntent
apiErrorsPaymentIntent ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"payment_method" Text -> Maybe PaymentMethod -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe PaymentMethod
apiErrorsPaymentMethod ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"payment_method_type" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe Text
apiErrorsPaymentMethodType ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"setup_intent" Text -> Maybe SetupIntent -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe SetupIntent
apiErrorsSetupIntent ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"source" Text -> Maybe ApiErrorsSource' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> Maybe ApiErrorsSource'
apiErrorsSource ApiErrors
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"type" Text -> ApiErrorsType' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrors -> ApiErrorsType'
apiErrorsType ApiErrors
obj))))))))))))
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrors where
parseJSON :: Value -> Parser ApiErrors
parseJSON = String -> (Object -> Parser ApiErrors) -> Value -> Parser ApiErrors
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"ApiErrors" (\Object
obj -> ((((((((((((Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors
ApiErrors Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
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
"charge")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
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
"code")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
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
"decline_code")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
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
"doc_url")) Parser
(Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
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
"message")) Parser
(Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser (Maybe Text)
-> Parser
(Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
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
"param")) Parser
(Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser (Maybe PaymentIntent)
-> Parser
(Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe PaymentIntent)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"payment_intent")) Parser
(Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser (Maybe PaymentMethod)
-> Parser
(Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe PaymentMethod)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"payment_method")) Parser
(Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors)
-> Parser (Maybe Text)
-> Parser
(Maybe SetupIntent
-> Maybe ApiErrorsSource' -> ApiErrorsType' -> ApiErrors)
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
"payment_method_type")) Parser
(Maybe SetupIntent
-> Maybe ApiErrorsSource' -> ApiErrorsType' -> ApiErrors)
-> Parser (Maybe SetupIntent)
-> Parser (Maybe ApiErrorsSource' -> ApiErrorsType' -> ApiErrors)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SetupIntent)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"setup_intent")) Parser (Maybe ApiErrorsSource' -> ApiErrorsType' -> ApiErrors)
-> Parser (Maybe ApiErrorsSource')
-> Parser (ApiErrorsType' -> ApiErrors)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe ApiErrorsSource')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"source")) Parser (ApiErrorsType' -> ApiErrors)
-> Parser ApiErrorsType' -> Parser ApiErrors
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser ApiErrorsType'
forall a. FromJSON a => Object -> Text -> Parser a
Data.Aeson.Types.FromJSON..: Text
"type"))
mkApiErrors ::
ApiErrorsType' ->
ApiErrors
mkApiErrors :: ApiErrorsType' -> ApiErrors
mkApiErrors ApiErrorsType'
apiErrorsType =
ApiErrors :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe PaymentIntent
-> Maybe PaymentMethod
-> Maybe Text
-> Maybe SetupIntent
-> Maybe ApiErrorsSource'
-> ApiErrorsType'
-> ApiErrors
ApiErrors
{ apiErrorsCharge :: Maybe Text
apiErrorsCharge = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsCode :: Maybe Text
apiErrorsCode = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsDeclineCode :: Maybe Text
apiErrorsDeclineCode = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsDocUrl :: Maybe Text
apiErrorsDocUrl = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsMessage :: Maybe Text
apiErrorsMessage = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsParam :: Maybe Text
apiErrorsParam = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsPaymentIntent :: Maybe PaymentIntent
apiErrorsPaymentIntent = Maybe PaymentIntent
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsPaymentMethod :: Maybe PaymentMethod
apiErrorsPaymentMethod = Maybe PaymentMethod
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsPaymentMethodType :: Maybe Text
apiErrorsPaymentMethodType = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSetupIntent :: Maybe SetupIntent
apiErrorsSetupIntent = Maybe SetupIntent
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource :: Maybe ApiErrorsSource'
apiErrorsSource = Maybe ApiErrorsSource'
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsType :: ApiErrorsType'
apiErrorsType = ApiErrorsType'
apiErrorsType
}
data =
{
:: (GHC.Maybe.Maybe ApiErrorsSource'Account'Variants),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceTypeAchCreditTransfer),
:: (GHC.Maybe.Maybe SourceTypeAchDebit),
:: (GHC.Maybe.Maybe SourceTypeAcssDebit),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceTypeAlipay),
:: (GHC.Maybe.Maybe GHC.Types.Int),
:: (GHC.Maybe.Maybe SourceTypeAuBecsDebit),
:: (GHC.Maybe.Maybe ([ApiErrorsSource'AvailablePayoutMethods'])),
:: (GHC.Maybe.Maybe SourceTypeBancontact),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
ApiErrorsSource' -> Maybe Text
apiErrorsSource'Brand :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceTypeCard),
:: (GHC.Maybe.Maybe SourceTypeCardPresent),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceCodeVerificationFlow),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe GHC.Types.Int),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe ApiErrorsSource'Customer'Variants),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe GHC.Types.Bool),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceTypeEps),
:: (GHC.Maybe.Maybe GHC.Types.Int),
:: (GHC.Maybe.Maybe GHC.Types.Int),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceTypeGiropay),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceTypeIdeal),
:: (GHC.Maybe.Maybe SourceTypeKlarna),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe GHC.Types.Bool),
:: (GHC.Maybe.Maybe Data.Aeson.Types.Internal.Object),
:: (GHC.Maybe.Maybe SourceTypeMultibanco),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe ApiErrorsSource'Object'),
:: (GHC.Maybe.Maybe ApiErrorsSource'Owner'),
:: (GHC.Maybe.Maybe SourceTypeP24),
:: (GHC.Maybe.Maybe SourceReceiverFlow),
:: (GHC.Maybe.Maybe ApiErrorsSource'Recipient'Variants),
:: (GHC.Maybe.Maybe SourceRedirectFlow),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceTypeSepaDebit),
:: (GHC.Maybe.Maybe SourceTypeSofort),
:: (GHC.Maybe.Maybe SourceOrder),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceTypeThreeDSecure),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe ApiErrorsSource'Type'),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe SourceTypeWechat)
}
deriving
( Int -> ApiErrorsSource' -> ShowS
[ApiErrorsSource'] -> ShowS
ApiErrorsSource' -> String
(Int -> ApiErrorsSource' -> ShowS)
-> (ApiErrorsSource' -> String)
-> ([ApiErrorsSource'] -> ShowS)
-> Show ApiErrorsSource'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'] -> ShowS
$cshowList :: [ApiErrorsSource'] -> ShowS
show :: ApiErrorsSource' -> String
$cshow :: ApiErrorsSource' -> String
showsPrec :: Int -> ApiErrorsSource' -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource' -> ShowS
GHC.Show.Show,
ApiErrorsSource' -> ApiErrorsSource' -> Bool
(ApiErrorsSource' -> ApiErrorsSource' -> Bool)
-> (ApiErrorsSource' -> ApiErrorsSource' -> Bool)
-> Eq ApiErrorsSource'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource' -> ApiErrorsSource' -> Bool
$c/= :: ApiErrorsSource' -> ApiErrorsSource' -> Bool
== :: ApiErrorsSource' -> ApiErrorsSource' -> Bool
$c== :: ApiErrorsSource' -> ApiErrorsSource' -> Bool
GHC.Classes.Eq
)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource' where
toJSON :: ApiErrorsSource' -> Value
toJSON ApiErrorsSource'
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"account" Text -> Maybe ApiErrorsSource'Account'Variants -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Account'Variants
apiErrorsSource'Account ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"account_holder_name" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AccountHolderName ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"account_holder_type" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AccountHolderType ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"ach_credit_transfer" Text -> Maybe SourceTypeAchCreditTransfer -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAchCreditTransfer
apiErrorsSource'AchCreditTransfer ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"ach_debit" Text -> Maybe SourceTypeAchDebit -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAchDebit
apiErrorsSource'AchDebit ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"acss_debit" Text -> Maybe SourceTypeAcssDebit -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAcssDebit
apiErrorsSource'AcssDebit ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"address_city" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressCity ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"address_country" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressCountry ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"address_line1" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressLine1 ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"address_line1_check" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressLine1Check ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"address_line2" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressLine2 ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"address_state" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressState ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"address_zip" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressZip ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"address_zip_check" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressZipCheck ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"alipay" Text -> Maybe SourceTypeAlipay -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAlipay
apiErrorsSource'Alipay ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"amount" Text -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Int
apiErrorsSource'Amount ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"au_becs_debit" Text -> Maybe SourceTypeAuBecsDebit -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAuBecsDebit
apiErrorsSource'AuBecsDebit ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"available_payout_methods" Text -> Maybe [ApiErrorsSource'AvailablePayoutMethods'] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe [ApiErrorsSource'AvailablePayoutMethods']
apiErrorsSource'AvailablePayoutMethods ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"bancontact" Text -> Maybe SourceTypeBancontact -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeBancontact
apiErrorsSource'Bancontact ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"bank_name" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'BankName ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"brand" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Brand ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"card" Text -> Maybe SourceTypeCard -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeCard
apiErrorsSource'Card ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"card_present" Text -> Maybe SourceTypeCardPresent -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeCardPresent
apiErrorsSource'CardPresent ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"client_secret" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'ClientSecret ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"code_verification" Text -> Maybe SourceCodeVerificationFlow -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceCodeVerificationFlow
apiErrorsSource'CodeVerification ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"country" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Country ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"created" Text -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Int
apiErrorsSource'Created ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"currency" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Currency ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"customer" Text -> Maybe ApiErrorsSource'Customer'Variants -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Customer'Variants
apiErrorsSource'Customer ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"cvc_check" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'CvcCheck ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"default_for_currency" Text -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Bool
apiErrorsSource'DefaultForCurrency ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"dynamic_last4" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'DynamicLast4 ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"eps" Text -> Maybe SourceTypeEps -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeEps
apiErrorsSource'Eps ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"exp_month" Text -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Int
apiErrorsSource'ExpMonth ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"exp_year" Text -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Int
apiErrorsSource'ExpYear ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"fingerprint" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Fingerprint ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"flow" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Flow ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"funding" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Funding ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"giropay" Text -> Maybe SourceTypeGiropay -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeGiropay
apiErrorsSource'Giropay ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"id" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Id ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"ideal" Text -> Maybe SourceTypeIdeal -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeIdeal
apiErrorsSource'Ideal ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"klarna" Text -> Maybe SourceTypeKlarna -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeKlarna
apiErrorsSource'Klarna ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"last4" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Last4 ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"livemode" Text -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Bool
apiErrorsSource'Livemode ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"metadata" Text -> Maybe Object -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Object
apiErrorsSource'Metadata ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"multibanco" Text -> Maybe SourceTypeMultibanco -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeMultibanco
apiErrorsSource'Multibanco ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"name" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Name ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"object" Text -> Maybe ApiErrorsSource'Object' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Object'
apiErrorsSource'Object ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"owner" Text -> Maybe ApiErrorsSource'Owner' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Owner'
apiErrorsSource'Owner ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"p24" Text -> Maybe SourceTypeP24 -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeP24
apiErrorsSource'P24 ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"receiver" Text -> Maybe SourceReceiverFlow -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceReceiverFlow
apiErrorsSource'Receiver ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"recipient" Text -> Maybe ApiErrorsSource'Recipient'Variants -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Recipient'Variants
apiErrorsSource'Recipient ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"redirect" Text -> Maybe SourceRedirectFlow -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceRedirectFlow
apiErrorsSource'Redirect ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"routing_number" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'RoutingNumber ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"sepa_debit" Text -> Maybe SourceTypeSepaDebit -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeSepaDebit
apiErrorsSource'SepaDebit ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"sofort" Text -> Maybe SourceTypeSofort -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeSofort
apiErrorsSource'Sofort ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"source_order" Text -> Maybe SourceOrder -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceOrder
apiErrorsSource'SourceOrder ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"statement_descriptor" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'StatementDescriptor ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"status" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Status ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"three_d_secure" Text -> Maybe SourceTypeThreeDSecure -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeThreeDSecure
apiErrorsSource'ThreeDSecure ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"tokenization_method" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'TokenizationMethod ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"type" Text -> Maybe ApiErrorsSource'Type' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Type'
apiErrorsSource'Type ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"usage" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Usage ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"wechat" Text -> Maybe SourceTypeWechat -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeWechat
apiErrorsSource'Wechat ApiErrorsSource'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
toEncoding :: ApiErrorsSource' -> Encoding
toEncoding ApiErrorsSource'
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"account" Text -> Maybe ApiErrorsSource'Account'Variants -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Account'Variants
apiErrorsSource'Account ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"account_holder_name" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AccountHolderName ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"account_holder_type" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AccountHolderType ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"ach_credit_transfer" Text -> Maybe SourceTypeAchCreditTransfer -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAchCreditTransfer
apiErrorsSource'AchCreditTransfer ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"ach_debit" Text -> Maybe SourceTypeAchDebit -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAchDebit
apiErrorsSource'AchDebit ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"acss_debit" Text -> Maybe SourceTypeAcssDebit -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAcssDebit
apiErrorsSource'AcssDebit ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"address_city" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressCity ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"address_country" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressCountry ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"address_line1" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressLine1 ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"address_line1_check" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressLine1Check ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"address_line2" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressLine2 ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"address_state" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressState ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"address_zip" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressZip ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"address_zip_check" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'AddressZipCheck ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"alipay" Text -> Maybe SourceTypeAlipay -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAlipay
apiErrorsSource'Alipay ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"amount" Text -> Maybe Int -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Int
apiErrorsSource'Amount ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"au_becs_debit" Text -> Maybe SourceTypeAuBecsDebit -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeAuBecsDebit
apiErrorsSource'AuBecsDebit ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"available_payout_methods" Text -> Maybe [ApiErrorsSource'AvailablePayoutMethods'] -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe [ApiErrorsSource'AvailablePayoutMethods']
apiErrorsSource'AvailablePayoutMethods ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"bancontact" Text -> Maybe SourceTypeBancontact -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeBancontact
apiErrorsSource'Bancontact ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"bank_name" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'BankName ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"brand" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Brand ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"card" Text -> Maybe SourceTypeCard -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeCard
apiErrorsSource'Card ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"card_present" Text -> Maybe SourceTypeCardPresent -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeCardPresent
apiErrorsSource'CardPresent ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"client_secret" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'ClientSecret ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"code_verification" Text -> Maybe SourceCodeVerificationFlow -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceCodeVerificationFlow
apiErrorsSource'CodeVerification ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"country" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Country ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"created" Text -> Maybe Int -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Int
apiErrorsSource'Created ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"currency" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Currency ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"customer" Text -> Maybe ApiErrorsSource'Customer'Variants -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Customer'Variants
apiErrorsSource'Customer ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"cvc_check" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'CvcCheck ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"default_for_currency" Text -> Maybe Bool -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Bool
apiErrorsSource'DefaultForCurrency ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"dynamic_last4" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'DynamicLast4 ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"eps" Text -> Maybe SourceTypeEps -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeEps
apiErrorsSource'Eps ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"exp_month" Text -> Maybe Int -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Int
apiErrorsSource'ExpMonth ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"exp_year" Text -> Maybe Int -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Int
apiErrorsSource'ExpYear ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"fingerprint" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Fingerprint ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"flow" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Flow ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"funding" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Funding ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"giropay" Text -> Maybe SourceTypeGiropay -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeGiropay
apiErrorsSource'Giropay ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"id" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Id ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"ideal" Text -> Maybe SourceTypeIdeal -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeIdeal
apiErrorsSource'Ideal ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"klarna" Text -> Maybe SourceTypeKlarna -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeKlarna
apiErrorsSource'Klarna ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"last4" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Last4 ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"livemode" Text -> Maybe Bool -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Bool
apiErrorsSource'Livemode ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"metadata" Text -> Maybe Object -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Object
apiErrorsSource'Metadata ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"multibanco" Text -> Maybe SourceTypeMultibanco -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeMultibanco
apiErrorsSource'Multibanco ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"name" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Name ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"object" Text -> Maybe ApiErrorsSource'Object' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Object'
apiErrorsSource'Object ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"owner" Text -> Maybe ApiErrorsSource'Owner' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Owner'
apiErrorsSource'Owner ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"p24" Text -> Maybe SourceTypeP24 -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeP24
apiErrorsSource'P24 ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"receiver" Text -> Maybe SourceReceiverFlow -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceReceiverFlow
apiErrorsSource'Receiver ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"recipient" Text -> Maybe ApiErrorsSource'Recipient'Variants -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Recipient'Variants
apiErrorsSource'Recipient ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"redirect" Text -> Maybe SourceRedirectFlow -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceRedirectFlow
apiErrorsSource'Redirect ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"routing_number" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'RoutingNumber ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"sepa_debit" Text -> Maybe SourceTypeSepaDebit -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeSepaDebit
apiErrorsSource'SepaDebit ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"sofort" Text -> Maybe SourceTypeSofort -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeSofort
apiErrorsSource'Sofort ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"source_order" Text -> Maybe SourceOrder -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceOrder
apiErrorsSource'SourceOrder ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"statement_descriptor" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'StatementDescriptor ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"status" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Status ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"three_d_secure" Text -> Maybe SourceTypeThreeDSecure -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeThreeDSecure
apiErrorsSource'ThreeDSecure ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"tokenization_method" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'TokenizationMethod ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"type" Text -> Maybe ApiErrorsSource'Type' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe ApiErrorsSource'Type'
apiErrorsSource'Type ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"usage" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe Text
apiErrorsSource'Usage ApiErrorsSource'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"wechat" Text -> Maybe SourceTypeWechat -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource' -> Maybe SourceTypeWechat
apiErrorsSource'Wechat ApiErrorsSource'
obj))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource' where
parseJSON :: Value -> Parser ApiErrorsSource'
parseJSON = String
-> (Object -> Parser ApiErrorsSource')
-> Value
-> Parser ApiErrorsSource'
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"ApiErrorsSource'" (\Object
obj -> ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((Maybe ApiErrorsSource'Account'Variants
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser
(Maybe ApiErrorsSource'Account'Variants
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe ApiErrorsSource'Account'Variants
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource'
ApiErrorsSource' Parser
(Maybe ApiErrorsSource'Account'Variants
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe ApiErrorsSource'Account'Variants)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe ApiErrorsSource'Account'Variants)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"account")) Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"account_holder_name")) Parser
(Maybe Text
-> Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"account_holder_type")) Parser
(Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeAchCreditTransfer)
-> Parser
(Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeAchCreditTransfer)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"ach_credit_transfer")) Parser
(Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeAchDebit)
-> Parser
(Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeAchDebit)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"ach_debit")) Parser
(Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeAcssDebit)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeAcssDebit)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"acss_debit")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"address_city")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"address_country")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"address_line1")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"address_line1_check")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"address_line2")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"address_state")) Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"address_zip")) Parser
(Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"address_zip_check")) Parser
(Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeAlipay)
-> Parser
(Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeAlipay)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"alipay")) Parser
(Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Int)
-> Parser
(Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"amount")) Parser
(Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeAuBecsDebit)
-> Parser
(Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeAuBecsDebit)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"au_becs_debit")) Parser
(Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe [ApiErrorsSource'AvailablePayoutMethods'])
-> Parser
(Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object
-> Text -> Parser (Maybe [ApiErrorsSource'AvailablePayoutMethods'])
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"available_payout_methods")) Parser
(Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeBancontact)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeBancontact)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"bancontact")) Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"bank_name")) Parser
(Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"brand")) Parser
(Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeCard)
-> Parser
(Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeCard)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"card")) Parser
(Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeCardPresent)
-> Parser
(Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeCardPresent)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"card_present")) Parser
(Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"client_secret")) Parser
(Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceCodeVerificationFlow)
-> Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceCodeVerificationFlow)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"code_verification")) Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"country")) Parser
(Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"created")) Parser
(Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"currency")) Parser
(Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe ApiErrorsSource'Customer'Variants)
-> Parser
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe ApiErrorsSource'Customer'Variants)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"customer")) Parser
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"cvc_check")) Parser
(Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Bool)
-> Parser
(Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"default_for_currency")) Parser
(Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"dynamic_last4")) Parser
(Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeEps)
-> Parser
(Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeEps)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"eps")) Parser
(Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Int)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"exp_month")) Parser
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"exp_year")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"fingerprint")) Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"flow")) Parser
(Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"funding")) Parser
(Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeGiropay)
-> Parser
(Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeGiropay)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"giropay")) Parser
(Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"id")) Parser
(Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeIdeal)
-> Parser
(Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeIdeal)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"ideal")) Parser
(Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeKlarna)
-> Parser
(Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeKlarna)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"klarna")) Parser
(Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"last4")) Parser
(Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Bool)
-> Parser
(Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"livemode")) Parser
(Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Object)
-> Parser
(Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Object)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"metadata")) Parser
(Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeMultibanco)
-> Parser
(Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeMultibanco)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"multibanco")) Parser
(Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"name")) Parser
(Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe ApiErrorsSource'Object')
-> Parser
(Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe ApiErrorsSource'Object')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"object")) Parser
(Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe ApiErrorsSource'Owner')
-> Parser
(Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe ApiErrorsSource'Owner')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"owner")) Parser
(Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeP24)
-> Parser
(Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeP24)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"p24")) Parser
(Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceReceiverFlow)
-> Parser
(Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceReceiverFlow)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"receiver")) Parser
(Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe ApiErrorsSource'Recipient'Variants)
-> Parser
(Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe ApiErrorsSource'Recipient'Variants)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"recipient")) Parser
(Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceRedirectFlow)
-> Parser
(Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceRedirectFlow)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"redirect")) Parser
(Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"routing_number")) Parser
(Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeSepaDebit)
-> Parser
(Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeSepaDebit)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"sepa_debit")) Parser
(Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeSofort)
-> Parser
(Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeSofort)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"sofort")) Parser
(Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceOrder)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceOrder)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"source_order")) Parser
(Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"statement_descriptor")) Parser
(Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
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
"status")) Parser
(Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe SourceTypeThreeDSecure)
-> Parser
(Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeThreeDSecure)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"three_d_secure")) Parser
(Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser
(Maybe ApiErrorsSource'Type'
-> Maybe Text -> Maybe SourceTypeWechat -> ApiErrorsSource')
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
"tokenization_method")) Parser
(Maybe ApiErrorsSource'Type'
-> Maybe Text -> Maybe SourceTypeWechat -> ApiErrorsSource')
-> Parser (Maybe ApiErrorsSource'Type')
-> Parser
(Maybe Text -> Maybe SourceTypeWechat -> ApiErrorsSource')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe ApiErrorsSource'Type')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"type")) Parser (Maybe Text -> Maybe SourceTypeWechat -> ApiErrorsSource')
-> Parser (Maybe Text)
-> Parser (Maybe SourceTypeWechat -> ApiErrorsSource')
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
"usage")) Parser (Maybe SourceTypeWechat -> ApiErrorsSource')
-> Parser (Maybe SourceTypeWechat) -> Parser ApiErrorsSource'
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe SourceTypeWechat)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"wechat"))
mkApiErrorsSource' :: ApiErrorsSource'
=
ApiErrorsSource' :: Maybe ApiErrorsSource'Account'Variants
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAchCreditTransfer
-> Maybe SourceTypeAchDebit
-> Maybe SourceTypeAcssDebit
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeAlipay
-> Maybe Int
-> Maybe SourceTypeAuBecsDebit
-> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-> Maybe SourceTypeBancontact
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeCard
-> Maybe SourceTypeCardPresent
-> Maybe Text
-> Maybe SourceCodeVerificationFlow
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe ApiErrorsSource'Customer'Variants
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe SourceTypeEps
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeGiropay
-> Maybe Text
-> Maybe SourceTypeIdeal
-> Maybe SourceTypeKlarna
-> Maybe Text
-> Maybe Bool
-> Maybe Object
-> Maybe SourceTypeMultibanco
-> Maybe Text
-> Maybe ApiErrorsSource'Object'
-> Maybe ApiErrorsSource'Owner'
-> Maybe SourceTypeP24
-> Maybe SourceReceiverFlow
-> Maybe ApiErrorsSource'Recipient'Variants
-> Maybe SourceRedirectFlow
-> Maybe Text
-> Maybe SourceTypeSepaDebit
-> Maybe SourceTypeSofort
-> Maybe SourceOrder
-> Maybe Text
-> Maybe Text
-> Maybe SourceTypeThreeDSecure
-> Maybe Text
-> Maybe ApiErrorsSource'Type'
-> Maybe Text
-> Maybe SourceTypeWechat
-> ApiErrorsSource'
ApiErrorsSource'
{ apiErrorsSource'Account :: Maybe ApiErrorsSource'Account'Variants
apiErrorsSource'Account = Maybe ApiErrorsSource'Account'Variants
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AccountHolderName :: Maybe Text
apiErrorsSource'AccountHolderName = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AccountHolderType :: Maybe Text
apiErrorsSource'AccountHolderType = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AchCreditTransfer :: Maybe SourceTypeAchCreditTransfer
apiErrorsSource'AchCreditTransfer = Maybe SourceTypeAchCreditTransfer
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AchDebit :: Maybe SourceTypeAchDebit
apiErrorsSource'AchDebit = Maybe SourceTypeAchDebit
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AcssDebit :: Maybe SourceTypeAcssDebit
apiErrorsSource'AcssDebit = Maybe SourceTypeAcssDebit
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AddressCity :: Maybe Text
apiErrorsSource'AddressCity = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AddressCountry :: Maybe Text
apiErrorsSource'AddressCountry = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AddressLine1 :: Maybe Text
apiErrorsSource'AddressLine1 = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AddressLine1Check :: Maybe Text
apiErrorsSource'AddressLine1Check = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AddressLine2 :: Maybe Text
apiErrorsSource'AddressLine2 = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AddressState :: Maybe Text
apiErrorsSource'AddressState = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AddressZip :: Maybe Text
apiErrorsSource'AddressZip = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AddressZipCheck :: Maybe Text
apiErrorsSource'AddressZipCheck = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Alipay :: Maybe SourceTypeAlipay
apiErrorsSource'Alipay = Maybe SourceTypeAlipay
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Amount :: Maybe Int
apiErrorsSource'Amount = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AuBecsDebit :: Maybe SourceTypeAuBecsDebit
apiErrorsSource'AuBecsDebit = Maybe SourceTypeAuBecsDebit
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'AvailablePayoutMethods :: Maybe [ApiErrorsSource'AvailablePayoutMethods']
apiErrorsSource'AvailablePayoutMethods = Maybe [ApiErrorsSource'AvailablePayoutMethods']
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Bancontact :: Maybe SourceTypeBancontact
apiErrorsSource'Bancontact = Maybe SourceTypeBancontact
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'BankName :: Maybe Text
apiErrorsSource'BankName = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Brand :: Maybe Text
apiErrorsSource'Brand = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Card :: Maybe SourceTypeCard
apiErrorsSource'Card = Maybe SourceTypeCard
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'CardPresent :: Maybe SourceTypeCardPresent
apiErrorsSource'CardPresent = Maybe SourceTypeCardPresent
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'ClientSecret :: Maybe Text
apiErrorsSource'ClientSecret = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'CodeVerification :: Maybe SourceCodeVerificationFlow
apiErrorsSource'CodeVerification = Maybe SourceCodeVerificationFlow
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Country :: Maybe Text
apiErrorsSource'Country = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Created :: Maybe Int
apiErrorsSource'Created = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Currency :: Maybe Text
apiErrorsSource'Currency = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Customer :: Maybe ApiErrorsSource'Customer'Variants
apiErrorsSource'Customer = Maybe ApiErrorsSource'Customer'Variants
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'CvcCheck :: Maybe Text
apiErrorsSource'CvcCheck = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'DefaultForCurrency :: Maybe Bool
apiErrorsSource'DefaultForCurrency = Maybe Bool
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'DynamicLast4 :: Maybe Text
apiErrorsSource'DynamicLast4 = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Eps :: Maybe SourceTypeEps
apiErrorsSource'Eps = Maybe SourceTypeEps
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'ExpMonth :: Maybe Int
apiErrorsSource'ExpMonth = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'ExpYear :: Maybe Int
apiErrorsSource'ExpYear = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Fingerprint :: Maybe Text
apiErrorsSource'Fingerprint = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Flow :: Maybe Text
apiErrorsSource'Flow = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Funding :: Maybe Text
apiErrorsSource'Funding = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Giropay :: Maybe SourceTypeGiropay
apiErrorsSource'Giropay = Maybe SourceTypeGiropay
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Id :: Maybe Text
apiErrorsSource'Id = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Ideal :: Maybe SourceTypeIdeal
apiErrorsSource'Ideal = Maybe SourceTypeIdeal
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Klarna :: Maybe SourceTypeKlarna
apiErrorsSource'Klarna = Maybe SourceTypeKlarna
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Last4 :: Maybe Text
apiErrorsSource'Last4 = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Livemode :: Maybe Bool
apiErrorsSource'Livemode = Maybe Bool
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Metadata :: Maybe Object
apiErrorsSource'Metadata = Maybe Object
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Multibanco :: Maybe SourceTypeMultibanco
apiErrorsSource'Multibanco = Maybe SourceTypeMultibanco
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Name :: Maybe Text
apiErrorsSource'Name = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Object :: Maybe ApiErrorsSource'Object'
apiErrorsSource'Object = Maybe ApiErrorsSource'Object'
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner :: Maybe ApiErrorsSource'Owner'
apiErrorsSource'Owner = Maybe ApiErrorsSource'Owner'
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'P24 :: Maybe SourceTypeP24
apiErrorsSource'P24 = Maybe SourceTypeP24
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Receiver :: Maybe SourceReceiverFlow
apiErrorsSource'Receiver = Maybe SourceReceiverFlow
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Recipient :: Maybe ApiErrorsSource'Recipient'Variants
apiErrorsSource'Recipient = Maybe ApiErrorsSource'Recipient'Variants
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Redirect :: Maybe SourceRedirectFlow
apiErrorsSource'Redirect = Maybe SourceRedirectFlow
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'RoutingNumber :: Maybe Text
apiErrorsSource'RoutingNumber = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'SepaDebit :: Maybe SourceTypeSepaDebit
apiErrorsSource'SepaDebit = Maybe SourceTypeSepaDebit
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Sofort :: Maybe SourceTypeSofort
apiErrorsSource'Sofort = Maybe SourceTypeSofort
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'SourceOrder :: Maybe SourceOrder
apiErrorsSource'SourceOrder = Maybe SourceOrder
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'StatementDescriptor :: Maybe Text
apiErrorsSource'StatementDescriptor = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Status :: Maybe Text
apiErrorsSource'Status = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'ThreeDSecure :: Maybe SourceTypeThreeDSecure
apiErrorsSource'ThreeDSecure = Maybe SourceTypeThreeDSecure
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'TokenizationMethod :: Maybe Text
apiErrorsSource'TokenizationMethod = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Type :: Maybe ApiErrorsSource'Type'
apiErrorsSource'Type = Maybe ApiErrorsSource'Type'
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Usage :: Maybe Text
apiErrorsSource'Usage = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Wechat :: Maybe SourceTypeWechat
apiErrorsSource'Wechat = Maybe SourceTypeWechat
forall a. Maybe a
GHC.Maybe.Nothing
}
data
= Data.Text.Internal.Text
| Account
deriving (Int -> ApiErrorsSource'Account'Variants -> ShowS
[ApiErrorsSource'Account'Variants] -> ShowS
ApiErrorsSource'Account'Variants -> String
(Int -> ApiErrorsSource'Account'Variants -> ShowS)
-> (ApiErrorsSource'Account'Variants -> String)
-> ([ApiErrorsSource'Account'Variants] -> ShowS)
-> Show ApiErrorsSource'Account'Variants
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'Account'Variants] -> ShowS
$cshowList :: [ApiErrorsSource'Account'Variants] -> ShowS
show :: ApiErrorsSource'Account'Variants -> String
$cshow :: ApiErrorsSource'Account'Variants -> String
showsPrec :: Int -> ApiErrorsSource'Account'Variants -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource'Account'Variants -> ShowS
GHC.Show.Show, ApiErrorsSource'Account'Variants
-> ApiErrorsSource'Account'Variants -> Bool
(ApiErrorsSource'Account'Variants
-> ApiErrorsSource'Account'Variants -> Bool)
-> (ApiErrorsSource'Account'Variants
-> ApiErrorsSource'Account'Variants -> Bool)
-> Eq ApiErrorsSource'Account'Variants
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource'Account'Variants
-> ApiErrorsSource'Account'Variants -> Bool
$c/= :: ApiErrorsSource'Account'Variants
-> ApiErrorsSource'Account'Variants -> Bool
== :: ApiErrorsSource'Account'Variants
-> ApiErrorsSource'Account'Variants -> Bool
$c== :: ApiErrorsSource'Account'Variants
-> ApiErrorsSource'Account'Variants -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource'Account'Variants where
toJSON :: ApiErrorsSource'Account'Variants -> Value
toJSON (ApiErrorsSource'Account'Text Text
a) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
a
toJSON (ApiErrorsSource'Account'Account Account
a) = Account -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Account
a
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource'Account'Variants where
parseJSON :: Value -> Parser ApiErrorsSource'Account'Variants
parseJSON Value
val = case (Text -> ApiErrorsSource'Account'Variants
ApiErrorsSource'Account'Text (Text -> ApiErrorsSource'Account'Variants)
-> Result Text -> Result ApiErrorsSource'Account'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result Text
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result ApiErrorsSource'Account'Variants
-> Result ApiErrorsSource'Account'Variants
-> Result ApiErrorsSource'Account'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> ((Account -> ApiErrorsSource'Account'Variants
ApiErrorsSource'Account'Account (Account -> ApiErrorsSource'Account'Variants)
-> Result Account -> Result ApiErrorsSource'Account'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result Account
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result ApiErrorsSource'Account'Variants
-> Result ApiErrorsSource'Account'Variants
-> Result ApiErrorsSource'Account'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> String -> Result ApiErrorsSource'Account'Variants
forall a. String -> Result a
Data.Aeson.Types.Internal.Error String
"No variant matched") of
Data.Aeson.Types.Internal.Success ApiErrorsSource'Account'Variants
a -> ApiErrorsSource'Account'Variants
-> Parser ApiErrorsSource'Account'Variants
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure ApiErrorsSource'Account'Variants
a
Data.Aeson.Types.Internal.Error String
a -> String -> Parser ApiErrorsSource'Account'Variants
forall (m :: * -> *) a. MonadFail m => String -> m a
Control.Monad.Fail.fail String
a
data
=
Data.Aeson.Types.Internal.Value
|
Data.Text.Internal.Text
|
|
ApiErrorsSource'AvailablePayoutMethods'EnumStandard
deriving (Int -> ApiErrorsSource'AvailablePayoutMethods' -> ShowS
[ApiErrorsSource'AvailablePayoutMethods'] -> ShowS
ApiErrorsSource'AvailablePayoutMethods' -> String
(Int -> ApiErrorsSource'AvailablePayoutMethods' -> ShowS)
-> (ApiErrorsSource'AvailablePayoutMethods' -> String)
-> ([ApiErrorsSource'AvailablePayoutMethods'] -> ShowS)
-> Show ApiErrorsSource'AvailablePayoutMethods'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'AvailablePayoutMethods'] -> ShowS
$cshowList :: [ApiErrorsSource'AvailablePayoutMethods'] -> ShowS
show :: ApiErrorsSource'AvailablePayoutMethods' -> String
$cshow :: ApiErrorsSource'AvailablePayoutMethods' -> String
showsPrec :: Int -> ApiErrorsSource'AvailablePayoutMethods' -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource'AvailablePayoutMethods' -> ShowS
GHC.Show.Show, ApiErrorsSource'AvailablePayoutMethods'
-> ApiErrorsSource'AvailablePayoutMethods' -> Bool
(ApiErrorsSource'AvailablePayoutMethods'
-> ApiErrorsSource'AvailablePayoutMethods' -> Bool)
-> (ApiErrorsSource'AvailablePayoutMethods'
-> ApiErrorsSource'AvailablePayoutMethods' -> Bool)
-> Eq ApiErrorsSource'AvailablePayoutMethods'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource'AvailablePayoutMethods'
-> ApiErrorsSource'AvailablePayoutMethods' -> Bool
$c/= :: ApiErrorsSource'AvailablePayoutMethods'
-> ApiErrorsSource'AvailablePayoutMethods' -> Bool
== :: ApiErrorsSource'AvailablePayoutMethods'
-> ApiErrorsSource'AvailablePayoutMethods' -> Bool
$c== :: ApiErrorsSource'AvailablePayoutMethods'
-> ApiErrorsSource'AvailablePayoutMethods' -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource'AvailablePayoutMethods' where
toJSON :: ApiErrorsSource'AvailablePayoutMethods' -> Value
toJSON (ApiErrorsSource'AvailablePayoutMethods'Other Value
val) = Value
val
toJSON (ApiErrorsSource'AvailablePayoutMethods'Typed Text
val) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
val
toJSON (ApiErrorsSource'AvailablePayoutMethods'
ApiErrorsSource'AvailablePayoutMethods'EnumInstant) = Value
"instant"
toJSON (ApiErrorsSource'AvailablePayoutMethods'
ApiErrorsSource'AvailablePayoutMethods'EnumStandard) = Value
"standard"
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource'AvailablePayoutMethods' where
parseJSON :: Value -> Parser ApiErrorsSource'AvailablePayoutMethods'
parseJSON Value
val =
ApiErrorsSource'AvailablePayoutMethods'
-> Parser ApiErrorsSource'AvailablePayoutMethods'
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
"instant" -> ApiErrorsSource'AvailablePayoutMethods'
ApiErrorsSource'AvailablePayoutMethods'EnumInstant
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"standard" -> ApiErrorsSource'AvailablePayoutMethods'
ApiErrorsSource'AvailablePayoutMethods'EnumStandard
| Bool
GHC.Base.otherwise -> Value -> ApiErrorsSource'AvailablePayoutMethods'
ApiErrorsSource'AvailablePayoutMethods'Other Value
val
)
data
= Data.Text.Internal.Text
| Customer
| DeletedCustomer
deriving (Int -> ApiErrorsSource'Customer'Variants -> ShowS
[ApiErrorsSource'Customer'Variants] -> ShowS
ApiErrorsSource'Customer'Variants -> String
(Int -> ApiErrorsSource'Customer'Variants -> ShowS)
-> (ApiErrorsSource'Customer'Variants -> String)
-> ([ApiErrorsSource'Customer'Variants] -> ShowS)
-> Show ApiErrorsSource'Customer'Variants
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'Customer'Variants] -> ShowS
$cshowList :: [ApiErrorsSource'Customer'Variants] -> ShowS
show :: ApiErrorsSource'Customer'Variants -> String
$cshow :: ApiErrorsSource'Customer'Variants -> String
showsPrec :: Int -> ApiErrorsSource'Customer'Variants -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource'Customer'Variants -> ShowS
GHC.Show.Show, ApiErrorsSource'Customer'Variants
-> ApiErrorsSource'Customer'Variants -> Bool
(ApiErrorsSource'Customer'Variants
-> ApiErrorsSource'Customer'Variants -> Bool)
-> (ApiErrorsSource'Customer'Variants
-> ApiErrorsSource'Customer'Variants -> Bool)
-> Eq ApiErrorsSource'Customer'Variants
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource'Customer'Variants
-> ApiErrorsSource'Customer'Variants -> Bool
$c/= :: ApiErrorsSource'Customer'Variants
-> ApiErrorsSource'Customer'Variants -> Bool
== :: ApiErrorsSource'Customer'Variants
-> ApiErrorsSource'Customer'Variants -> Bool
$c== :: ApiErrorsSource'Customer'Variants
-> ApiErrorsSource'Customer'Variants -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource'Customer'Variants where
toJSON :: ApiErrorsSource'Customer'Variants -> Value
toJSON (ApiErrorsSource'Customer'Text Text
a) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
a
toJSON (ApiErrorsSource'Customer'Customer Customer
a) = Customer -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Customer
a
toJSON (ApiErrorsSource'Customer'DeletedCustomer DeletedCustomer
a) = DeletedCustomer -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON DeletedCustomer
a
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource'Customer'Variants where
parseJSON :: Value -> Parser ApiErrorsSource'Customer'Variants
parseJSON Value
val = case (Text -> ApiErrorsSource'Customer'Variants
ApiErrorsSource'Customer'Text (Text -> ApiErrorsSource'Customer'Variants)
-> Result Text -> Result ApiErrorsSource'Customer'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result Text
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result ApiErrorsSource'Customer'Variants
-> Result ApiErrorsSource'Customer'Variants
-> Result ApiErrorsSource'Customer'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> ((Customer -> ApiErrorsSource'Customer'Variants
ApiErrorsSource'Customer'Customer (Customer -> ApiErrorsSource'Customer'Variants)
-> Result Customer -> Result ApiErrorsSource'Customer'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result Customer
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result ApiErrorsSource'Customer'Variants
-> Result ApiErrorsSource'Customer'Variants
-> Result ApiErrorsSource'Customer'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> ((DeletedCustomer -> ApiErrorsSource'Customer'Variants
ApiErrorsSource'Customer'DeletedCustomer (DeletedCustomer -> ApiErrorsSource'Customer'Variants)
-> Result DeletedCustomer
-> Result ApiErrorsSource'Customer'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result DeletedCustomer
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result ApiErrorsSource'Customer'Variants
-> Result ApiErrorsSource'Customer'Variants
-> Result ApiErrorsSource'Customer'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> String -> Result ApiErrorsSource'Customer'Variants
forall a. String -> Result a
Data.Aeson.Types.Internal.Error String
"No variant matched")) of
Data.Aeson.Types.Internal.Success ApiErrorsSource'Customer'Variants
a -> ApiErrorsSource'Customer'Variants
-> Parser ApiErrorsSource'Customer'Variants
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure ApiErrorsSource'Customer'Variants
a
Data.Aeson.Types.Internal.Error String
a -> String -> Parser ApiErrorsSource'Customer'Variants
forall (m :: * -> *) a. MonadFail m => String -> m a
Control.Monad.Fail.fail String
a
data
=
Data.Aeson.Types.Internal.Value
|
Data.Text.Internal.Text
|
deriving (Int -> ApiErrorsSource'Object' -> ShowS
[ApiErrorsSource'Object'] -> ShowS
ApiErrorsSource'Object' -> String
(Int -> ApiErrorsSource'Object' -> ShowS)
-> (ApiErrorsSource'Object' -> String)
-> ([ApiErrorsSource'Object'] -> ShowS)
-> Show ApiErrorsSource'Object'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'Object'] -> ShowS
$cshowList :: [ApiErrorsSource'Object'] -> ShowS
show :: ApiErrorsSource'Object' -> String
$cshow :: ApiErrorsSource'Object' -> String
showsPrec :: Int -> ApiErrorsSource'Object' -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource'Object' -> ShowS
GHC.Show.Show, ApiErrorsSource'Object' -> ApiErrorsSource'Object' -> Bool
(ApiErrorsSource'Object' -> ApiErrorsSource'Object' -> Bool)
-> (ApiErrorsSource'Object' -> ApiErrorsSource'Object' -> Bool)
-> Eq ApiErrorsSource'Object'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource'Object' -> ApiErrorsSource'Object' -> Bool
$c/= :: ApiErrorsSource'Object' -> ApiErrorsSource'Object' -> Bool
== :: ApiErrorsSource'Object' -> ApiErrorsSource'Object' -> Bool
$c== :: ApiErrorsSource'Object' -> ApiErrorsSource'Object' -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource'Object' where
toJSON :: ApiErrorsSource'Object' -> Value
toJSON (ApiErrorsSource'Object'Other Value
val) = Value
val
toJSON (ApiErrorsSource'Object'Typed Text
val) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
val
toJSON (ApiErrorsSource'Object'
ApiErrorsSource'Object'EnumBankAccount) = Value
"bank_account"
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource'Object' where
parseJSON :: Value -> Parser ApiErrorsSource'Object'
parseJSON Value
val =
ApiErrorsSource'Object' -> Parser ApiErrorsSource'Object'
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
"bank_account" -> ApiErrorsSource'Object'
ApiErrorsSource'Object'EnumBankAccount
| Bool
GHC.Base.otherwise -> Value -> ApiErrorsSource'Object'
ApiErrorsSource'Object'Other Value
val
)
data =
{
:: (GHC.Maybe.Maybe ApiErrorsSource'Owner'Address'),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe ApiErrorsSource'Owner'VerifiedAddress'),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text)
}
deriving
( Int -> ApiErrorsSource'Owner' -> ShowS
[ApiErrorsSource'Owner'] -> ShowS
ApiErrorsSource'Owner' -> String
(Int -> ApiErrorsSource'Owner' -> ShowS)
-> (ApiErrorsSource'Owner' -> String)
-> ([ApiErrorsSource'Owner'] -> ShowS)
-> Show ApiErrorsSource'Owner'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'Owner'] -> ShowS
$cshowList :: [ApiErrorsSource'Owner'] -> ShowS
show :: ApiErrorsSource'Owner' -> String
$cshow :: ApiErrorsSource'Owner' -> String
showsPrec :: Int -> ApiErrorsSource'Owner' -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource'Owner' -> ShowS
GHC.Show.Show,
ApiErrorsSource'Owner' -> ApiErrorsSource'Owner' -> Bool
(ApiErrorsSource'Owner' -> ApiErrorsSource'Owner' -> Bool)
-> (ApiErrorsSource'Owner' -> ApiErrorsSource'Owner' -> Bool)
-> Eq ApiErrorsSource'Owner'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource'Owner' -> ApiErrorsSource'Owner' -> Bool
$c/= :: ApiErrorsSource'Owner' -> ApiErrorsSource'Owner' -> Bool
== :: ApiErrorsSource'Owner' -> ApiErrorsSource'Owner' -> Bool
$c== :: ApiErrorsSource'Owner' -> ApiErrorsSource'Owner' -> Bool
GHC.Classes.Eq
)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource'Owner' where
toJSON :: ApiErrorsSource'Owner' -> Value
toJSON ApiErrorsSource'Owner'
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"address" Text -> Maybe ApiErrorsSource'Owner'Address' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe ApiErrorsSource'Owner'Address'
apiErrorsSource'Owner'Address ApiErrorsSource'Owner'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"email" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'Email ApiErrorsSource'Owner'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"name" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'Name ApiErrorsSource'Owner'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"phone" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'Phone ApiErrorsSource'Owner'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"verified_address" Text -> Maybe ApiErrorsSource'Owner'VerifiedAddress' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
apiErrorsSource'Owner'VerifiedAddress ApiErrorsSource'Owner'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"verified_email" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'VerifiedEmail ApiErrorsSource'Owner'
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..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'VerifiedName ApiErrorsSource'Owner'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"verified_phone" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'VerifiedPhone ApiErrorsSource'Owner'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
toEncoding :: ApiErrorsSource'Owner' -> Encoding
toEncoding ApiErrorsSource'Owner'
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"address" Text -> Maybe ApiErrorsSource'Owner'Address' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe ApiErrorsSource'Owner'Address'
apiErrorsSource'Owner'Address ApiErrorsSource'Owner'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"email" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'Email ApiErrorsSource'Owner'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"name" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'Name ApiErrorsSource'Owner'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"phone" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'Phone ApiErrorsSource'Owner'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"verified_address" Text -> Maybe ApiErrorsSource'Owner'VerifiedAddress' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
apiErrorsSource'Owner'VerifiedAddress ApiErrorsSource'Owner'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"verified_email" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'VerifiedEmail ApiErrorsSource'Owner'
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..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'VerifiedName ApiErrorsSource'Owner'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"verified_phone" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner' -> Maybe Text
apiErrorsSource'Owner'VerifiedPhone ApiErrorsSource'Owner'
obj))))))))
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource'Owner' where
parseJSON :: Value -> Parser ApiErrorsSource'Owner'
parseJSON = String
-> (Object -> Parser ApiErrorsSource'Owner')
-> Value
-> Parser ApiErrorsSource'Owner'
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"ApiErrorsSource'Owner'" (\Object
obj -> ((((((((Maybe ApiErrorsSource'Owner'Address'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
-> Parser
(Maybe ApiErrorsSource'Owner'Address'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe ApiErrorsSource'Owner'Address'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'
ApiErrorsSource'Owner' Parser
(Maybe ApiErrorsSource'Owner'Address'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
-> Parser (Maybe ApiErrorsSource'Owner'Address')
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe ApiErrorsSource'Owner'Address')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"address")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
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
"email")) Parser
(Maybe Text
-> Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
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
"name")) Parser
(Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
-> Parser (Maybe Text)
-> Parser
(Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
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
"phone")) Parser
(Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner')
-> Parser (Maybe ApiErrorsSource'Owner'VerifiedAddress')
-> Parser
(Maybe Text -> Maybe Text -> Maybe Text -> ApiErrorsSource'Owner')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object
-> Text -> Parser (Maybe ApiErrorsSource'Owner'VerifiedAddress')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"verified_address")) Parser
(Maybe Text -> Maybe Text -> Maybe Text -> ApiErrorsSource'Owner')
-> Parser (Maybe Text)
-> Parser (Maybe Text -> Maybe Text -> ApiErrorsSource'Owner')
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_email")) Parser (Maybe Text -> Maybe Text -> ApiErrorsSource'Owner')
-> Parser (Maybe Text)
-> Parser (Maybe Text -> ApiErrorsSource'Owner')
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")) Parser (Maybe Text -> ApiErrorsSource'Owner')
-> Parser (Maybe Text) -> Parser ApiErrorsSource'Owner'
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_phone"))
mkApiErrorsSource'Owner' :: ApiErrorsSource'Owner'
=
ApiErrorsSource'Owner' :: Maybe ApiErrorsSource'Owner'Address'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'
ApiErrorsSource'Owner'
{ apiErrorsSource'Owner'Address :: Maybe ApiErrorsSource'Owner'Address'
apiErrorsSource'Owner'Address = Maybe ApiErrorsSource'Owner'Address'
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'Email :: Maybe Text
apiErrorsSource'Owner'Email = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'Name :: Maybe Text
apiErrorsSource'Owner'Name = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'Phone :: Maybe Text
apiErrorsSource'Owner'Phone = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'VerifiedAddress :: Maybe ApiErrorsSource'Owner'VerifiedAddress'
apiErrorsSource'Owner'VerifiedAddress = Maybe ApiErrorsSource'Owner'VerifiedAddress'
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'VerifiedEmail :: Maybe Text
apiErrorsSource'Owner'VerifiedEmail = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'VerifiedName :: Maybe Text
apiErrorsSource'Owner'VerifiedName = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'VerifiedPhone :: Maybe Text
apiErrorsSource'Owner'VerifiedPhone = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing
}
data =
{
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text)
}
deriving
( Int -> ApiErrorsSource'Owner'Address' -> ShowS
[ApiErrorsSource'Owner'Address'] -> ShowS
ApiErrorsSource'Owner'Address' -> String
(Int -> ApiErrorsSource'Owner'Address' -> ShowS)
-> (ApiErrorsSource'Owner'Address' -> String)
-> ([ApiErrorsSource'Owner'Address'] -> ShowS)
-> Show ApiErrorsSource'Owner'Address'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'Owner'Address'] -> ShowS
$cshowList :: [ApiErrorsSource'Owner'Address'] -> ShowS
show :: ApiErrorsSource'Owner'Address' -> String
$cshow :: ApiErrorsSource'Owner'Address' -> String
showsPrec :: Int -> ApiErrorsSource'Owner'Address' -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource'Owner'Address' -> ShowS
GHC.Show.Show,
ApiErrorsSource'Owner'Address'
-> ApiErrorsSource'Owner'Address' -> Bool
(ApiErrorsSource'Owner'Address'
-> ApiErrorsSource'Owner'Address' -> Bool)
-> (ApiErrorsSource'Owner'Address'
-> ApiErrorsSource'Owner'Address' -> Bool)
-> Eq ApiErrorsSource'Owner'Address'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource'Owner'Address'
-> ApiErrorsSource'Owner'Address' -> Bool
$c/= :: ApiErrorsSource'Owner'Address'
-> ApiErrorsSource'Owner'Address' -> Bool
== :: ApiErrorsSource'Owner'Address'
-> ApiErrorsSource'Owner'Address' -> Bool
$c== :: ApiErrorsSource'Owner'Address'
-> ApiErrorsSource'Owner'Address' -> Bool
GHC.Classes.Eq
)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource'Owner'Address' where
toJSON :: ApiErrorsSource'Owner'Address' -> Value
toJSON ApiErrorsSource'Owner'Address'
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"city" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'City ApiErrorsSource'Owner'Address'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"country" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'Country ApiErrorsSource'Owner'Address'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"line1" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'Line1 ApiErrorsSource'Owner'Address'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"line2" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'Line2 ApiErrorsSource'Owner'Address'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"postal_code" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'PostalCode ApiErrorsSource'Owner'Address'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"state" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'State ApiErrorsSource'Owner'Address'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
toEncoding :: ApiErrorsSource'Owner'Address' -> Encoding
toEncoding ApiErrorsSource'Owner'Address'
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"city" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'City ApiErrorsSource'Owner'Address'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"country" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'Country ApiErrorsSource'Owner'Address'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"line1" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'Line1 ApiErrorsSource'Owner'Address'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"line2" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'Line2 ApiErrorsSource'Owner'Address'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"postal_code" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'PostalCode ApiErrorsSource'Owner'Address'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"state" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'Address' -> Maybe Text
apiErrorsSource'Owner'Address'State ApiErrorsSource'Owner'Address'
obj))))))
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource'Owner'Address' where
parseJSON :: Value -> Parser ApiErrorsSource'Owner'Address'
parseJSON = String
-> (Object -> Parser ApiErrorsSource'Owner'Address')
-> Value
-> Parser ApiErrorsSource'Owner'Address'
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"ApiErrorsSource'Owner'Address'" (\Object
obj -> ((((((Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'Address')
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'Address')
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'Address'
ApiErrorsSource'Owner'Address' Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'Address')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'Address')
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
"city")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'Address')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'Address')
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
"country")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'Address')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text -> Maybe Text -> ApiErrorsSource'Owner'Address')
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
"line1")) Parser
(Maybe Text
-> Maybe Text -> Maybe Text -> ApiErrorsSource'Owner'Address')
-> Parser (Maybe Text)
-> Parser
(Maybe Text -> Maybe Text -> ApiErrorsSource'Owner'Address')
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
"line2")) Parser (Maybe Text -> Maybe Text -> ApiErrorsSource'Owner'Address')
-> Parser (Maybe Text)
-> Parser (Maybe Text -> ApiErrorsSource'Owner'Address')
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
"postal_code")) Parser (Maybe Text -> ApiErrorsSource'Owner'Address')
-> Parser (Maybe Text) -> Parser ApiErrorsSource'Owner'Address'
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
"state"))
mkApiErrorsSource'Owner'Address' :: ApiErrorsSource'Owner'Address'
=
ApiErrorsSource'Owner'Address' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'Address'
ApiErrorsSource'Owner'Address'
{ apiErrorsSource'Owner'Address'City :: Maybe Text
apiErrorsSource'Owner'Address'City = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'Address'Country :: Maybe Text
apiErrorsSource'Owner'Address'Country = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'Address'Line1 :: Maybe Text
apiErrorsSource'Owner'Address'Line1 = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'Address'Line2 :: Maybe Text
apiErrorsSource'Owner'Address'Line2 = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'Address'PostalCode :: Maybe Text
apiErrorsSource'Owner'Address'PostalCode = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'Address'State :: Maybe Text
apiErrorsSource'Owner'Address'State = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing
}
data =
{
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text),
:: (GHC.Maybe.Maybe Data.Text.Internal.Text)
}
deriving
( Int -> ApiErrorsSource'Owner'VerifiedAddress' -> ShowS
[ApiErrorsSource'Owner'VerifiedAddress'] -> ShowS
ApiErrorsSource'Owner'VerifiedAddress' -> String
(Int -> ApiErrorsSource'Owner'VerifiedAddress' -> ShowS)
-> (ApiErrorsSource'Owner'VerifiedAddress' -> String)
-> ([ApiErrorsSource'Owner'VerifiedAddress'] -> ShowS)
-> Show ApiErrorsSource'Owner'VerifiedAddress'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'Owner'VerifiedAddress'] -> ShowS
$cshowList :: [ApiErrorsSource'Owner'VerifiedAddress'] -> ShowS
show :: ApiErrorsSource'Owner'VerifiedAddress' -> String
$cshow :: ApiErrorsSource'Owner'VerifiedAddress' -> String
showsPrec :: Int -> ApiErrorsSource'Owner'VerifiedAddress' -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource'Owner'VerifiedAddress' -> ShowS
GHC.Show.Show,
ApiErrorsSource'Owner'VerifiedAddress'
-> ApiErrorsSource'Owner'VerifiedAddress' -> Bool
(ApiErrorsSource'Owner'VerifiedAddress'
-> ApiErrorsSource'Owner'VerifiedAddress' -> Bool)
-> (ApiErrorsSource'Owner'VerifiedAddress'
-> ApiErrorsSource'Owner'VerifiedAddress' -> Bool)
-> Eq ApiErrorsSource'Owner'VerifiedAddress'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource'Owner'VerifiedAddress'
-> ApiErrorsSource'Owner'VerifiedAddress' -> Bool
$c/= :: ApiErrorsSource'Owner'VerifiedAddress'
-> ApiErrorsSource'Owner'VerifiedAddress' -> Bool
== :: ApiErrorsSource'Owner'VerifiedAddress'
-> ApiErrorsSource'Owner'VerifiedAddress' -> Bool
$c== :: ApiErrorsSource'Owner'VerifiedAddress'
-> ApiErrorsSource'Owner'VerifiedAddress' -> Bool
GHC.Classes.Eq
)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource'Owner'VerifiedAddress' where
toJSON :: ApiErrorsSource'Owner'VerifiedAddress' -> Value
toJSON ApiErrorsSource'Owner'VerifiedAddress'
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"city" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'City ApiErrorsSource'Owner'VerifiedAddress'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"country" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'Country ApiErrorsSource'Owner'VerifiedAddress'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"line1" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'Line1 ApiErrorsSource'Owner'VerifiedAddress'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"line2" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'Line2 ApiErrorsSource'Owner'VerifiedAddress'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"postal_code" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'PostalCode ApiErrorsSource'Owner'VerifiedAddress'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"state" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'State ApiErrorsSource'Owner'VerifiedAddress'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
toEncoding :: ApiErrorsSource'Owner'VerifiedAddress' -> Encoding
toEncoding ApiErrorsSource'Owner'VerifiedAddress'
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"city" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'City ApiErrorsSource'Owner'VerifiedAddress'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"country" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'Country ApiErrorsSource'Owner'VerifiedAddress'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"line1" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'Line1 ApiErrorsSource'Owner'VerifiedAddress'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"line2" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'Line2 ApiErrorsSource'Owner'VerifiedAddress'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"postal_code" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'PostalCode ApiErrorsSource'Owner'VerifiedAddress'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"state" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
apiErrorsSource'Owner'VerifiedAddress'State ApiErrorsSource'Owner'VerifiedAddress'
obj))))))
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource'Owner'VerifiedAddress' where
parseJSON :: Value -> Parser ApiErrorsSource'Owner'VerifiedAddress'
parseJSON = String
-> (Object -> Parser ApiErrorsSource'Owner'VerifiedAddress')
-> Value
-> Parser ApiErrorsSource'Owner'VerifiedAddress'
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"ApiErrorsSource'Owner'VerifiedAddress'" (\Object
obj -> ((((((Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress')
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress')
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress'
ApiErrorsSource'Owner'VerifiedAddress' Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress')
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
"city")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress')
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
"country")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress')
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
"line1")) Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress')
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text -> ApiErrorsSource'Owner'VerifiedAddress')
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
"line2")) Parser
(Maybe Text
-> Maybe Text -> ApiErrorsSource'Owner'VerifiedAddress')
-> Parser (Maybe Text)
-> Parser (Maybe Text -> ApiErrorsSource'Owner'VerifiedAddress')
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
"postal_code")) Parser (Maybe Text -> ApiErrorsSource'Owner'VerifiedAddress')
-> Parser (Maybe Text)
-> Parser ApiErrorsSource'Owner'VerifiedAddress'
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
"state"))
mkApiErrorsSource'Owner'VerifiedAddress' :: ApiErrorsSource'Owner'VerifiedAddress'
=
ApiErrorsSource'Owner'VerifiedAddress' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ApiErrorsSource'Owner'VerifiedAddress'
ApiErrorsSource'Owner'VerifiedAddress'
{ apiErrorsSource'Owner'VerifiedAddress'City :: Maybe Text
apiErrorsSource'Owner'VerifiedAddress'City = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'VerifiedAddress'Country :: Maybe Text
apiErrorsSource'Owner'VerifiedAddress'Country = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'VerifiedAddress'Line1 :: Maybe Text
apiErrorsSource'Owner'VerifiedAddress'Line1 = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'VerifiedAddress'Line2 :: Maybe Text
apiErrorsSource'Owner'VerifiedAddress'Line2 = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'VerifiedAddress'PostalCode :: Maybe Text
apiErrorsSource'Owner'VerifiedAddress'PostalCode = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
apiErrorsSource'Owner'VerifiedAddress'State :: Maybe Text
apiErrorsSource'Owner'VerifiedAddress'State = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing
}
data
= Data.Text.Internal.Text
| Recipient
deriving (Int -> ApiErrorsSource'Recipient'Variants -> ShowS
[ApiErrorsSource'Recipient'Variants] -> ShowS
ApiErrorsSource'Recipient'Variants -> String
(Int -> ApiErrorsSource'Recipient'Variants -> ShowS)
-> (ApiErrorsSource'Recipient'Variants -> String)
-> ([ApiErrorsSource'Recipient'Variants] -> ShowS)
-> Show ApiErrorsSource'Recipient'Variants
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'Recipient'Variants] -> ShowS
$cshowList :: [ApiErrorsSource'Recipient'Variants] -> ShowS
show :: ApiErrorsSource'Recipient'Variants -> String
$cshow :: ApiErrorsSource'Recipient'Variants -> String
showsPrec :: Int -> ApiErrorsSource'Recipient'Variants -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource'Recipient'Variants -> ShowS
GHC.Show.Show, ApiErrorsSource'Recipient'Variants
-> ApiErrorsSource'Recipient'Variants -> Bool
(ApiErrorsSource'Recipient'Variants
-> ApiErrorsSource'Recipient'Variants -> Bool)
-> (ApiErrorsSource'Recipient'Variants
-> ApiErrorsSource'Recipient'Variants -> Bool)
-> Eq ApiErrorsSource'Recipient'Variants
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource'Recipient'Variants
-> ApiErrorsSource'Recipient'Variants -> Bool
$c/= :: ApiErrorsSource'Recipient'Variants
-> ApiErrorsSource'Recipient'Variants -> Bool
== :: ApiErrorsSource'Recipient'Variants
-> ApiErrorsSource'Recipient'Variants -> Bool
$c== :: ApiErrorsSource'Recipient'Variants
-> ApiErrorsSource'Recipient'Variants -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource'Recipient'Variants where
toJSON :: ApiErrorsSource'Recipient'Variants -> Value
toJSON (ApiErrorsSource'Recipient'Text Text
a) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
a
toJSON (ApiErrorsSource'Recipient'Recipient Recipient
a) = Recipient -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Recipient
a
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource'Recipient'Variants where
parseJSON :: Value -> Parser ApiErrorsSource'Recipient'Variants
parseJSON Value
val = case (Text -> ApiErrorsSource'Recipient'Variants
ApiErrorsSource'Recipient'Text (Text -> ApiErrorsSource'Recipient'Variants)
-> Result Text -> Result ApiErrorsSource'Recipient'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result Text
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result ApiErrorsSource'Recipient'Variants
-> Result ApiErrorsSource'Recipient'Variants
-> Result ApiErrorsSource'Recipient'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> ((Recipient -> ApiErrorsSource'Recipient'Variants
ApiErrorsSource'Recipient'Recipient (Recipient -> ApiErrorsSource'Recipient'Variants)
-> Result Recipient -> Result ApiErrorsSource'Recipient'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result Recipient
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result ApiErrorsSource'Recipient'Variants
-> Result ApiErrorsSource'Recipient'Variants
-> Result ApiErrorsSource'Recipient'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> String -> Result ApiErrorsSource'Recipient'Variants
forall a. String -> Result a
Data.Aeson.Types.Internal.Error String
"No variant matched") of
Data.Aeson.Types.Internal.Success ApiErrorsSource'Recipient'Variants
a -> ApiErrorsSource'Recipient'Variants
-> Parser ApiErrorsSource'Recipient'Variants
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure ApiErrorsSource'Recipient'Variants
a
Data.Aeson.Types.Internal.Error String
a -> String -> Parser ApiErrorsSource'Recipient'Variants
forall (m :: * -> *) a. MonadFail m => String -> m a
Control.Monad.Fail.fail String
a
data
=
Data.Aeson.Types.Internal.Value
|
Data.Text.Internal.Text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deriving (Int -> ApiErrorsSource'Type' -> ShowS
[ApiErrorsSource'Type'] -> ShowS
ApiErrorsSource'Type' -> String
(Int -> ApiErrorsSource'Type' -> ShowS)
-> (ApiErrorsSource'Type' -> String)
-> ([ApiErrorsSource'Type'] -> ShowS)
-> Show ApiErrorsSource'Type'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsSource'Type'] -> ShowS
$cshowList :: [ApiErrorsSource'Type'] -> ShowS
show :: ApiErrorsSource'Type' -> String
$cshow :: ApiErrorsSource'Type' -> String
showsPrec :: Int -> ApiErrorsSource'Type' -> ShowS
$cshowsPrec :: Int -> ApiErrorsSource'Type' -> ShowS
GHC.Show.Show, ApiErrorsSource'Type' -> ApiErrorsSource'Type' -> Bool
(ApiErrorsSource'Type' -> ApiErrorsSource'Type' -> Bool)
-> (ApiErrorsSource'Type' -> ApiErrorsSource'Type' -> Bool)
-> Eq ApiErrorsSource'Type'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsSource'Type' -> ApiErrorsSource'Type' -> Bool
$c/= :: ApiErrorsSource'Type' -> ApiErrorsSource'Type' -> Bool
== :: ApiErrorsSource'Type' -> ApiErrorsSource'Type' -> Bool
$c== :: ApiErrorsSource'Type' -> ApiErrorsSource'Type' -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsSource'Type' where
toJSON :: ApiErrorsSource'Type' -> Value
toJSON (ApiErrorsSource'Type'Other Value
val) = Value
val
toJSON (ApiErrorsSource'Type'Typed Text
val) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
val
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAchCreditTransfer) = Value
"ach_credit_transfer"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAchDebit) = Value
"ach_debit"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAcssDebit) = Value
"acss_debit"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAlipay) = Value
"alipay"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAuBecsDebit) = Value
"au_becs_debit"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumBancontact) = Value
"bancontact"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumCard) = Value
"card"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumCardPresent) = Value
"card_present"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumEps) = Value
"eps"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumGiropay) = Value
"giropay"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumIdeal) = Value
"ideal"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumKlarna) = Value
"klarna"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumMultibanco) = Value
"multibanco"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumP24) = Value
"p24"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumSepaDebit) = Value
"sepa_debit"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumSofort) = Value
"sofort"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumThreeDSecure) = Value
"three_d_secure"
toJSON (ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumWechat) = Value
"wechat"
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsSource'Type' where
parseJSON :: Value -> Parser ApiErrorsSource'Type'
parseJSON Value
val =
ApiErrorsSource'Type' -> Parser ApiErrorsSource'Type'
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
"ach_credit_transfer" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAchCreditTransfer
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"ach_debit" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAchDebit
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"acss_debit" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAcssDebit
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"alipay" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAlipay
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"au_becs_debit" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumAuBecsDebit
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"bancontact" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumBancontact
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"card" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumCard
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"card_present" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumCardPresent
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"eps" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumEps
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"giropay" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumGiropay
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"ideal" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumIdeal
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"klarna" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumKlarna
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"multibanco" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumMultibanco
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"p24" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumP24
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"sepa_debit" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumSepaDebit
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"sofort" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumSofort
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"three_d_secure" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumThreeDSecure
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"wechat" -> ApiErrorsSource'Type'
ApiErrorsSource'Type'EnumWechat
| Bool
GHC.Base.otherwise -> Value -> ApiErrorsSource'Type'
ApiErrorsSource'Type'Other Value
val
)
data ApiErrorsType'
=
ApiErrorsType'Other Data.Aeson.Types.Internal.Value
|
ApiErrorsType'Typed Data.Text.Internal.Text
|
ApiErrorsType'EnumApiConnectionError
|
ApiErrorsType'EnumApiError
|
ApiErrorsType'EnumAuthenticationError
|
ApiErrorsType'EnumCardError
|
ApiErrorsType'EnumIdempotencyError
|
ApiErrorsType'EnumInvalidRequestError
|
ApiErrorsType'EnumRateLimitError
deriving (Int -> ApiErrorsType' -> ShowS
[ApiErrorsType'] -> ShowS
ApiErrorsType' -> String
(Int -> ApiErrorsType' -> ShowS)
-> (ApiErrorsType' -> String)
-> ([ApiErrorsType'] -> ShowS)
-> Show ApiErrorsType'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApiErrorsType'] -> ShowS
$cshowList :: [ApiErrorsType'] -> ShowS
show :: ApiErrorsType' -> String
$cshow :: ApiErrorsType' -> String
showsPrec :: Int -> ApiErrorsType' -> ShowS
$cshowsPrec :: Int -> ApiErrorsType' -> ShowS
GHC.Show.Show, ApiErrorsType' -> ApiErrorsType' -> Bool
(ApiErrorsType' -> ApiErrorsType' -> Bool)
-> (ApiErrorsType' -> ApiErrorsType' -> Bool) -> Eq ApiErrorsType'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApiErrorsType' -> ApiErrorsType' -> Bool
$c/= :: ApiErrorsType' -> ApiErrorsType' -> Bool
== :: ApiErrorsType' -> ApiErrorsType' -> Bool
$c== :: ApiErrorsType' -> ApiErrorsType' -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON ApiErrorsType' where
toJSON :: ApiErrorsType' -> Value
toJSON (ApiErrorsType'Other Value
val) = Value
val
toJSON (ApiErrorsType'Typed Text
val) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
val
toJSON (ApiErrorsType'
ApiErrorsType'EnumApiConnectionError) = Value
"api_connection_error"
toJSON (ApiErrorsType'
ApiErrorsType'EnumApiError) = Value
"api_error"
toJSON (ApiErrorsType'
ApiErrorsType'EnumAuthenticationError) = Value
"authentication_error"
toJSON (ApiErrorsType'
ApiErrorsType'EnumCardError) = Value
"card_error"
toJSON (ApiErrorsType'
ApiErrorsType'EnumIdempotencyError) = Value
"idempotency_error"
toJSON (ApiErrorsType'
ApiErrorsType'EnumInvalidRequestError) = Value
"invalid_request_error"
toJSON (ApiErrorsType'
ApiErrorsType'EnumRateLimitError) = Value
"rate_limit_error"
instance Data.Aeson.Types.FromJSON.FromJSON ApiErrorsType' where
parseJSON :: Value -> Parser ApiErrorsType'
parseJSON Value
val =
ApiErrorsType' -> Parser ApiErrorsType'
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
"api_connection_error" -> ApiErrorsType'
ApiErrorsType'EnumApiConnectionError
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"api_error" -> ApiErrorsType'
ApiErrorsType'EnumApiError
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"authentication_error" -> ApiErrorsType'
ApiErrorsType'EnumAuthenticationError
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"card_error" -> ApiErrorsType'
ApiErrorsType'EnumCardError
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"idempotency_error" -> ApiErrorsType'
ApiErrorsType'EnumIdempotencyError
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"invalid_request_error" -> ApiErrorsType'
ApiErrorsType'EnumInvalidRequestError
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"rate_limit_error" -> ApiErrorsType'
ApiErrorsType'EnumRateLimitError
| Bool
GHC.Base.otherwise -> Value -> ApiErrorsType'
ApiErrorsType'Other Value
val
)