Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
Person | |
|
Create a new Person
with all required fields.
data PersonAddressKana' Source #
Defines the object schema located at components.schemas.person.properties.address_kana.anyOf
in the specification.
PersonAddressKana' | |
|
Instances
Eq PersonAddressKana' Source # | |
Defined in StripeAPI.Types.Person (==) :: PersonAddressKana' -> PersonAddressKana' -> Bool # (/=) :: PersonAddressKana' -> PersonAddressKana' -> Bool # | |
Show PersonAddressKana' Source # | |
Defined in StripeAPI.Types.Person showsPrec :: Int -> PersonAddressKana' -> ShowS # show :: PersonAddressKana' -> String # showList :: [PersonAddressKana'] -> ShowS # | |
ToJSON PersonAddressKana' Source # | |
Defined in StripeAPI.Types.Person toJSON :: PersonAddressKana' -> Value # toEncoding :: PersonAddressKana' -> Encoding # toJSONList :: [PersonAddressKana'] -> Value # toEncodingList :: [PersonAddressKana'] -> Encoding # | |
FromJSON PersonAddressKana' Source # | |
Defined in StripeAPI.Types.Person 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.
PersonAddressKanji' | |
|
Instances
Eq PersonAddressKanji' Source # | |
Defined in StripeAPI.Types.Person (==) :: PersonAddressKanji' -> PersonAddressKanji' -> Bool # (/=) :: PersonAddressKanji' -> PersonAddressKanji' -> Bool # | |
Show PersonAddressKanji' Source # | |
Defined in StripeAPI.Types.Person showsPrec :: Int -> PersonAddressKanji' -> ShowS # show :: PersonAddressKanji' -> String # showList :: [PersonAddressKanji'] -> ShowS # | |
ToJSON PersonAddressKanji' Source # | |
Defined in StripeAPI.Types.Person toJSON :: PersonAddressKanji' -> Value # toEncoding :: PersonAddressKanji' -> Encoding # toJSONList :: [PersonAddressKanji'] -> Value # toEncodingList :: [PersonAddressKanji'] -> Encoding # | |
FromJSON PersonAddressKanji' Source # | |
Defined in StripeAPI.Types.Person 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.
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 | |
Show PersonPoliticalExposure' Source # | |
Defined in StripeAPI.Types.Person showsPrec :: Int -> PersonPoliticalExposure' -> ShowS # show :: PersonPoliticalExposure' -> String # showList :: [PersonPoliticalExposure'] -> ShowS # | |
ToJSON PersonPoliticalExposure' Source # | |
Defined in StripeAPI.Types.Person | |
FromJSON PersonPoliticalExposure' Source # | |
Defined in StripeAPI.Types.Person |
data PersonRequirements' Source #
Defines the object schema located at components.schemas.person.properties.requirements.anyOf
in the specification.
PersonRequirements' | |
|
Instances
Eq PersonRequirements' Source # | |
Defined in StripeAPI.Types.Person (==) :: PersonRequirements' -> PersonRequirements' -> Bool # (/=) :: PersonRequirements' -> PersonRequirements' -> Bool # | |
Show PersonRequirements' Source # | |
Defined in StripeAPI.Types.Person showsPrec :: Int -> PersonRequirements' -> ShowS # show :: PersonRequirements' -> String # showList :: [PersonRequirements'] -> ShowS # | |
ToJSON PersonRequirements' Source # | |
Defined in StripeAPI.Types.Person toJSON :: PersonRequirements' -> Value # toEncoding :: PersonRequirements' -> Encoding # toJSONList :: [PersonRequirements'] -> Value # toEncodingList :: [PersonRequirements'] -> Encoding # | |
FromJSON PersonRequirements' Source # | |
Defined in StripeAPI.Types.Person parseJSON :: Value -> Parser PersonRequirements' # parseJSONList :: Value -> Parser [PersonRequirements'] # |
mkPersonRequirements' :: PersonRequirements' Source #
Create a new PersonRequirements'
with all required fields.