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

RecurlyClient.Operations.List_account_transactions

Description

Contains the different functions to run the operation list_account_transactions

Synopsis

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

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 "asc"

List_account_transactionsParametersQueryOrderEnumDesc

Represents the JSON value "desc"

Instances

Instances details
FromJSON List_account_transactionsParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_transactions

ToJSON List_account_transactionsParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_transactions

Show List_account_transactionsParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_transactions

Eq List_account_transactionsParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_transactions

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 "created_at"

List_account_transactionsParametersQuerySortEnumUpdated_at

Represents the JSON value "updated_at"

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 true

Instances

Instances details
FromJSON List_account_transactionsParametersQuerySuccess Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_transactions

ToJSON List_account_transactionsParametersQuerySuccess Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_transactions

Show List_account_transactionsParametersQuerySuccess Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_transactions

Eq List_account_transactionsParametersQuerySuccess Source # 
Instance details

Defined in RecurlyClient.Operations.List_account_transactions

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 "authorization"

List_account_transactionsParametersQueryTypeEnumCapture

Represents the JSON value "capture"

List_account_transactionsParametersQueryTypeEnumPayment

Represents the JSON value "payment"

List_account_transactionsParametersQueryTypeEnumPurchase

Represents the JSON value "purchase"

List_account_transactionsParametersQueryTypeEnumRefund

Represents the JSON value "refund"

List_account_transactionsParametersQueryTypeEnumVerify

Represents the JSON value "verify"

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.

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.