Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getIssuingTransactions
Synopsis
- getIssuingTransactions :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetIssuingTransactionsRequestBody -> m (Either HttpException (Response GetIssuingTransactionsResponse))
- getIssuingTransactionsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetIssuingTransactionsRequestBody -> m (Either HttpException (Response ByteString))
- getIssuingTransactionsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetIssuingTransactionsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetIssuingTransactionsResponse))
- getIssuingTransactionsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetIssuingTransactionsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetIssuingTransactionsRequestBody = GetIssuingTransactionsRequestBody {
- data GetIssuingTransactionsResponse
- data GetIssuingTransactionsResponseBody200 = GetIssuingTransactionsResponseBody200 {}
- data GetIssuingTransactionsResponseBody200Object'
Documentation
getIssuingTransactions Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | card: Only return transactions that belong to the given card. | Constraints: Maximum length of 5000 |
-> Maybe String | cardholder: Only return transactions that belong to the given cardholder. | Constraints: Maximum length of 5000 |
-> Maybe String | created: Only return transactions that were created during the given date interval. |
-> Maybe String | dispute: Only return transactions that originate from a given dispute. | Constraints: Maximum length of 5000 |
-> Maybe String | ending_before: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. | Constraints: Maximum length of 5000 |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> Maybe Integer | limit: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
-> Maybe String | settlement: Only return transactions that are associated with the given settlement. | Constraints: Maximum length of 5000 |
-> Maybe String | starting_after: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. | Constraints: Maximum length of 5000 |
-> GetIssuingTransactionsRequestBody | The request body to send |
-> m (Either HttpException (Response GetIssuingTransactionsResponse)) | Monad containing 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>
getIssuingTransactionsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetIssuingTransactionsRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/issuing/transactions
The same as getIssuingTransactions
but returns the raw ByteString
getIssuingTransactionsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetIssuingTransactionsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetIssuingTransactionsResponse)) Source #
GET /v1/issuing/transactions
Monadic version of getIssuingTransactions
(use with runWithConfiguration
)
getIssuingTransactionsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetIssuingTransactionsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/issuing/transactions
Monadic version of getIssuingTransactionsRaw
(use with runWithConfiguration
)
data GetIssuingTransactionsRequestBody Source #
Defines the data type for the schema getIssuingTransactionsRequestBody
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 data type for the schema GetIssuingTransactionsResponseBody200
GetIssuingTransactionsResponseBody200 | |
|
data GetIssuingTransactionsResponseBody200Object' Source #
Defines the enum schema GetIssuingTransactionsResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
GetIssuingTransactionsResponseBody200Object'EnumOther Value | |
GetIssuingTransactionsResponseBody200Object'EnumTyped String | |
GetIssuingTransactionsResponseBody200Object'EnumStringList |