Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.List_general_ledger_accounts
Description
Contains the different functions to run the operation list_general_ledger_accounts
Synopsis
- list_general_ledger_accounts :: forall m. MonadHTTP m => List_general_ledger_accountsParameters -> ClientT m (Response List_general_ledger_accountsResponse)
- data List_general_ledger_accountsParameters = List_general_ledger_accountsParameters {
- list_general_ledger_accountsParametersQueryAccount_type :: Maybe List_general_ledger_accountsParametersQueryAccount_type
- list_general_ledger_accountsParametersQueryIds :: Maybe [Text]
- list_general_ledger_accountsParametersQueryLimit :: Maybe Int
- list_general_ledger_accountsParametersQueryOrder :: Maybe List_general_ledger_accountsParametersQueryOrder
- list_general_ledger_accountsParametersQuerySort :: Maybe List_general_ledger_accountsParametersQuerySort
- mkList_general_ledger_accountsParameters :: List_general_ledger_accountsParameters
- data List_general_ledger_accountsParametersQueryAccount_type
- data List_general_ledger_accountsParametersQueryOrder
- data List_general_ledger_accountsParametersQuerySort
- data List_general_ledger_accountsResponse
- list_general_ledger_accountsWithConfiguration :: forall m. MonadHTTP m => Configuration -> List_general_ledger_accountsParameters -> m (Response List_general_ledger_accountsResponse)
- list_general_ledger_accountsRaw :: forall m. MonadHTTP m => List_general_ledger_accountsParameters -> ClientT m (Response ByteString)
- list_general_ledger_accountsWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> List_general_ledger_accountsParameters -> m (Response ByteString)
Documentation
list_general_ledger_accounts Source #
Arguments
:: forall m. MonadHTTP m | |
=> List_general_ledger_accountsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response List_general_ledger_accountsResponse) | Monadic computation which returns the result of the operation |
GET /general_ledger_accounts
See the Pagination Guide to learn how to use pagination in the API and Client Libraries.
data List_general_ledger_accountsParameters Source #
Defines the object schema located at paths./general_ledger_accounts.GET.parameters
in the specification.
Constructors
List_general_ledger_accountsParameters | |
Fields
|
mkList_general_ledger_accountsParameters :: List_general_ledger_accountsParameters Source #
Create a new List_general_ledger_accountsParameters
with all required fields.
data List_general_ledger_accountsParametersQueryAccount_type Source #
Defines the enum schema located at paths./general_ledger_accounts.GET.parameters.properties.queryAccount_type
in the specification.
Represents the parameter named 'account_type'
General Ledger Account type by which to filter the response.
Constructors
List_general_ledger_accountsParametersQueryAccount_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_general_ledger_accountsParametersQueryAccount_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_general_ledger_accountsParametersQueryAccount_typeEnumLiability | Represents the JSON value |
List_general_ledger_accountsParametersQueryAccount_typeEnumRevenue | Represents the JSON value |
Instances
data List_general_ledger_accountsParametersQueryOrder Source #
Defines the enum schema located at paths./general_ledger_accounts.GET.parameters.properties.queryOrder
in the specification.
Represents the parameter named 'order'
Sort order.
Constructors
List_general_ledger_accountsParametersQueryOrderOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_general_ledger_accountsParametersQueryOrderTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_general_ledger_accountsParametersQueryOrderEnumAsc | Represents the JSON value |
List_general_ledger_accountsParametersQueryOrderEnumDesc | Represents the JSON value |
Instances
data List_general_ledger_accountsParametersQuerySort Source #
Defines the enum schema located at paths./general_ledger_accounts.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_general_ledger_accountsParametersQuerySortOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_general_ledger_accountsParametersQuerySortTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_general_ledger_accountsParametersQuerySortEnumCreated_at | Represents the JSON value |
List_general_ledger_accountsParametersQuerySortEnumUpdated_at | Represents the JSON value |
Instances
data List_general_ledger_accountsResponse Source #
Represents a response of the operation list_general_ledger_accounts
.
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_general_ledger_accountsResponseError
is used.
Constructors
List_general_ledger_accountsResponseError String | Means either no matching case available or a parse error |
List_general_ledger_accountsResponse200 GeneralLedgerAccountList | A list of the site's general ledger accounts. |
List_general_ledger_accountsResponse404 Error | Incorrect site ID. |
Instances
list_general_ledger_accountsWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_general_ledger_accountsParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response List_general_ledger_accountsResponse) | Monadic computation which returns the result of the operation |
GET /general_ledger_accounts
The same as list_general_ledger_accounts
but accepts an explicit configuration.
list_general_ledger_accountsRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> List_general_ledger_accountsParameters | 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 /general_ledger_accounts
The same as list_general_ledger_accounts
but returns the raw ByteString
.
list_general_ledger_accountsWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_general_ledger_accountsParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /general_ledger_accounts
The same as list_general_ledger_accounts
but accepts an explicit configuration and returns the raw ByteString
.