recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Operations.List_account_credit_payments

Description

Contains the different functions to run the operation list_account_credit_payments

Synopsis

Documentation

list_account_credit_payments Source #

Arguments

:: forall m. MonadHTTP m 
=> List_account_credit_paymentsParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response List_account_credit_paymentsResponse)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/credit_payments

See the Pagination Guide to learn how to use pagination in the API and Client Libraries.

data List_account_credit_paymentsParameters Source #

Defines the object schema located at paths./accounts/{account_id}/credit_payments.GET.parameters in the specification.

Constructors

List_account_credit_paymentsParameters 

Fields

data List_account_credit_paymentsParametersQueryOrder Source #

Defines the enum schema located at paths./accounts/{account_id}/credit_payments.GET.parameters.properties.queryOrder in the specification.

Represents the parameter named 'order'

Sort order.

Constructors

List_account_credit_paymentsParametersQueryOrderOther Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

List_account_credit_paymentsParametersQueryOrderTyped Text

This constructor can be used to send values to the server which are not present in the specification yet.

List_account_credit_paymentsParametersQueryOrderEnumAsc

Represents the JSON value "asc"

List_account_credit_paymentsParametersQueryOrderEnumDesc

Represents the JSON value "desc"

Instances

Instances details
FromJSON List_account_credit_paymentsParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_credit_payments

ToJSON List_account_credit_paymentsParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_credit_payments

Show List_account_credit_paymentsParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_credit_payments

Eq List_account_credit_paymentsParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_credit_payments

data List_account_credit_paymentsParametersQuerySort Source #

Defines the enum schema located at paths./accounts/{account_id}/credit_payments.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_credit_paymentsParametersQuerySortOther Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

List_account_credit_paymentsParametersQuerySortTyped Text

This constructor can be used to send values to the server which are not present in the specification yet.

List_account_credit_paymentsParametersQuerySortEnumCreated_at

Represents the JSON value "created_at"

List_account_credit_paymentsParametersQuerySortEnumUpdated_at

Represents the JSON value "updated_at"

Instances

Instances details
FromJSON List_account_credit_paymentsParametersQuerySort Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_credit_payments

ToJSON List_account_credit_paymentsParametersQuerySort Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_credit_payments

Show List_account_credit_paymentsParametersQuerySort Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_credit_payments

Eq List_account_credit_paymentsParametersQuerySort Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_credit_payments

data List_account_credit_paymentsResponse Source #

Represents a response of the operation list_account_credit_payments.

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_credit_paymentsResponseError is used.

Constructors

List_account_credit_paymentsResponseError String

Means either no matching case available or a parse error

List_account_credit_paymentsResponse200 CreditPaymentList

A list of the account's credit payments.

List_account_credit_paymentsResponse400 Error

Invalid or unpermitted parameter.

List_account_credit_paymentsResponse404 Error

Incorrect site or account ID.

List_account_credit_paymentsResponseDefault Error

Unexpected error.

list_account_credit_paymentsWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> List_account_credit_paymentsParameters

Contains all available parameters of this operation (query and path parameters)

-> m (Response List_account_credit_paymentsResponse)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/credit_payments

The same as list_account_credit_payments but accepts an explicit configuration.

list_account_credit_paymentsRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> List_account_credit_paymentsParameters

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}/credit_payments

The same as list_account_credit_payments but returns the raw ByteString.

list_account_credit_paymentsWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> List_account_credit_paymentsParameters

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}/credit_payments

The same as list_account_credit_payments but accepts an explicit configuration and returns the raw ByteString.