Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.List_billing_infos
Description
Contains the different functions to run the operation list_billing_infos
Synopsis
- list_billing_infos :: forall m. MonadHTTP m => List_billing_infosParameters -> ClientT m (Response List_billing_infosResponse)
- data List_billing_infosParameters = List_billing_infosParameters {
- list_billing_infosParametersPathAccount_id :: Text
- list_billing_infosParametersQueryBegin_time :: Maybe JsonDateTime
- list_billing_infosParametersQueryEnd_time :: Maybe JsonDateTime
- list_billing_infosParametersQueryIds :: Maybe [Text]
- list_billing_infosParametersQuerySort :: Maybe List_billing_infosParametersQuerySort
- mkList_billing_infosParameters :: Text -> List_billing_infosParameters
- data List_billing_infosParametersQuerySort
- data List_billing_infosResponse
- list_billing_infosWithConfiguration :: forall m. MonadHTTP m => Configuration -> List_billing_infosParameters -> m (Response List_billing_infosResponse)
- list_billing_infosRaw :: forall m. MonadHTTP m => List_billing_infosParameters -> ClientT m (Response ByteString)
- list_billing_infosWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> List_billing_infosParameters -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> List_billing_infosParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response List_billing_infosResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/billing_infos
See the Pagination Guide to learn how to use pagination in the API and Client Libraries.
data List_billing_infosParameters Source #
Defines the object schema located at paths./accounts/{account_id}/billing_infos.GET.parameters
in the specification.
Constructors
List_billing_infosParameters | |
Fields
|
Instances
mkList_billing_infosParameters Source #
Create a new List_billing_infosParameters
with all required fields.
data List_billing_infosParametersQuerySort Source #
Defines the enum schema located at paths./accounts/{account_id}/billing_infos.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_billing_infosParametersQuerySortOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_billing_infosParametersQuerySortTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_billing_infosParametersQuerySortEnumCreated_at | Represents the JSON value |
List_billing_infosParametersQuerySortEnumUpdated_at | Represents the JSON value |
Instances
data List_billing_infosResponse Source #
Represents a response of the operation list_billing_infos
.
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_billing_infosResponseError
is used.
Constructors
List_billing_infosResponseError String | Means either no matching case available or a parse error |
List_billing_infosResponse200 BillingInfoList | A list of the the billing information for an account's |
List_billing_infosResponse400 Error | Invalid or unpermitted parameter |
List_billing_infosResponse404 Error | Incorrect site or account |
Instances
Show List_billing_infosResponse Source # | |
Defined in RecurlyClient.Operations.List_billing_infos Methods showsPrec :: Int -> List_billing_infosResponse -> ShowS # show :: List_billing_infosResponse -> String # showList :: [List_billing_infosResponse] -> ShowS # | |
Eq List_billing_infosResponse Source # | |
Defined in RecurlyClient.Operations.List_billing_infos Methods (==) :: List_billing_infosResponse -> List_billing_infosResponse -> Bool # (/=) :: List_billing_infosResponse -> List_billing_infosResponse -> Bool # |
list_billing_infosWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_billing_infosParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response List_billing_infosResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/billing_infos
The same as list_billing_infos
but accepts an explicit configuration.
list_billing_infosRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> List_billing_infosParameters | 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}/billing_infos
The same as list_billing_infos
but returns the raw ByteString
.
list_billing_infosWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_billing_infosParameters | 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}/billing_infos
The same as list_billing_infos
but accepts an explicit configuration and returns the raw ByteString
.