Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountsAccountPersons
Synopsis
- getAccountsAccountPersons :: forall m. MonadHTTP m => GetAccountsAccountPersonsParameters -> StripeT m (Response GetAccountsAccountPersonsResponse)
- data GetAccountsAccountPersonsParameters = GetAccountsAccountPersonsParameters {
- getAccountsAccountPersonsParametersPathAccount :: Text
- getAccountsAccountPersonsParametersQueryEndingBefore :: Maybe Text
- getAccountsAccountPersonsParametersQueryExpand :: Maybe [Text]
- getAccountsAccountPersonsParametersQueryLimit :: Maybe Int
- getAccountsAccountPersonsParametersQueryRelationship :: Maybe GetAccountsAccountPersonsParametersQueryRelationship'
- getAccountsAccountPersonsParametersQueryStartingAfter :: Maybe Text
- mkGetAccountsAccountPersonsParameters :: Text -> GetAccountsAccountPersonsParameters
- data GetAccountsAccountPersonsParametersQueryRelationship' = GetAccountsAccountPersonsParametersQueryRelationship' {
- getAccountsAccountPersonsParametersQueryRelationship'Director :: Maybe Bool
- getAccountsAccountPersonsParametersQueryRelationship'Executive :: Maybe Bool
- getAccountsAccountPersonsParametersQueryRelationship'Owner :: Maybe Bool
- getAccountsAccountPersonsParametersQueryRelationship'Representative :: Maybe Bool
- mkGetAccountsAccountPersonsParametersQueryRelationship' :: GetAccountsAccountPersonsParametersQueryRelationship'
- data GetAccountsAccountPersonsResponse
- data GetAccountsAccountPersonsResponseBody200 = GetAccountsAccountPersonsResponseBody200 {}
- mkGetAccountsAccountPersonsResponseBody200 :: [Person] -> Bool -> Text -> GetAccountsAccountPersonsResponseBody200
Documentation
getAccountsAccountPersons Source #
:: forall m. MonadHTTP m | |
=> GetAccountsAccountPersonsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetAccountsAccountPersonsResponse) | Monadic computation which returns the result of the operation |
GET /v1/accounts/{account}/persons
<p>Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.</p>
data GetAccountsAccountPersonsParameters Source #
Defines the object schema located at paths./v1/accounts/{account}/persons.GET.parameters
in the specification.
GetAccountsAccountPersonsParameters | |
|
mkGetAccountsAccountPersonsParameters Source #
Create a new GetAccountsAccountPersonsParameters
with all required fields.
data GetAccountsAccountPersonsParametersQueryRelationship' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons.GET.parameters.properties.queryRelationship
in the specification.
Represents the parameter named 'relationship'
Filters on the list of people returned based on the person's relationship to the account's company.
Instances
mkGetAccountsAccountPersonsParametersQueryRelationship' :: GetAccountsAccountPersonsParametersQueryRelationship' Source #
Create a new GetAccountsAccountPersonsParametersQueryRelationship'
with all required fields.
data GetAccountsAccountPersonsResponse Source #
Represents a response of the operation getAccountsAccountPersons
.
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), GetAccountsAccountPersonsResponseError
is used.
GetAccountsAccountPersonsResponseError String | Means either no matching case available or a parse error |
GetAccountsAccountPersonsResponse200 GetAccountsAccountPersonsResponseBody200 | Successful response. |
GetAccountsAccountPersonsResponseDefault Error | Error response. |
data GetAccountsAccountPersonsResponseBody200 Source #
Defines the object schema located at paths./v1/accounts/{account}/persons.GET.responses.200.content.application/json.schema
in the specification.
GetAccountsAccountPersonsResponseBody200 | |
|
mkGetAccountsAccountPersonsResponseBody200 Source #
:: [Person] | |
-> Bool | |
-> Text | |
-> GetAccountsAccountPersonsResponseBody200 |
Create a new GetAccountsAccountPersonsResponseBody200
with all required fields.