Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountsAccountPeople
Synopsis
- getAccountsAccountPeople :: forall m. MonadHTTP m => GetAccountsAccountPeopleParameters -> StripeT m (Response GetAccountsAccountPeopleResponse)
- data GetAccountsAccountPeopleParameters = GetAccountsAccountPeopleParameters {
- getAccountsAccountPeopleParametersPathAccount :: Text
- getAccountsAccountPeopleParametersQueryEndingBefore :: Maybe Text
- getAccountsAccountPeopleParametersQueryExpand :: Maybe [Text]
- getAccountsAccountPeopleParametersQueryLimit :: Maybe Int
- getAccountsAccountPeopleParametersQueryRelationship :: Maybe GetAccountsAccountPeopleParametersQueryRelationship'
- getAccountsAccountPeopleParametersQueryStartingAfter :: Maybe Text
- mkGetAccountsAccountPeopleParameters :: Text -> GetAccountsAccountPeopleParameters
- data GetAccountsAccountPeopleParametersQueryRelationship' = GetAccountsAccountPeopleParametersQueryRelationship' {
- getAccountsAccountPeopleParametersQueryRelationship'Director :: Maybe Bool
- getAccountsAccountPeopleParametersQueryRelationship'Executive :: Maybe Bool
- getAccountsAccountPeopleParametersQueryRelationship'Owner :: Maybe Bool
- getAccountsAccountPeopleParametersQueryRelationship'Representative :: Maybe Bool
- mkGetAccountsAccountPeopleParametersQueryRelationship' :: GetAccountsAccountPeopleParametersQueryRelationship'
- data GetAccountsAccountPeopleResponse
- data GetAccountsAccountPeopleResponseBody200 = GetAccountsAccountPeopleResponseBody200 {}
- mkGetAccountsAccountPeopleResponseBody200 :: [Person] -> Bool -> Text -> GetAccountsAccountPeopleResponseBody200
Documentation
getAccountsAccountPeople Source #
:: forall m. MonadHTTP m | |
=> GetAccountsAccountPeopleParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetAccountsAccountPeopleResponse) | Monadic computation which returns the result of the operation |
GET /v1/accounts/{account}/people
<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 GetAccountsAccountPeopleParameters Source #
Defines the object schema located at paths./v1/accounts/{account}/people.GET.parameters
in the specification.
GetAccountsAccountPeopleParameters | |
|
mkGetAccountsAccountPeopleParameters Source #
Create a new GetAccountsAccountPeopleParameters
with all required fields.
data GetAccountsAccountPeopleParametersQueryRelationship' Source #
Defines the object schema located at paths./v1/accounts/{account}/people.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
mkGetAccountsAccountPeopleParametersQueryRelationship' :: GetAccountsAccountPeopleParametersQueryRelationship' Source #
Create a new GetAccountsAccountPeopleParametersQueryRelationship'
with all required fields.
data GetAccountsAccountPeopleResponse Source #
Represents a response of the operation getAccountsAccountPeople
.
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), GetAccountsAccountPeopleResponseError
is used.
GetAccountsAccountPeopleResponseError String | Means either no matching case available or a parse error |
GetAccountsAccountPeopleResponse200 GetAccountsAccountPeopleResponseBody200 | Successful response. |
GetAccountsAccountPeopleResponseDefault Error | Error response. |
data GetAccountsAccountPeopleResponseBody200 Source #
Defines the object schema located at paths./v1/accounts/{account}/people.GET.responses.200.content.application/json.schema
in the specification.
GetAccountsAccountPeopleResponseBody200 | |
|
mkGetAccountsAccountPeopleResponseBody200 Source #
:: [Person] | |
-> Bool | |
-> Text | |
-> GetAccountsAccountPeopleResponseBody200 |
Create a new GetAccountsAccountPeopleResponseBody200
with all required fields.