Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Types.Person
Description
Contains the types generated from the schema Person
Synopsis
- data Person = Person {
- personAccount :: Text
- personAddress :: Maybe Address
- personAddressKana :: Maybe PersonAddressKana'
- personAddressKanji :: Maybe PersonAddressKanji'
- personCreated :: Int
- personDob :: Maybe LegalEntityDob
- personEmail :: Maybe Text
- personFirstName :: Maybe Text
- personFirstNameKana :: Maybe Text
- personFirstNameKanji :: Maybe Text
- personGender :: Maybe Text
- personId :: Text
- personIdNumberProvided :: Maybe Bool
- personLastName :: Maybe Text
- personLastNameKana :: Maybe Text
- personLastNameKanji :: Maybe Text
- personMaidenName :: Maybe Text
- personMetadata :: Maybe Object
- personNationality :: Maybe Text
- personPhone :: Maybe Text
- personPoliticalExposure :: Maybe PersonPoliticalExposure'
- personRelationship :: Maybe PersonRelationship
- personRequirements :: Maybe PersonRequirements'
- personSsnLast_4Provided :: Maybe Bool
- personVerification :: Maybe LegalEntityPersonVerification
- mkPerson :: Text -> Int -> Text -> Person
- data PersonAddressKana' = PersonAddressKana' {}
- mkPersonAddressKana' :: PersonAddressKana'
- data PersonAddressKanji' = PersonAddressKanji' {}
- mkPersonAddressKanji' :: PersonAddressKanji'
- data PersonPoliticalExposure'
- data PersonRequirements' = PersonRequirements' {}
- mkPersonRequirements' :: PersonRequirements'
Documentation
Defines the object schema located at components.schemas.person
in the specification.
This is an object representing a person associated with a Stripe account.
A platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account. See the Standard onboarding or Express onboarding documentation for information about platform pre-filling and account onboarding steps.
Related guide: Handling Identity Verification with the API.
Constructors
Person | |
Fields
|
data PersonAddressKana' Source #
Defines the object schema located at components.schemas.person.properties.address_kana.anyOf
in the specification.
Constructors
PersonAddressKana' | |
Fields
|
Instances
Eq PersonAddressKana' Source # | |
Defined in StripeAPI.Types.Person Methods (==) :: PersonAddressKana' -> PersonAddressKana' -> Bool # (/=) :: PersonAddressKana' -> PersonAddressKana' -> Bool # | |
Show PersonAddressKana' Source # | |
Defined in StripeAPI.Types.Person Methods showsPrec :: Int -> PersonAddressKana' -> ShowS # show :: PersonAddressKana' -> String # showList :: [PersonAddressKana'] -> ShowS # | |
ToJSON PersonAddressKana' Source # | |
Defined in StripeAPI.Types.Person Methods toJSON :: PersonAddressKana' -> Value # toEncoding :: PersonAddressKana' -> Encoding # toJSONList :: [PersonAddressKana'] -> Value # toEncodingList :: [PersonAddressKana'] -> Encoding # | |
FromJSON PersonAddressKana' Source # | |
Defined in StripeAPI.Types.Person Methods parseJSON :: Value -> Parser PersonAddressKana' # parseJSONList :: Value -> Parser [PersonAddressKana'] # |
mkPersonAddressKana' :: PersonAddressKana' Source #
Create a new PersonAddressKana'
with all required fields.
data PersonAddressKanji' Source #
Defines the object schema located at components.schemas.person.properties.address_kanji.anyOf
in the specification.
Constructors
PersonAddressKanji' | |
Fields
|
Instances
Eq PersonAddressKanji' Source # | |
Defined in StripeAPI.Types.Person Methods (==) :: PersonAddressKanji' -> PersonAddressKanji' -> Bool # (/=) :: PersonAddressKanji' -> PersonAddressKanji' -> Bool # | |
Show PersonAddressKanji' Source # | |
Defined in StripeAPI.Types.Person Methods showsPrec :: Int -> PersonAddressKanji' -> ShowS # show :: PersonAddressKanji' -> String # showList :: [PersonAddressKanji'] -> ShowS # | |
ToJSON PersonAddressKanji' Source # | |
Defined in StripeAPI.Types.Person Methods toJSON :: PersonAddressKanji' -> Value # toEncoding :: PersonAddressKanji' -> Encoding # toJSONList :: [PersonAddressKanji'] -> Value # toEncodingList :: [PersonAddressKanji'] -> Encoding # | |
FromJSON PersonAddressKanji' Source # | |
Defined in StripeAPI.Types.Person Methods parseJSON :: Value -> Parser PersonAddressKanji' # parseJSONList :: Value -> Parser [PersonAddressKanji'] # |
mkPersonAddressKanji' :: PersonAddressKanji' Source #
Create a new PersonAddressKanji'
with all required fields.
data PersonPoliticalExposure' Source #
Defines the enum schema located at components.schemas.person.properties.political_exposure
in the specification.
Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
Constructors
PersonPoliticalExposure'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PersonPoliticalExposure'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PersonPoliticalExposure'EnumExisting | Represents the JSON value |
PersonPoliticalExposure'EnumNone | Represents the JSON value |
Instances
Eq PersonPoliticalExposure' Source # | |
Defined in StripeAPI.Types.Person Methods (==) :: PersonPoliticalExposure' -> PersonPoliticalExposure' -> Bool # (/=) :: PersonPoliticalExposure' -> PersonPoliticalExposure' -> Bool # | |
Show PersonPoliticalExposure' Source # | |
Defined in StripeAPI.Types.Person Methods showsPrec :: Int -> PersonPoliticalExposure' -> ShowS # show :: PersonPoliticalExposure' -> String # showList :: [PersonPoliticalExposure'] -> ShowS # | |
ToJSON PersonPoliticalExposure' Source # | |
Defined in StripeAPI.Types.Person Methods toJSON :: PersonPoliticalExposure' -> Value # toEncoding :: PersonPoliticalExposure' -> Encoding # toJSONList :: [PersonPoliticalExposure'] -> Value # | |
FromJSON PersonPoliticalExposure' Source # | |
Defined in StripeAPI.Types.Person Methods parseJSON :: Value -> Parser PersonPoliticalExposure' # parseJSONList :: Value -> Parser [PersonPoliticalExposure'] # |
data PersonRequirements' Source #
Defines the object schema located at components.schemas.person.properties.requirements.anyOf
in the specification.
Constructors
PersonRequirements' | |
Fields
|
Instances
Eq PersonRequirements' Source # | |
Defined in StripeAPI.Types.Person Methods (==) :: PersonRequirements' -> PersonRequirements' -> Bool # (/=) :: PersonRequirements' -> PersonRequirements' -> Bool # | |
Show PersonRequirements' Source # | |
Defined in StripeAPI.Types.Person Methods showsPrec :: Int -> PersonRequirements' -> ShowS # show :: PersonRequirements' -> String # showList :: [PersonRequirements'] -> ShowS # | |
ToJSON PersonRequirements' Source # | |
Defined in StripeAPI.Types.Person Methods toJSON :: PersonRequirements' -> Value # toEncoding :: PersonRequirements' -> Encoding # toJSONList :: [PersonRequirements'] -> Value # toEncodingList :: [PersonRequirements'] -> Encoding # | |
FromJSON PersonRequirements' Source # | |
Defined in StripeAPI.Types.Person Methods parseJSON :: Value -> Parser PersonRequirements' # parseJSONList :: Value -> Parser [PersonRequirements'] # |
mkPersonRequirements' :: PersonRequirements' Source #
Create a new PersonRequirements'
with all required fields.