Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getIssuingCardholders
Synopsis
- getIssuingCardholders :: forall m. MonadHTTP m => GetIssuingCardholdersParameters -> StripeT m (Response GetIssuingCardholdersResponse)
- data GetIssuingCardholdersParameters = GetIssuingCardholdersParameters {
- getIssuingCardholdersParametersQueryCreated :: Maybe GetIssuingCardholdersParametersQueryCreated'Variants
- getIssuingCardholdersParametersQueryEmail :: Maybe Text
- getIssuingCardholdersParametersQueryEndingBefore :: Maybe Text
- getIssuingCardholdersParametersQueryExpand :: Maybe [Text]
- getIssuingCardholdersParametersQueryLimit :: Maybe Int
- getIssuingCardholdersParametersQueryPhoneNumber :: Maybe Text
- getIssuingCardholdersParametersQueryStartingAfter :: Maybe Text
- getIssuingCardholdersParametersQueryStatus :: Maybe GetIssuingCardholdersParametersQueryStatus'
- getIssuingCardholdersParametersQueryType :: Maybe GetIssuingCardholdersParametersQueryType'
- mkGetIssuingCardholdersParameters :: GetIssuingCardholdersParameters
- data GetIssuingCardholdersParametersQueryCreated'OneOf1 = GetIssuingCardholdersParametersQueryCreated'OneOf1 {}
- mkGetIssuingCardholdersParametersQueryCreated'OneOf1 :: GetIssuingCardholdersParametersQueryCreated'OneOf1
- data GetIssuingCardholdersParametersQueryCreated'Variants
- data GetIssuingCardholdersParametersQueryStatus'
- data GetIssuingCardholdersParametersQueryType'
- data GetIssuingCardholdersResponse
- data GetIssuingCardholdersResponseBody200 = GetIssuingCardholdersResponseBody200 {}
- mkGetIssuingCardholdersResponseBody200 :: [Issuing'cardholder] -> Bool -> Text -> GetIssuingCardholdersResponseBody200
Documentation
getIssuingCardholders Source #
:: forall m. MonadHTTP m | |
=> GetIssuingCardholdersParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetIssuingCardholdersResponse) | Monadic computation which returns the result of the operation |
GET /v1/issuing/cardholders
<p>Returns a list of Issuing <code>Cardholder</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>
data GetIssuingCardholdersParameters Source #
Defines the object schema located at paths./v1/issuing/cardholders.GET.parameters
in the specification.
GetIssuingCardholdersParameters | |
|
mkGetIssuingCardholdersParameters :: GetIssuingCardholdersParameters Source #
Create a new GetIssuingCardholdersParameters
with all required fields.
data GetIssuingCardholdersParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/issuing/cardholders.GET.parameters.properties.queryCreated.anyOf
in the specification.
Instances
mkGetIssuingCardholdersParametersQueryCreated'OneOf1 :: GetIssuingCardholdersParametersQueryCreated'OneOf1 Source #
Create a new GetIssuingCardholdersParametersQueryCreated'OneOf1
with all required fields.
data GetIssuingCardholdersParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/issuing/cardholders.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
Only return cardholders that were created during the given date interval.
GetIssuingCardholdersParametersQueryCreated'GetIssuingCardholdersParametersQueryCreated'OneOf1 GetIssuingCardholdersParametersQueryCreated'OneOf1 | |
GetIssuingCardholdersParametersQueryCreated'Int Int |
Instances
data GetIssuingCardholdersParametersQueryStatus' Source #
Defines the enum schema located at paths./v1/issuing/cardholders.GET.parameters.properties.queryStatus
in the specification.
Represents the parameter named 'status'
Only return cardholders that have the given status. One of `active`, `inactive`, or `blocked`.
GetIssuingCardholdersParametersQueryStatus'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetIssuingCardholdersParametersQueryStatus'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetIssuingCardholdersParametersQueryStatus'EnumActive | Represents the JSON value |
GetIssuingCardholdersParametersQueryStatus'EnumBlocked | Represents the JSON value |
GetIssuingCardholdersParametersQueryStatus'EnumInactive | Represents the JSON value |
data GetIssuingCardholdersParametersQueryType' Source #
Defines the enum schema located at paths./v1/issuing/cardholders.GET.parameters.properties.queryType
in the specification.
Represents the parameter named 'type'
Only return cardholders that have the given type. One of `individual` or `company`.
GetIssuingCardholdersParametersQueryType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetIssuingCardholdersParametersQueryType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetIssuingCardholdersParametersQueryType'EnumCompany | Represents the JSON value |
GetIssuingCardholdersParametersQueryType'EnumIndividual | Represents the JSON value |
data GetIssuingCardholdersResponse Source #
Represents a response of the operation getIssuingCardholders
.
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), GetIssuingCardholdersResponseError
is used.
GetIssuingCardholdersResponseError String | Means either no matching case available or a parse error |
GetIssuingCardholdersResponse200 GetIssuingCardholdersResponseBody200 | Successful response. |
GetIssuingCardholdersResponseDefault Error | Error response. |
Instances
data GetIssuingCardholdersResponseBody200 Source #
Defines the object schema located at paths./v1/issuing/cardholders.GET.responses.200.content.application/json.schema
in the specification.
GetIssuingCardholdersResponseBody200 | |
|
mkGetIssuingCardholdersResponseBody200 Source #
Create a new GetIssuingCardholdersResponseBody200
with all required fields.