Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getIssuingAuthorizations
Synopsis
- getIssuingAuthorizations :: forall m. MonadHTTP m => GetIssuingAuthorizationsParameters -> ClientT m (Response GetIssuingAuthorizationsResponse)
- data GetIssuingAuthorizationsParameters = GetIssuingAuthorizationsParameters {
- getIssuingAuthorizationsParametersQueryCard :: Maybe Text
- getIssuingAuthorizationsParametersQueryCardholder :: Maybe Text
- getIssuingAuthorizationsParametersQueryCreated :: Maybe GetIssuingAuthorizationsParametersQueryCreated'Variants
- getIssuingAuthorizationsParametersQueryEndingBefore :: Maybe Text
- getIssuingAuthorizationsParametersQueryExpand :: Maybe [Text]
- getIssuingAuthorizationsParametersQueryLimit :: Maybe Int
- getIssuingAuthorizationsParametersQueryStartingAfter :: Maybe Text
- getIssuingAuthorizationsParametersQueryStatus :: Maybe GetIssuingAuthorizationsParametersQueryStatus'
- mkGetIssuingAuthorizationsParameters :: GetIssuingAuthorizationsParameters
- data GetIssuingAuthorizationsParametersQueryCreated'OneOf1 = GetIssuingAuthorizationsParametersQueryCreated'OneOf1 {}
- mkGetIssuingAuthorizationsParametersQueryCreated'OneOf1 :: GetIssuingAuthorizationsParametersQueryCreated'OneOf1
- data GetIssuingAuthorizationsParametersQueryCreated'Variants
- data GetIssuingAuthorizationsParametersQueryStatus'
- data GetIssuingAuthorizationsResponse
- data GetIssuingAuthorizationsResponseBody200 = GetIssuingAuthorizationsResponseBody200 {}
- mkGetIssuingAuthorizationsResponseBody200 :: [Issuing'authorization] -> Bool -> Text -> GetIssuingAuthorizationsResponseBody200
Documentation
getIssuingAuthorizations Source #
:: forall m. MonadHTTP m | |
=> GetIssuingAuthorizationsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetIssuingAuthorizationsResponse) | Monadic computation which returns the result of the operation |
GET /v1/issuing/authorizations
<p>Returns a list of Issuing <code>Authorization</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>
data GetIssuingAuthorizationsParameters Source #
Defines the object schema located at paths./v1/issuing/authorizations.GET.parameters
in the specification.
GetIssuingAuthorizationsParameters | |
|
mkGetIssuingAuthorizationsParameters :: GetIssuingAuthorizationsParameters Source #
Create a new GetIssuingAuthorizationsParameters
with all required fields.
data GetIssuingAuthorizationsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/issuing/authorizations.GET.parameters.properties.queryCreated.anyOf
in the specification.
Instances
mkGetIssuingAuthorizationsParametersQueryCreated'OneOf1 :: GetIssuingAuthorizationsParametersQueryCreated'OneOf1 Source #
Create a new GetIssuingAuthorizationsParametersQueryCreated'OneOf1
with all required fields.
data GetIssuingAuthorizationsParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/issuing/authorizations.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
Only return authorizations that were created during the given date interval.
Instances
data GetIssuingAuthorizationsParametersQueryStatus' Source #
Defines the enum schema located at paths./v1/issuing/authorizations.GET.parameters.properties.queryStatus
in the specification.
Represents the parameter named 'status'
Only return authorizations with the given status. One of `pending`, `closed`, or `reversed`.
GetIssuingAuthorizationsParametersQueryStatus'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetIssuingAuthorizationsParametersQueryStatus'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetIssuingAuthorizationsParametersQueryStatus'EnumClosed | Represents the JSON value |
GetIssuingAuthorizationsParametersQueryStatus'EnumPending | Represents the JSON value |
GetIssuingAuthorizationsParametersQueryStatus'EnumReversed | Represents the JSON value |
data GetIssuingAuthorizationsResponse Source #
Represents a response of the operation getIssuingAuthorizations
.
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), GetIssuingAuthorizationsResponseError
is used.
GetIssuingAuthorizationsResponseError String | Means either no matching case available or a parse error |
GetIssuingAuthorizationsResponse200 GetIssuingAuthorizationsResponseBody200 | Successful response. |
GetIssuingAuthorizationsResponseDefault Error | Error response. |
data GetIssuingAuthorizationsResponseBody200 Source #
Defines the object schema located at paths./v1/issuing/authorizations.GET.responses.200.content.application/json.schema
in the specification.
GetIssuingAuthorizationsResponseBody200 | |
|
mkGetIssuingAuthorizationsResponseBody200 Source #
Create a new GetIssuingAuthorizationsResponseBody200
with all required fields.