Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountPeoplePerson
Synopsis
- postAccountPeoplePerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountPeoplePersonRequestBody -> m (Either HttpException (Response PostAccountPeoplePersonResponse))
- postAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString))
- postAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPeoplePersonResponse))
- postAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountPeoplePersonRequestBody = PostAccountPeoplePersonRequestBody {
- postAccountPeoplePersonRequestBodyAccount :: Maybe String
- postAccountPeoplePersonRequestBodyAddress :: Maybe PostAccountPeoplePersonRequestBodyAddress'
- postAccountPeoplePersonRequestBodyAddressKana :: Maybe PostAccountPeoplePersonRequestBodyAddressKana'
- postAccountPeoplePersonRequestBodyAddressKanji :: Maybe PostAccountPeoplePersonRequestBodyAddressKanji'
- postAccountPeoplePersonRequestBodyDob :: Maybe PostAccountPeoplePersonRequestBodyDob'Variants
- postAccountPeoplePersonRequestBodyEmail :: Maybe String
- postAccountPeoplePersonRequestBodyExpand :: Maybe ([] String)
- postAccountPeoplePersonRequestBodyFirstName :: Maybe String
- postAccountPeoplePersonRequestBodyFirstNameKana :: Maybe String
- postAccountPeoplePersonRequestBodyFirstNameKanji :: Maybe String
- postAccountPeoplePersonRequestBodyGender :: Maybe String
- postAccountPeoplePersonRequestBodyIdNumber :: Maybe String
- postAccountPeoplePersonRequestBodyLastName :: Maybe String
- postAccountPeoplePersonRequestBodyLastNameKana :: Maybe String
- postAccountPeoplePersonRequestBodyLastNameKanji :: Maybe String
- postAccountPeoplePersonRequestBodyMaidenName :: Maybe String
- postAccountPeoplePersonRequestBodyMetadata :: Maybe PostAccountPeoplePersonRequestBodyMetadata'
- postAccountPeoplePersonRequestBodyPersonToken :: Maybe String
- postAccountPeoplePersonRequestBodyPhone :: Maybe String
- postAccountPeoplePersonRequestBodyRelationship :: Maybe PostAccountPeoplePersonRequestBodyRelationship'
- postAccountPeoplePersonRequestBodySsnLast_4 :: Maybe String
- postAccountPeoplePersonRequestBodyVerification :: Maybe PostAccountPeoplePersonRequestBodyVerification'
- data PostAccountPeoplePersonRequestBodyAddress' = PostAccountPeoplePersonRequestBodyAddress' {
- postAccountPeoplePersonRequestBodyAddress'City :: Maybe String
- postAccountPeoplePersonRequestBodyAddress'Country :: Maybe String
- postAccountPeoplePersonRequestBodyAddress'Line1 :: Maybe String
- postAccountPeoplePersonRequestBodyAddress'Line2 :: Maybe String
- postAccountPeoplePersonRequestBodyAddress'PostalCode :: Maybe String
- postAccountPeoplePersonRequestBodyAddress'State :: Maybe String
- data PostAccountPeoplePersonRequestBodyAddressKana' = PostAccountPeoplePersonRequestBodyAddressKana' {
- postAccountPeoplePersonRequestBodyAddressKana'City :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKana'Country :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKana'Line1 :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKana'Line2 :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKana'PostalCode :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKana'State :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKana'Town :: Maybe String
- data PostAccountPeoplePersonRequestBodyAddressKanji' = PostAccountPeoplePersonRequestBodyAddressKanji' {
- postAccountPeoplePersonRequestBodyAddressKanji'City :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKanji'Country :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKanji'Line1 :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKanji'Line2 :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKanji'PostalCode :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKanji'State :: Maybe String
- postAccountPeoplePersonRequestBodyAddressKanji'Town :: Maybe String
- data PostAccountPeoplePersonRequestBodyDob'OneOf1
- data PostAccountPeoplePersonRequestBodyDob'OneOf2 = PostAccountPeoplePersonRequestBodyDob'OneOf2 {}
- data PostAccountPeoplePersonRequestBodyDob'Variants
- data PostAccountPeoplePersonRequestBodyMetadata' = PostAccountPeoplePersonRequestBodyMetadata' {
- data PostAccountPeoplePersonRequestBodyRelationship' = PostAccountPeoplePersonRequestBodyRelationship' {
- postAccountPeoplePersonRequestBodyRelationship'Director :: Maybe Bool
- postAccountPeoplePersonRequestBodyRelationship'Executive :: Maybe Bool
- postAccountPeoplePersonRequestBodyRelationship'Owner :: Maybe Bool
- postAccountPeoplePersonRequestBodyRelationship'PercentOwnership :: Maybe PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
- postAccountPeoplePersonRequestBodyRelationship'Representative :: Maybe Bool
- postAccountPeoplePersonRequestBodyRelationship'Title :: Maybe String
- data PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1
- data PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
- data PostAccountPeoplePersonRequestBodyVerification' = PostAccountPeoplePersonRequestBodyVerification' {}
- data PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' = PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' {}
- data PostAccountPeoplePersonRequestBodyVerification'Document' = PostAccountPeoplePersonRequestBodyVerification'Document' {}
- data PostAccountPeoplePersonResponse
Documentation
postAccountPeoplePerson Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | person | Constraints: Maximum length of 5000 |
-> PostAccountPeoplePersonRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountPeoplePersonResponse)) | Monad containing the result of the operation |
POST /v1/account/people/{person}
<p>Updates an existing person.</p>
postAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/account/people/{person}
The same as postAccountPeoplePerson
but returns the raw ByteString
postAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPeoplePersonResponse)) Source #
POST /v1/account/people/{person}
Monadic version of postAccountPeoplePerson
(use with runWithConfiguration
)
postAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/account/people/{person}
Monadic version of postAccountPeoplePersonRaw
(use with runWithConfiguration
)
data PostAccountPeoplePersonRequestBody Source #
Defines the data type for the schema postAccountPeoplePersonRequestBody
PostAccountPeoplePersonRequestBody | |
|
data PostAccountPeoplePersonRequestBodyAddress' Source #
Defines the data type for the schema postAccountPeoplePersonRequestBodyAddress'
The person's address.
PostAccountPeoplePersonRequestBodyAddress' | |
|
data PostAccountPeoplePersonRequestBodyAddressKana' Source #
Defines the data type for the schema postAccountPeoplePersonRequestBodyAddress_kana'
The Kana variation of the person's address (Japan only).
PostAccountPeoplePersonRequestBodyAddressKana' | |
|
Instances
data PostAccountPeoplePersonRequestBodyAddressKanji' Source #
Defines the data type for the schema postAccountPeoplePersonRequestBodyAddress_kanji'
The Kanji variation of the person's address (Japan only).
PostAccountPeoplePersonRequestBodyAddressKanji' | |
|
Instances
data PostAccountPeoplePersonRequestBodyDob'OneOf1 Source #
Defines the enum schema postAccountPeoplePersonRequestBodyDob'OneOf1
PostAccountPeoplePersonRequestBodyDob'OneOf1EnumOther Value | |
PostAccountPeoplePersonRequestBodyDob'OneOf1EnumTyped String | |
PostAccountPeoplePersonRequestBodyDob'OneOf1EnumString_ |
Instances
data PostAccountPeoplePersonRequestBodyDob'OneOf2 Source #
Defines the data type for the schema postAccountPeoplePersonRequestBodyDob'OneOf2
Instances
data PostAccountPeoplePersonRequestBodyDob'Variants Source #
Define the one-of schema postAccountPeoplePersonRequestBodyDob'
The person's date of birth.
Instances
data PostAccountPeoplePersonRequestBodyMetadata' Source #
Defines the data type for the schema postAccountPeoplePersonRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
Instances
data PostAccountPeoplePersonRequestBodyRelationship' Source #
Defines the data type for the schema postAccountPeoplePersonRequestBodyRelationship'
The relationship that this person has with the account's legal entity.
Instances
data PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1 Source #
Defines the enum schema postAccountPeoplePersonRequestBodyRelationship'Percent_ownership'OneOf1
Instances
data PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants Source #
Define the one-of schema postAccountPeoplePersonRequestBodyRelationship'Percent_ownership'
Instances
data PostAccountPeoplePersonRequestBodyVerification' Source #
Defines the data type for the schema postAccountPeoplePersonRequestBodyVerification'
The person's verification status.
Instances
data PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' Source #
Defines the data type for the schema postAccountPeoplePersonRequestBodyVerification'Additional_document'
PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' | |
|
Instances
data PostAccountPeoplePersonRequestBodyVerification'Document' Source #
Defines the data type for the schema postAccountPeoplePersonRequestBodyVerification'Document'
PostAccountPeoplePersonRequestBodyVerification'Document' | |
|
Instances
data PostAccountPeoplePersonResponse Source #
Represents a response of the operation postAccountPeoplePerson
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostAccountPeoplePersonResponseError
is used.
PostAccountPeoplePersonResponseError String | Means either no matching case available or a parse error |
PostAccountPeoplePersonResponse200 Person | Successful response. |
PostAccountPeoplePersonResponseDefault Error | Error response. |