| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.GelatoSelfieReport
Description
Contains the types generated from the schema GelatoSelfieReport
Synopsis
- data GelatoSelfieReport = GelatoSelfieReport {}
- mkGelatoSelfieReport :: GelatoSelfieReportStatus' -> GelatoSelfieReport
- data GelatoSelfieReportError' = GelatoSelfieReportError' {}
- mkGelatoSelfieReportError' :: GelatoSelfieReportError'
- data GelatoSelfieReportError'Code'
- = GelatoSelfieReportError'Code'Other Value
- | GelatoSelfieReportError'Code'Typed Text
- | GelatoSelfieReportError'Code'EnumSelfieDocumentMissingPhoto
- | GelatoSelfieReportError'Code'EnumSelfieFaceMismatch
- | GelatoSelfieReportError'Code'EnumSelfieManipulated
- | GelatoSelfieReportError'Code'EnumSelfieUnverifiedOther
- data GelatoSelfieReportStatus'
Documentation
data GelatoSelfieReport Source #
Defines the object schema located at components.schemas.gelato_selfie_report in the specification.
Result from a selfie check
Constructors
| GelatoSelfieReport | |
Fields
| |
Instances
| Eq GelatoSelfieReport Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods (==) :: GelatoSelfieReport -> GelatoSelfieReport -> Bool # (/=) :: GelatoSelfieReport -> GelatoSelfieReport -> Bool # | |
| Show GelatoSelfieReport Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods showsPrec :: Int -> GelatoSelfieReport -> ShowS # show :: GelatoSelfieReport -> String # showList :: [GelatoSelfieReport] -> ShowS # | |
| ToJSON GelatoSelfieReport Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods toJSON :: GelatoSelfieReport -> Value # toEncoding :: GelatoSelfieReport -> Encoding # toJSONList :: [GelatoSelfieReport] -> Value # toEncodingList :: [GelatoSelfieReport] -> Encoding # | |
| FromJSON GelatoSelfieReport Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods parseJSON :: Value -> Parser GelatoSelfieReport # parseJSONList :: Value -> Parser [GelatoSelfieReport] # | |
Create a new GelatoSelfieReport with all required fields.
data GelatoSelfieReportError' Source #
Defines the object schema located at components.schemas.gelato_selfie_report.properties.error.anyOf in the specification.
Details on the verification error. Present when status is \`unverified\`.
Constructors
| GelatoSelfieReportError' | |
Fields
| |
Instances
| Eq GelatoSelfieReportError' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods (==) :: GelatoSelfieReportError' -> GelatoSelfieReportError' -> Bool # (/=) :: GelatoSelfieReportError' -> GelatoSelfieReportError' -> Bool # | |
| Show GelatoSelfieReportError' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods showsPrec :: Int -> GelatoSelfieReportError' -> ShowS # show :: GelatoSelfieReportError' -> String # showList :: [GelatoSelfieReportError'] -> ShowS # | |
| ToJSON GelatoSelfieReportError' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods toJSON :: GelatoSelfieReportError' -> Value # toEncoding :: GelatoSelfieReportError' -> Encoding # toJSONList :: [GelatoSelfieReportError'] -> Value # | |
| FromJSON GelatoSelfieReportError' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods parseJSON :: Value -> Parser GelatoSelfieReportError' # parseJSONList :: Value -> Parser [GelatoSelfieReportError'] # | |
mkGelatoSelfieReportError' :: GelatoSelfieReportError' Source #
Create a new GelatoSelfieReportError' with all required fields.
data GelatoSelfieReportError'Code' Source #
Defines the enum schema located at components.schemas.gelato_selfie_report.properties.error.anyOf.properties.code in the specification.
A short machine-readable string giving the reason for the verification failure.
Constructors
| GelatoSelfieReportError'Code'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| GelatoSelfieReportError'Code'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| GelatoSelfieReportError'Code'EnumSelfieDocumentMissingPhoto | Represents the JSON value |
| GelatoSelfieReportError'Code'EnumSelfieFaceMismatch | Represents the JSON value |
| GelatoSelfieReportError'Code'EnumSelfieManipulated | Represents the JSON value |
| GelatoSelfieReportError'Code'EnumSelfieUnverifiedOther | Represents the JSON value |
Instances
| Eq GelatoSelfieReportError'Code' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport | |
| Show GelatoSelfieReportError'Code' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods showsPrec :: Int -> GelatoSelfieReportError'Code' -> ShowS # show :: GelatoSelfieReportError'Code' -> String # showList :: [GelatoSelfieReportError'Code'] -> ShowS # | |
| ToJSON GelatoSelfieReportError'Code' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods toJSON :: GelatoSelfieReportError'Code' -> Value # toEncoding :: GelatoSelfieReportError'Code' -> Encoding # toJSONList :: [GelatoSelfieReportError'Code'] -> Value # toEncodingList :: [GelatoSelfieReportError'Code'] -> Encoding # | |
| FromJSON GelatoSelfieReportError'Code' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods parseJSON :: Value -> Parser GelatoSelfieReportError'Code' # parseJSONList :: Value -> Parser [GelatoSelfieReportError'Code'] # | |
data GelatoSelfieReportStatus' Source #
Defines the enum schema located at components.schemas.gelato_selfie_report.properties.status in the specification.
Status of this `selfie` check.
Constructors
| GelatoSelfieReportStatus'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| GelatoSelfieReportStatus'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| GelatoSelfieReportStatus'EnumUnverified | Represents the JSON value |
| GelatoSelfieReportStatus'EnumVerified | Represents the JSON value |
Instances
| Eq GelatoSelfieReportStatus' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods (==) :: GelatoSelfieReportStatus' -> GelatoSelfieReportStatus' -> Bool # (/=) :: GelatoSelfieReportStatus' -> GelatoSelfieReportStatus' -> Bool # | |
| Show GelatoSelfieReportStatus' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods showsPrec :: Int -> GelatoSelfieReportStatus' -> ShowS # show :: GelatoSelfieReportStatus' -> String # showList :: [GelatoSelfieReportStatus'] -> ShowS # | |
| ToJSON GelatoSelfieReportStatus' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods toJSON :: GelatoSelfieReportStatus' -> Value # toEncoding :: GelatoSelfieReportStatus' -> Encoding # toJSONList :: [GelatoSelfieReportStatus'] -> Value # | |
| FromJSON GelatoSelfieReportStatus' Source # | |
Defined in StripeAPI.Types.GelatoSelfieReport Methods parseJSON :: Value -> Parser GelatoSelfieReportStatus' # parseJSONList :: Value -> Parser [GelatoSelfieReportStatus'] # | |