{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE OverloadedStrings #-}
module StripeAPI.Types.AccountRequirementsError where
import qualified Control.Monad.Fail
import qualified Data.Aeson
import qualified Data.Aeson as Data.Aeson.Encoding.Internal
import qualified Data.Aeson as Data.Aeson.Types
import qualified Data.Aeson as Data.Aeson.Types.FromJSON
import qualified Data.Aeson as Data.Aeson.Types.Internal
import qualified Data.Aeson as Data.Aeson.Types.ToJSON
import qualified Data.ByteString.Char8
import qualified Data.ByteString.Char8 as Data.ByteString.Internal
import qualified Data.Functor
import qualified Data.Scientific
import qualified Data.Text
import qualified Data.Text.Internal
import qualified Data.Time.Calendar as Data.Time.Calendar.Days
import qualified Data.Time.LocalTime as Data.Time.LocalTime.Internal.ZonedTime
import qualified GHC.Base
import qualified GHC.Classes
import qualified GHC.Int
import qualified GHC.Show
import qualified GHC.Types
import qualified StripeAPI.Common
import StripeAPI.TypeAlias
import qualified Prelude as GHC.Integer.Type
import qualified Prelude as GHC.Maybe
data AccountRequirementsError = AccountRequirementsError
{
AccountRequirementsError -> AccountRequirementsErrorCode'
accountRequirementsErrorCode :: AccountRequirementsErrorCode',
AccountRequirementsError -> Text
accountRequirementsErrorReason :: Data.Text.Internal.Text,
AccountRequirementsError -> Text
accountRequirementsErrorRequirement :: Data.Text.Internal.Text
}
deriving
( Int -> AccountRequirementsError -> ShowS
[AccountRequirementsError] -> ShowS
AccountRequirementsError -> String
(Int -> AccountRequirementsError -> ShowS)
-> (AccountRequirementsError -> String)
-> ([AccountRequirementsError] -> ShowS)
-> Show AccountRequirementsError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AccountRequirementsError] -> ShowS
$cshowList :: [AccountRequirementsError] -> ShowS
show :: AccountRequirementsError -> String
$cshow :: AccountRequirementsError -> String
showsPrec :: Int -> AccountRequirementsError -> ShowS
$cshowsPrec :: Int -> AccountRequirementsError -> ShowS
GHC.Show.Show,
AccountRequirementsError -> AccountRequirementsError -> Bool
(AccountRequirementsError -> AccountRequirementsError -> Bool)
-> (AccountRequirementsError -> AccountRequirementsError -> Bool)
-> Eq AccountRequirementsError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AccountRequirementsError -> AccountRequirementsError -> Bool
$c/= :: AccountRequirementsError -> AccountRequirementsError -> Bool
== :: AccountRequirementsError -> AccountRequirementsError -> Bool
$c== :: AccountRequirementsError -> AccountRequirementsError -> Bool
GHC.Classes.Eq
)
instance Data.Aeson.Types.ToJSON.ToJSON AccountRequirementsError where
toJSON :: AccountRequirementsError -> Value
toJSON AccountRequirementsError
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"code" Text -> AccountRequirementsErrorCode' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= AccountRequirementsError -> AccountRequirementsErrorCode'
accountRequirementsErrorCode AccountRequirementsError
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"reason" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= AccountRequirementsError -> Text
accountRequirementsErrorReason AccountRequirementsError
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"requirement" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= AccountRequirementsError -> Text
accountRequirementsErrorRequirement AccountRequirementsError
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
toEncoding :: AccountRequirementsError -> Encoding
toEncoding AccountRequirementsError
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"code" Text -> AccountRequirementsErrorCode' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= AccountRequirementsError -> AccountRequirementsErrorCode'
accountRequirementsErrorCode AccountRequirementsError
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"reason" Text -> Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= AccountRequirementsError -> Text
accountRequirementsErrorReason AccountRequirementsError
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"requirement" Text -> Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= AccountRequirementsError -> Text
accountRequirementsErrorRequirement AccountRequirementsError
obj)))
instance Data.Aeson.Types.FromJSON.FromJSON AccountRequirementsError where
parseJSON :: Value -> Parser AccountRequirementsError
parseJSON = String
-> (Object -> Parser AccountRequirementsError)
-> Value
-> Parser AccountRequirementsError
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"AccountRequirementsError" (\Object
obj -> (((AccountRequirementsErrorCode'
-> Text -> Text -> AccountRequirementsError)
-> Parser
(AccountRequirementsErrorCode'
-> Text -> Text -> AccountRequirementsError)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure AccountRequirementsErrorCode'
-> Text -> Text -> AccountRequirementsError
AccountRequirementsError Parser
(AccountRequirementsErrorCode'
-> Text -> Text -> AccountRequirementsError)
-> Parser AccountRequirementsErrorCode'
-> Parser (Text -> Text -> AccountRequirementsError)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser AccountRequirementsErrorCode'
forall a. FromJSON a => Object -> Text -> Parser a
Data.Aeson.Types.FromJSON..: Text
"code")) Parser (Text -> Text -> AccountRequirementsError)
-> Parser Text -> Parser (Text -> AccountRequirementsError)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Data.Aeson.Types.FromJSON..: Text
"reason")) Parser (Text -> AccountRequirementsError)
-> Parser Text -> Parser AccountRequirementsError
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Data.Aeson.Types.FromJSON..: Text
"requirement"))
mkAccountRequirementsError ::
AccountRequirementsErrorCode' ->
Data.Text.Internal.Text ->
Data.Text.Internal.Text ->
AccountRequirementsError
mkAccountRequirementsError :: AccountRequirementsErrorCode'
-> Text -> Text -> AccountRequirementsError
mkAccountRequirementsError AccountRequirementsErrorCode'
accountRequirementsErrorCode Text
accountRequirementsErrorReason Text
accountRequirementsErrorRequirement =
AccountRequirementsError :: AccountRequirementsErrorCode'
-> Text -> Text -> AccountRequirementsError
AccountRequirementsError
{ accountRequirementsErrorCode :: AccountRequirementsErrorCode'
accountRequirementsErrorCode = AccountRequirementsErrorCode'
accountRequirementsErrorCode,
accountRequirementsErrorReason :: Text
accountRequirementsErrorReason = Text
accountRequirementsErrorReason,
accountRequirementsErrorRequirement :: Text
accountRequirementsErrorRequirement = Text
accountRequirementsErrorRequirement
}
data AccountRequirementsErrorCode'
=
AccountRequirementsErrorCode'Other Data.Aeson.Types.Internal.Value
|
AccountRequirementsErrorCode'Typed Data.Text.Internal.Text
|
AccountRequirementsErrorCode'EnumInvalidAddressCityStatePostalCode
|
AccountRequirementsErrorCode'EnumInvalidStreetAddress
|
AccountRequirementsErrorCode'EnumInvalidValueOther
|
AccountRequirementsErrorCode'EnumVerificationDocumentAddressMismatch
|
AccountRequirementsErrorCode'EnumVerificationDocumentAddressMissing
|
AccountRequirementsErrorCode'EnumVerificationDocumentCorrupt
|
AccountRequirementsErrorCode'EnumVerificationDocumentCountryNotSupported
|
AccountRequirementsErrorCode'EnumVerificationDocumentDobMismatch
|
AccountRequirementsErrorCode'EnumVerificationDocumentDuplicateType
|
AccountRequirementsErrorCode'EnumVerificationDocumentExpired
|
AccountRequirementsErrorCode'EnumVerificationDocumentFailedCopy
|
AccountRequirementsErrorCode'EnumVerificationDocumentFailedGreyscale
|
AccountRequirementsErrorCode'EnumVerificationDocumentFailedOther
|
AccountRequirementsErrorCode'EnumVerificationDocumentFailedTestMode
|
AccountRequirementsErrorCode'EnumVerificationDocumentFraudulent
|
AccountRequirementsErrorCode'EnumVerificationDocumentIdNumberMismatch
|
AccountRequirementsErrorCode'EnumVerificationDocumentIdNumberMissing
|
AccountRequirementsErrorCode'EnumVerificationDocumentIncomplete
|
AccountRequirementsErrorCode'EnumVerificationDocumentInvalid
|
AccountRequirementsErrorCode'EnumVerificationDocumentIssueOrExpiryDateMissing
|
AccountRequirementsErrorCode'EnumVerificationDocumentManipulated
|
AccountRequirementsErrorCode'EnumVerificationDocumentMissingBack
|
AccountRequirementsErrorCode'EnumVerificationDocumentMissingFront
|
AccountRequirementsErrorCode'EnumVerificationDocumentNameMismatch
|
AccountRequirementsErrorCode'EnumVerificationDocumentNameMissing
|
AccountRequirementsErrorCode'EnumVerificationDocumentNationalityMismatch
|
AccountRequirementsErrorCode'EnumVerificationDocumentNotReadable
|
AccountRequirementsErrorCode'EnumVerificationDocumentNotSigned
|
AccountRequirementsErrorCode'EnumVerificationDocumentNotUploaded
|
AccountRequirementsErrorCode'EnumVerificationDocumentPhotoMismatch
|
AccountRequirementsErrorCode'EnumVerificationDocumentTooLarge
|
AccountRequirementsErrorCode'EnumVerificationDocumentTypeNotSupported
|
AccountRequirementsErrorCode'EnumVerificationFailedAddressMatch
|
AccountRequirementsErrorCode'EnumVerificationFailedBusinessIecNumber
|
AccountRequirementsErrorCode'EnumVerificationFailedDocumentMatch
|
AccountRequirementsErrorCode'EnumVerificationFailedIdNumberMatch
|
AccountRequirementsErrorCode'EnumVerificationFailedKeyedIdentity
|
AccountRequirementsErrorCode'EnumVerificationFailedKeyedMatch
|
AccountRequirementsErrorCode'EnumVerificationFailedNameMatch
|
AccountRequirementsErrorCode'EnumVerificationFailedOther
|
AccountRequirementsErrorCode'EnumVerificationFailedTaxIdMatch
|
AccountRequirementsErrorCode'EnumVerificationFailedTaxIdNotIssued
|
AccountRequirementsErrorCode'EnumVerificationMissingExecutives
|
AccountRequirementsErrorCode'EnumVerificationMissingOwners
|
AccountRequirementsErrorCode'EnumVerificationRequiresAdditionalMemorandumOfAssociations
deriving (Int -> AccountRequirementsErrorCode' -> ShowS
[AccountRequirementsErrorCode'] -> ShowS
AccountRequirementsErrorCode' -> String
(Int -> AccountRequirementsErrorCode' -> ShowS)
-> (AccountRequirementsErrorCode' -> String)
-> ([AccountRequirementsErrorCode'] -> ShowS)
-> Show AccountRequirementsErrorCode'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AccountRequirementsErrorCode'] -> ShowS
$cshowList :: [AccountRequirementsErrorCode'] -> ShowS
show :: AccountRequirementsErrorCode' -> String
$cshow :: AccountRequirementsErrorCode' -> String
showsPrec :: Int -> AccountRequirementsErrorCode' -> ShowS
$cshowsPrec :: Int -> AccountRequirementsErrorCode' -> ShowS
GHC.Show.Show, AccountRequirementsErrorCode'
-> AccountRequirementsErrorCode' -> Bool
(AccountRequirementsErrorCode'
-> AccountRequirementsErrorCode' -> Bool)
-> (AccountRequirementsErrorCode'
-> AccountRequirementsErrorCode' -> Bool)
-> Eq AccountRequirementsErrorCode'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AccountRequirementsErrorCode'
-> AccountRequirementsErrorCode' -> Bool
$c/= :: AccountRequirementsErrorCode'
-> AccountRequirementsErrorCode' -> Bool
== :: AccountRequirementsErrorCode'
-> AccountRequirementsErrorCode' -> Bool
$c== :: AccountRequirementsErrorCode'
-> AccountRequirementsErrorCode' -> Bool
GHC.Classes.Eq)
instance Data.Aeson.Types.ToJSON.ToJSON AccountRequirementsErrorCode' where
toJSON :: AccountRequirementsErrorCode' -> Value
toJSON (AccountRequirementsErrorCode'Other Value
val) = Value
val
toJSON (AccountRequirementsErrorCode'Typed Text
val) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
val
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumInvalidAddressCityStatePostalCode) = Value
"invalid_address_city_state_postal_code"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumInvalidStreetAddress) = Value
"invalid_street_address"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumInvalidValueOther) = Value
"invalid_value_other"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentAddressMismatch) = Value
"verification_document_address_mismatch"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentAddressMissing) = Value
"verification_document_address_missing"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentCorrupt) = Value
"verification_document_corrupt"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentCountryNotSupported) = Value
"verification_document_country_not_supported"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentDobMismatch) = Value
"verification_document_dob_mismatch"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentDuplicateType) = Value
"verification_document_duplicate_type"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentExpired) = Value
"verification_document_expired"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFailedCopy) = Value
"verification_document_failed_copy"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFailedGreyscale) = Value
"verification_document_failed_greyscale"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFailedOther) = Value
"verification_document_failed_other"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFailedTestMode) = Value
"verification_document_failed_test_mode"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFraudulent) = Value
"verification_document_fraudulent"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentIdNumberMismatch) = Value
"verification_document_id_number_mismatch"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentIdNumberMissing) = Value
"verification_document_id_number_missing"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentIncomplete) = Value
"verification_document_incomplete"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentInvalid) = Value
"verification_document_invalid"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentIssueOrExpiryDateMissing) = Value
"verification_document_issue_or_expiry_date_missing"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentManipulated) = Value
"verification_document_manipulated"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentMissingBack) = Value
"verification_document_missing_back"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentMissingFront) = Value
"verification_document_missing_front"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNameMismatch) = Value
"verification_document_name_mismatch"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNameMissing) = Value
"verification_document_name_missing"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNationalityMismatch) = Value
"verification_document_nationality_mismatch"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNotReadable) = Value
"verification_document_not_readable"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNotSigned) = Value
"verification_document_not_signed"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNotUploaded) = Value
"verification_document_not_uploaded"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentPhotoMismatch) = Value
"verification_document_photo_mismatch"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentTooLarge) = Value
"verification_document_too_large"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentTypeNotSupported) = Value
"verification_document_type_not_supported"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedAddressMatch) = Value
"verification_failed_address_match"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedBusinessIecNumber) = Value
"verification_failed_business_iec_number"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedDocumentMatch) = Value
"verification_failed_document_match"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedIdNumberMatch) = Value
"verification_failed_id_number_match"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedKeyedIdentity) = Value
"verification_failed_keyed_identity"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedKeyedMatch) = Value
"verification_failed_keyed_match"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedNameMatch) = Value
"verification_failed_name_match"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedOther) = Value
"verification_failed_other"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedTaxIdMatch) = Value
"verification_failed_tax_id_match"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedTaxIdNotIssued) = Value
"verification_failed_tax_id_not_issued"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationMissingExecutives) = Value
"verification_missing_executives"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationMissingOwners) = Value
"verification_missing_owners"
toJSON (AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationRequiresAdditionalMemorandumOfAssociations) = Value
"verification_requires_additional_memorandum_of_associations"
instance Data.Aeson.Types.FromJSON.FromJSON AccountRequirementsErrorCode' where
parseJSON :: Value -> Parser AccountRequirementsErrorCode'
parseJSON Value
val =
AccountRequirementsErrorCode'
-> Parser AccountRequirementsErrorCode'
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
"invalid_address_city_state_postal_code" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumInvalidAddressCityStatePostalCode
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"invalid_street_address" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumInvalidStreetAddress
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"invalid_value_other" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumInvalidValueOther
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_address_mismatch" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentAddressMismatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_address_missing" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentAddressMissing
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_corrupt" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentCorrupt
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_country_not_supported" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentCountryNotSupported
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_dob_mismatch" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentDobMismatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_duplicate_type" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentDuplicateType
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_expired" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentExpired
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_failed_copy" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFailedCopy
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_failed_greyscale" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFailedGreyscale
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_failed_other" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFailedOther
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_failed_test_mode" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFailedTestMode
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_fraudulent" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentFraudulent
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_id_number_mismatch" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentIdNumberMismatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_id_number_missing" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentIdNumberMissing
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_incomplete" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentIncomplete
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_invalid" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentInvalid
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_issue_or_expiry_date_missing" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentIssueOrExpiryDateMissing
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_manipulated" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentManipulated
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_missing_back" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentMissingBack
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_missing_front" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentMissingFront
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_name_mismatch" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNameMismatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_name_missing" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNameMissing
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_nationality_mismatch" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNationalityMismatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_not_readable" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNotReadable
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_not_signed" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNotSigned
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_not_uploaded" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentNotUploaded
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_photo_mismatch" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentPhotoMismatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_too_large" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentTooLarge
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_document_type_not_supported" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationDocumentTypeNotSupported
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_address_match" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedAddressMatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_business_iec_number" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedBusinessIecNumber
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_document_match" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedDocumentMatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_id_number_match" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedIdNumberMatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_keyed_identity" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedKeyedIdentity
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_keyed_match" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedKeyedMatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_name_match" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedNameMatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_other" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedOther
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_tax_id_match" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedTaxIdMatch
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_failed_tax_id_not_issued" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationFailedTaxIdNotIssued
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_missing_executives" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationMissingExecutives
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_missing_owners" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationMissingOwners
| Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"verification_requires_additional_memorandum_of_associations" -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'EnumVerificationRequiresAdditionalMemorandumOfAssociations
| Bool
GHC.Base.otherwise -> Value -> AccountRequirementsErrorCode'
AccountRequirementsErrorCode'Other Value
val
)