Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.List_account_transactions
Description
Contains the different functions to run the operation list_account_transactions
Synopsis
- list_account_transactions :: forall m. MonadHTTP m => List_account_transactionsParameters -> ClientT m (Response List_account_transactionsResponse)
- data List_account_transactionsParameters = List_account_transactionsParameters {
- list_account_transactionsParametersPathAccount_id :: Text
- list_account_transactionsParametersQueryBegin_time :: Maybe JsonDateTime
- list_account_transactionsParametersQueryEnd_time :: Maybe JsonDateTime
- list_account_transactionsParametersQueryIds :: Maybe [Text]
- list_account_transactionsParametersQueryLimit :: Maybe Int
- list_account_transactionsParametersQueryOrder :: Maybe List_account_transactionsParametersQueryOrder
- list_account_transactionsParametersQuerySort :: Maybe List_account_transactionsParametersQuerySort
- list_account_transactionsParametersQuerySuccess :: Maybe List_account_transactionsParametersQuerySuccess
- list_account_transactionsParametersQueryType :: Maybe List_account_transactionsParametersQueryType
- mkList_account_transactionsParameters :: Text -> List_account_transactionsParameters
- data List_account_transactionsParametersQueryOrder
- data List_account_transactionsParametersQuerySort
- data List_account_transactionsParametersQuerySuccess
- data List_account_transactionsParametersQueryType
- = List_account_transactionsParametersQueryTypeOther Value
- | List_account_transactionsParametersQueryTypeTyped Text
- | List_account_transactionsParametersQueryTypeEnumAuthorization
- | List_account_transactionsParametersQueryTypeEnumCapture
- | List_account_transactionsParametersQueryTypeEnumPayment
- | List_account_transactionsParametersQueryTypeEnumPurchase
- | List_account_transactionsParametersQueryTypeEnumRefund
- | List_account_transactionsParametersQueryTypeEnumVerify
- data List_account_transactionsResponse
- list_account_transactionsWithConfiguration :: forall m. MonadHTTP m => Configuration -> List_account_transactionsParameters -> m (Response List_account_transactionsResponse)
- list_account_transactionsRaw :: forall m. MonadHTTP m => List_account_transactionsParameters -> ClientT m (Response ByteString)
- list_account_transactionsWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> List_account_transactionsParameters -> m (Response ByteString)
Documentation
list_account_transactions Source #
Arguments
:: forall m. MonadHTTP m | |
=> List_account_transactionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response List_account_transactionsResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/transactions
See the Pagination Guide to learn how to use pagination in the API and Client Libraries.
data List_account_transactionsParameters Source #
Defines the object schema located at paths./accounts/{account_id}/transactions.GET.parameters
in the specification.
Constructors
List_account_transactionsParameters | |
Fields
|
Instances
mkList_account_transactionsParameters Source #
Arguments
:: Text | |
-> List_account_transactionsParameters |
Create a new List_account_transactionsParameters
with all required fields.
data List_account_transactionsParametersQueryOrder Source #
Defines the enum schema located at paths./accounts/{account_id}/transactions.GET.parameters.properties.queryOrder
in the specification.
Represents the parameter named 'order'
Sort order.
Constructors
List_account_transactionsParametersQueryOrderOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_account_transactionsParametersQueryOrderTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_account_transactionsParametersQueryOrderEnumAsc | Represents the JSON value |
List_account_transactionsParametersQueryOrderEnumDesc | Represents the JSON value |
Instances
data List_account_transactionsParametersQuerySort Source #
Defines the enum schema located at paths./accounts/{account_id}/transactions.GET.parameters.properties.querySort
in the specification.
Represents the parameter named 'sort'
Sort field. You *really* only want to sort by `updated_at` in ascending order. In descending order updated records will move behind the cursor and could prevent some records from being returned.
Constructors
List_account_transactionsParametersQuerySortOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_account_transactionsParametersQuerySortTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_account_transactionsParametersQuerySortEnumCreated_at | Represents the JSON value |
List_account_transactionsParametersQuerySortEnumUpdated_at | Represents the JSON value |
Instances
data List_account_transactionsParametersQuerySuccess Source #
Defines the enum schema located at paths./accounts/{account_id}/transactions.GET.parameters.properties.querySuccess
in the specification.
Represents the parameter named 'success'
Filter by success field.
Constructors
List_account_transactionsParametersQuerySuccessOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_account_transactionsParametersQuerySuccessTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_account_transactionsParametersQuerySuccessEnumTrue | Represents the JSON value |
Instances
data List_account_transactionsParametersQueryType Source #
Defines the enum schema located at paths./accounts/{account_id}/transactions.GET.parameters.properties.queryType
in the specification.
Represents the parameter named 'type'
Filter by type field. The value `payment` will return both `purchase` and `capture` transactions.
Constructors
List_account_transactionsParametersQueryTypeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_account_transactionsParametersQueryTypeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_account_transactionsParametersQueryTypeEnumAuthorization | Represents the JSON value |
List_account_transactionsParametersQueryTypeEnumCapture | Represents the JSON value |
List_account_transactionsParametersQueryTypeEnumPayment | Represents the JSON value |
List_account_transactionsParametersQueryTypeEnumPurchase | Represents the JSON value |
List_account_transactionsParametersQueryTypeEnumRefund | Represents the JSON value |
List_account_transactionsParametersQueryTypeEnumVerify | Represents the JSON value |
Instances
data List_account_transactionsResponse Source #
Represents a response of the operation list_account_transactions
.
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), List_account_transactionsResponseError
is used.
Constructors
List_account_transactionsResponseError String | Means either no matching case available or a parse error |
List_account_transactionsResponse200 TransactionList | A list of the account's transactions. |
List_account_transactionsResponse400 Error | Invalid or unpermitted parameter. |
List_account_transactionsResponse404 Error | Incorrect site or subscription ID. |
List_account_transactionsResponseDefault Error | Unexpected error. |
Instances
list_account_transactionsWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_account_transactionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response List_account_transactionsResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/transactions
The same as list_account_transactions
but accepts an explicit configuration.
list_account_transactionsRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> List_account_transactionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/transactions
The same as list_account_transactions
but returns the raw ByteString
.
list_account_transactionsWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_account_transactionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/transactions
The same as list_account_transactions
but accepts an explicit configuration and returns the raw ByteString
.