Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountPeople
Synopsis
- getAccountPeople :: forall m. MonadHTTP m => GetAccountPeopleParameters -> StripeT m (Response GetAccountPeopleResponse)
- data GetAccountPeopleParameters = GetAccountPeopleParameters {
- getAccountPeopleParametersQueryEndingBefore :: Maybe Text
- getAccountPeopleParametersQueryExpand :: Maybe [Text]
- getAccountPeopleParametersQueryLimit :: Maybe Int
- getAccountPeopleParametersQueryRelationship :: Maybe GetAccountPeopleParametersQueryRelationship'
- getAccountPeopleParametersQueryStartingAfter :: Maybe Text
- mkGetAccountPeopleParameters :: GetAccountPeopleParameters
- data GetAccountPeopleParametersQueryRelationship' = GetAccountPeopleParametersQueryRelationship' {}
- mkGetAccountPeopleParametersQueryRelationship' :: GetAccountPeopleParametersQueryRelationship'
- data GetAccountPeopleResponse
- data GetAccountPeopleResponseBody200 = GetAccountPeopleResponseBody200 {}
- mkGetAccountPeopleResponseBody200 :: [Person] -> Bool -> Text -> GetAccountPeopleResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetAccountPeopleParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetAccountPeopleResponse) | Monadic computation which returns the result of the operation |
GET /v1/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 GetAccountPeopleParameters Source #
Defines the object schema located at paths./v1/account/people.GET.parameters
in the specification.
GetAccountPeopleParameters | |
|
Instances
mkGetAccountPeopleParameters :: GetAccountPeopleParameters Source #
Create a new GetAccountPeopleParameters
with all required fields.
data GetAccountPeopleParametersQueryRelationship' Source #
Defines the object schema located at paths./v1/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.
mkGetAccountPeopleParametersQueryRelationship' :: GetAccountPeopleParametersQueryRelationship' Source #
Create a new GetAccountPeopleParametersQueryRelationship'
with all required fields.
data GetAccountPeopleResponse Source #
Represents a response of the operation getAccountPeople
.
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), GetAccountPeopleResponseError
is used.
GetAccountPeopleResponseError String | Means either no matching case available or a parse error |
GetAccountPeopleResponse200 GetAccountPeopleResponseBody200 | Successful response. |
GetAccountPeopleResponseDefault Error | Error response. |
Instances
Eq GetAccountPeopleResponse Source # | |
Defined in StripeAPI.Operations.GetAccountPeople | |
Show GetAccountPeopleResponse Source # | |
Defined in StripeAPI.Operations.GetAccountPeople showsPrec :: Int -> GetAccountPeopleResponse -> ShowS # show :: GetAccountPeopleResponse -> String # showList :: [GetAccountPeopleResponse] -> ShowS # |
data GetAccountPeopleResponseBody200 Source #
Defines the object schema located at paths./v1/account/people.GET.responses.200.content.application/json.schema
in the specification.
GetAccountPeopleResponseBody200 | |
|
mkGetAccountPeopleResponseBody200 Source #
:: [Person] | |
-> Bool | |
-> Text | |
-> GetAccountPeopleResponseBody200 |
Create a new GetAccountPeopleResponseBody200
with all required fields.