| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.GelatoDocumentReport
Description
Contains the types generated from the schema GelatoDocumentReport
Synopsis
- data GelatoDocumentReport = GelatoDocumentReport {
- gelatoDocumentReportAddress :: Maybe GelatoDocumentReportAddress'
- gelatoDocumentReportDob :: Maybe GelatoDocumentReportDob'
- gelatoDocumentReportError :: Maybe GelatoDocumentReportError'
- gelatoDocumentReportExpirationDate :: Maybe GelatoDocumentReportExpirationDate'
- gelatoDocumentReportFiles :: Maybe [Text]
- gelatoDocumentReportFirstName :: Maybe Text
- gelatoDocumentReportIssuedDate :: Maybe GelatoDocumentReportIssuedDate'
- gelatoDocumentReportIssuingCountry :: Maybe Text
- gelatoDocumentReportLastName :: Maybe Text
- gelatoDocumentReportNumber :: Maybe Text
- gelatoDocumentReportStatus :: GelatoDocumentReportStatus'
- gelatoDocumentReportType :: Maybe GelatoDocumentReportType'
- mkGelatoDocumentReport :: GelatoDocumentReportStatus' -> GelatoDocumentReport
- data GelatoDocumentReportAddress' = GelatoDocumentReportAddress' {}
- mkGelatoDocumentReportAddress' :: GelatoDocumentReportAddress'
- data GelatoDocumentReportDob' = GelatoDocumentReportDob' {}
- mkGelatoDocumentReportDob' :: GelatoDocumentReportDob'
- data GelatoDocumentReportError' = GelatoDocumentReportError' {}
- mkGelatoDocumentReportError' :: GelatoDocumentReportError'
- data GelatoDocumentReportError'Code'
- data GelatoDocumentReportExpirationDate' = GelatoDocumentReportExpirationDate' {}
- mkGelatoDocumentReportExpirationDate' :: GelatoDocumentReportExpirationDate'
- data GelatoDocumentReportIssuedDate' = GelatoDocumentReportIssuedDate' {}
- mkGelatoDocumentReportIssuedDate' :: GelatoDocumentReportIssuedDate'
- data GelatoDocumentReportStatus'
- data GelatoDocumentReportType'
Documentation
data GelatoDocumentReport Source #
Defines the object schema located at components.schemas.gelato_document_report in the specification.
Result from a document check
Constructors
| GelatoDocumentReport | |
Fields
| |
Instances
| Eq GelatoDocumentReport Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods (==) :: GelatoDocumentReport -> GelatoDocumentReport -> Bool # (/=) :: GelatoDocumentReport -> GelatoDocumentReport -> Bool # | |
| Show GelatoDocumentReport Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods showsPrec :: Int -> GelatoDocumentReport -> ShowS # show :: GelatoDocumentReport -> String # showList :: [GelatoDocumentReport] -> ShowS # | |
| ToJSON GelatoDocumentReport Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods toJSON :: GelatoDocumentReport -> Value # toEncoding :: GelatoDocumentReport -> Encoding # toJSONList :: [GelatoDocumentReport] -> Value # toEncodingList :: [GelatoDocumentReport] -> Encoding # | |
| FromJSON GelatoDocumentReport Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods parseJSON :: Value -> Parser GelatoDocumentReport # parseJSONList :: Value -> Parser [GelatoDocumentReport] # | |
mkGelatoDocumentReport Source #
Create a new GelatoDocumentReport with all required fields.
data GelatoDocumentReportAddress' Source #
Defines the object schema located at components.schemas.gelato_document_report.properties.address.anyOf in the specification.
Address as it appears in the document.
Constructors
| GelatoDocumentReportAddress' | |
Fields
| |
Instances
mkGelatoDocumentReportAddress' :: GelatoDocumentReportAddress' Source #
Create a new GelatoDocumentReportAddress' with all required fields.
data GelatoDocumentReportDob' Source #
Defines the object schema located at components.schemas.gelato_document_report.properties.dob.anyOf in the specification.
Date of birth as it appears in the document.
Constructors
| GelatoDocumentReportDob' | |
Fields
| |
Instances
| Eq GelatoDocumentReportDob' Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods (==) :: GelatoDocumentReportDob' -> GelatoDocumentReportDob' -> Bool # (/=) :: GelatoDocumentReportDob' -> GelatoDocumentReportDob' -> Bool # | |
| Show GelatoDocumentReportDob' Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods showsPrec :: Int -> GelatoDocumentReportDob' -> ShowS # show :: GelatoDocumentReportDob' -> String # showList :: [GelatoDocumentReportDob'] -> ShowS # | |
| ToJSON GelatoDocumentReportDob' Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods toJSON :: GelatoDocumentReportDob' -> Value # toEncoding :: GelatoDocumentReportDob' -> Encoding # toJSONList :: [GelatoDocumentReportDob'] -> Value # | |
| FromJSON GelatoDocumentReportDob' Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods parseJSON :: Value -> Parser GelatoDocumentReportDob' # parseJSONList :: Value -> Parser [GelatoDocumentReportDob'] # | |
mkGelatoDocumentReportDob' :: GelatoDocumentReportDob' Source #
Create a new GelatoDocumentReportDob' with all required fields.
data GelatoDocumentReportError' Source #
Defines the object schema located at components.schemas.gelato_document_report.properties.error.anyOf in the specification.
Details on the verification error. Present when status is \`unverified\`.
Constructors
| GelatoDocumentReportError' | |
Fields
| |
Instances
mkGelatoDocumentReportError' :: GelatoDocumentReportError' Source #
Create a new GelatoDocumentReportError' with all required fields.
data GelatoDocumentReportError'Code' Source #
Defines the enum schema located at components.schemas.gelato_document_report.properties.error.anyOf.properties.code in the specification.
A short machine-readable string giving the reason for the verification failure.
Constructors
| GelatoDocumentReportError'Code'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| GelatoDocumentReportError'Code'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| GelatoDocumentReportError'Code'EnumDocumentExpired | Represents the JSON value |
| GelatoDocumentReportError'Code'EnumDocumentTypeNotSupported | Represents the JSON value |
| GelatoDocumentReportError'Code'EnumDocumentUnverifiedOther | Represents the JSON value |
Instances
data GelatoDocumentReportExpirationDate' Source #
Defines the object schema located at components.schemas.gelato_document_report.properties.expiration_date.anyOf in the specification.
Expiration date of the document.
Constructors
| GelatoDocumentReportExpirationDate' | |
Fields
| |
Instances
mkGelatoDocumentReportExpirationDate' :: GelatoDocumentReportExpirationDate' Source #
Create a new GelatoDocumentReportExpirationDate' with all required fields.
data GelatoDocumentReportIssuedDate' Source #
Defines the object schema located at components.schemas.gelato_document_report.properties.issued_date.anyOf in the specification.
Issued date of the document.
Constructors
| GelatoDocumentReportIssuedDate' | |
Fields
| |
Instances
mkGelatoDocumentReportIssuedDate' :: GelatoDocumentReportIssuedDate' Source #
Create a new GelatoDocumentReportIssuedDate' with all required fields.
data GelatoDocumentReportStatus' Source #
Defines the enum schema located at components.schemas.gelato_document_report.properties.status in the specification.
Status of this `document` check.
Constructors
| GelatoDocumentReportStatus'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| GelatoDocumentReportStatus'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| GelatoDocumentReportStatus'EnumUnverified | Represents the JSON value |
| GelatoDocumentReportStatus'EnumVerified | Represents the JSON value |
Instances
data GelatoDocumentReportType' Source #
Defines the enum schema located at components.schemas.gelato_document_report.properties.type in the specification.
Type of the document.
Constructors
| GelatoDocumentReportType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| GelatoDocumentReportType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| GelatoDocumentReportType'EnumDrivingLicense | Represents the JSON value |
| GelatoDocumentReportType'EnumIdCard | Represents the JSON value |
| GelatoDocumentReportType'EnumPassport | Represents the JSON value |
Instances
| Eq GelatoDocumentReportType' Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods (==) :: GelatoDocumentReportType' -> GelatoDocumentReportType' -> Bool # (/=) :: GelatoDocumentReportType' -> GelatoDocumentReportType' -> Bool # | |
| Show GelatoDocumentReportType' Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods showsPrec :: Int -> GelatoDocumentReportType' -> ShowS # show :: GelatoDocumentReportType' -> String # showList :: [GelatoDocumentReportType'] -> ShowS # | |
| ToJSON GelatoDocumentReportType' Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods toJSON :: GelatoDocumentReportType' -> Value # toEncoding :: GelatoDocumentReportType' -> Encoding # toJSONList :: [GelatoDocumentReportType'] -> Value # | |
| FromJSON GelatoDocumentReportType' Source # | |
Defined in StripeAPI.Types.GelatoDocumentReport Methods parseJSON :: Value -> Parser GelatoDocumentReportType' # parseJSONList :: Value -> Parser [GelatoDocumentReportType'] # | |