Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.List_dunning_campaigns
Description
Contains the different functions to run the operation list_dunning_campaigns
Synopsis
- list_dunning_campaigns :: forall m. MonadHTTP m => Maybe List_dunning_campaignsParametersSort -> ClientT m (Response List_dunning_campaignsResponse)
- data List_dunning_campaignsParametersSort
- data List_dunning_campaignsResponse
- list_dunning_campaignsWithConfiguration :: forall m. MonadHTTP m => Configuration -> Maybe List_dunning_campaignsParametersSort -> m (Response List_dunning_campaignsResponse)
- list_dunning_campaignsRaw :: forall m. MonadHTTP m => Maybe List_dunning_campaignsParametersSort -> ClientT m (Response ByteString)
- list_dunning_campaignsWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Maybe List_dunning_campaignsParametersSort -> m (Response ByteString)
Documentation
list_dunning_campaigns Source #
Arguments
:: forall m. MonadHTTP m | |
=> Maybe List_dunning_campaignsParametersSort | 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. |
-> ClientT m (Response List_dunning_campaignsResponse) | Monadic computation which returns the result of the operation |
GET /dunning_campaigns
See the Pagination Guide to learn how to use pagination in the API and Client Libraries.
data List_dunning_campaignsParametersSort Source #
Defines the enum schema located at components.parameters.sort_dates.schema
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_dunning_campaignsParametersSortOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_dunning_campaignsParametersSortTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_dunning_campaignsParametersSortEnumCreated_at | Represents the JSON value |
List_dunning_campaignsParametersSortEnumUpdated_at | Represents the JSON value |
Instances
data List_dunning_campaignsResponse Source #
Represents a response of the operation list_dunning_campaigns
.
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_dunning_campaignsResponseError
is used.
Constructors
List_dunning_campaignsResponseError String | Means either no matching case available or a parse error |
List_dunning_campaignsResponse200 DunningCampaignList | A list of the the dunning_campaigns on an account. |
List_dunning_campaignsResponse404 Error | Incorrect site. |
List_dunning_campaignsResponseDefault Error | Unexpected error. |
Instances
list_dunning_campaignsWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Maybe List_dunning_campaignsParametersSort | 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. |
-> m (Response List_dunning_campaignsResponse) | Monadic computation which returns the result of the operation |
GET /dunning_campaigns
The same as list_dunning_campaigns
but accepts an explicit configuration.
list_dunning_campaignsRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Maybe List_dunning_campaignsParametersSort | 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. |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /dunning_campaigns
The same as list_dunning_campaigns
but returns the raw ByteString
.
list_dunning_campaignsWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Maybe List_dunning_campaignsParametersSort | 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. |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /dunning_campaigns
The same as list_dunning_campaigns
but accepts an explicit configuration and returns the raw ByteString
.