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 -> Text -> Maybe PostAccountPeoplePersonRequestBody -> m (Either HttpException (Response PostAccountPeoplePersonResponse))
- postAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe PostAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString))
- postAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPeoplePersonResponse))
- postAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountPeoplePersonRequestBody = PostAccountPeoplePersonRequestBody {
- postAccountPeoplePersonRequestBodyAccount :: Maybe Text
- postAccountPeoplePersonRequestBodyAddress :: Maybe PostAccountPeoplePersonRequestBodyAddress'
- postAccountPeoplePersonRequestBodyAddressKana :: Maybe PostAccountPeoplePersonRequestBodyAddressKana'
- postAccountPeoplePersonRequestBodyAddressKanji :: Maybe PostAccountPeoplePersonRequestBodyAddressKanji'
- postAccountPeoplePersonRequestBodyDob :: Maybe PostAccountPeoplePersonRequestBodyDob'Variants
- postAccountPeoplePersonRequestBodyEmail :: Maybe Text
- postAccountPeoplePersonRequestBodyExpand :: Maybe ([] Text)
- postAccountPeoplePersonRequestBodyFirstName :: Maybe Text
- postAccountPeoplePersonRequestBodyFirstNameKana :: Maybe Text
- postAccountPeoplePersonRequestBodyFirstNameKanji :: Maybe Text
- postAccountPeoplePersonRequestBodyGender :: Maybe Text
- postAccountPeoplePersonRequestBodyIdNumber :: Maybe Text
- postAccountPeoplePersonRequestBodyLastName :: Maybe Text
- postAccountPeoplePersonRequestBodyLastNameKana :: Maybe Text
- postAccountPeoplePersonRequestBodyLastNameKanji :: Maybe Text
- postAccountPeoplePersonRequestBodyMaidenName :: Maybe Text
- postAccountPeoplePersonRequestBodyMetadata :: Maybe PostAccountPeoplePersonRequestBodyMetadata'
- postAccountPeoplePersonRequestBodyPersonToken :: Maybe Text
- postAccountPeoplePersonRequestBodyPhone :: Maybe Text
- postAccountPeoplePersonRequestBodyRelationship :: Maybe PostAccountPeoplePersonRequestBodyRelationship'
- postAccountPeoplePersonRequestBodySsnLast_4 :: Maybe Text
- postAccountPeoplePersonRequestBodyVerification :: Maybe PostAccountPeoplePersonRequestBodyVerification'
- data PostAccountPeoplePersonRequestBodyAddress' = PostAccountPeoplePersonRequestBodyAddress' {
- postAccountPeoplePersonRequestBodyAddress'City :: Maybe Text
- postAccountPeoplePersonRequestBodyAddress'Country :: Maybe Text
- postAccountPeoplePersonRequestBodyAddress'Line1 :: Maybe Text
- postAccountPeoplePersonRequestBodyAddress'Line2 :: Maybe Text
- postAccountPeoplePersonRequestBodyAddress'PostalCode :: Maybe Text
- postAccountPeoplePersonRequestBodyAddress'State :: Maybe Text
- data PostAccountPeoplePersonRequestBodyAddressKana' = PostAccountPeoplePersonRequestBodyAddressKana' {
- postAccountPeoplePersonRequestBodyAddressKana'City :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKana'Country :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKana'Line1 :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKana'Line2 :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKana'PostalCode :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKana'State :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKana'Town :: Maybe Text
- data PostAccountPeoplePersonRequestBodyAddressKanji' = PostAccountPeoplePersonRequestBodyAddressKanji' {
- postAccountPeoplePersonRequestBodyAddressKanji'City :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKanji'Country :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKanji'Line1 :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKanji'Line2 :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKanji'PostalCode :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKanji'State :: Maybe Text
- postAccountPeoplePersonRequestBodyAddressKanji'Town :: Maybe Text
- 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 Text
- 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 |
-> Text | person | Constraints: Maximum length of 5000 |
-> Maybe 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 -> Text -> Maybe 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) => Text -> Maybe 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) => Text -> Maybe 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 Text | |
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. |