Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getIssuingTransactions
Synopsis
- getIssuingTransactions :: forall m. MonadHTTP m => GetIssuingTransactionsParameters -> ClientT m (Response GetIssuingTransactionsResponse)
- data GetIssuingTransactionsParameters = GetIssuingTransactionsParameters {
- getIssuingTransactionsParametersQueryCard :: Maybe Text
- getIssuingTransactionsParametersQueryCardholder :: Maybe Text
- getIssuingTransactionsParametersQueryCreated :: Maybe GetIssuingTransactionsParametersQueryCreated'Variants
- getIssuingTransactionsParametersQueryEndingBefore :: Maybe Text
- getIssuingTransactionsParametersQueryExpand :: Maybe [Text]
- getIssuingTransactionsParametersQueryLimit :: Maybe Int
- getIssuingTransactionsParametersQueryStartingAfter :: Maybe Text
- getIssuingTransactionsParametersQueryType :: Maybe GetIssuingTransactionsParametersQueryType'
- mkGetIssuingTransactionsParameters :: GetIssuingTransactionsParameters
- data GetIssuingTransactionsParametersQueryCreated'OneOf1 = GetIssuingTransactionsParametersQueryCreated'OneOf1 {}
- mkGetIssuingTransactionsParametersQueryCreated'OneOf1 :: GetIssuingTransactionsParametersQueryCreated'OneOf1
- data GetIssuingTransactionsParametersQueryCreated'Variants
- data GetIssuingTransactionsParametersQueryType'
- data GetIssuingTransactionsResponse
- data GetIssuingTransactionsResponseBody200 = GetIssuingTransactionsResponseBody200 {}
- mkGetIssuingTransactionsResponseBody200 :: [Issuing'transaction] -> Bool -> Text -> GetIssuingTransactionsResponseBody200
Documentation
getIssuingTransactions Source #
:: forall m. MonadHTTP m | |
=> GetIssuingTransactionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetIssuingTransactionsResponse) | Monadic computation which returns the result of the operation |
GET /v1/issuing/transactions
<p>Returns a list of Issuing <code>Transaction</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>
data GetIssuingTransactionsParameters Source #
Defines the object schema located at paths./v1/issuing/transactions.GET.parameters
in the specification.
GetIssuingTransactionsParameters | |
|
mkGetIssuingTransactionsParameters :: GetIssuingTransactionsParameters Source #
Create a new GetIssuingTransactionsParameters
with all required fields.
data GetIssuingTransactionsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/issuing/transactions.GET.parameters.properties.queryCreated.anyOf
in the specification.
Instances
mkGetIssuingTransactionsParametersQueryCreated'OneOf1 :: GetIssuingTransactionsParametersQueryCreated'OneOf1 Source #
Create a new GetIssuingTransactionsParametersQueryCreated'OneOf1
with all required fields.
data GetIssuingTransactionsParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/issuing/transactions.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
Only return transactions that were created during the given date interval.
Instances
data GetIssuingTransactionsParametersQueryType' Source #
Defines the enum schema located at paths./v1/issuing/transactions.GET.parameters.properties.queryType
in the specification.
Represents the parameter named 'type'
Only return transactions that have the given type. One of `capture` or `refund`.
GetIssuingTransactionsParametersQueryType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetIssuingTransactionsParametersQueryType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetIssuingTransactionsParametersQueryType'EnumCapture | Represents the JSON value |
GetIssuingTransactionsParametersQueryType'EnumRefund | Represents the JSON value |
data GetIssuingTransactionsResponse Source #
Represents a response of the operation getIssuingTransactions
.
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), GetIssuingTransactionsResponseError
is used.
GetIssuingTransactionsResponseError String | Means either no matching case available or a parse error |
GetIssuingTransactionsResponse200 GetIssuingTransactionsResponseBody200 | Successful response. |
GetIssuingTransactionsResponseDefault Error | Error response. |
data GetIssuingTransactionsResponseBody200 Source #
Defines the object schema located at paths./v1/issuing/transactions.GET.responses.200.content.application/json.schema
in the specification.
GetIssuingTransactionsResponseBody200 | |
|
mkGetIssuingTransactionsResponseBody200 Source #
Create a new GetIssuingTransactionsResponseBody200
with all required fields.