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

RecurlyClient.Operations.List_business_entity_invoices

Description

Contains the different functions to run the operation list_business_entity_invoices

Synopsis

Documentation

list_business_entity_invoices Source #

Arguments

:: forall m. MonadHTTP m 
=> List_business_entity_invoicesParameters

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

-> ClientT m (Response List_business_entity_invoicesResponse)

Monadic computation which returns the result of the operation

GET /business_entities/{business_entity_id}/invoices

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

data List_business_entity_invoicesParameters Source #

Defines the object schema located at paths./business_entities/{business_entity_id}/invoices.GET.parameters in the specification.

Constructors

List_business_entity_invoicesParameters 

Fields

data List_business_entity_invoicesParametersQueryOrder Source #

Defines the enum schema located at paths./business_entities/{business_entity_id}/invoices.GET.parameters.properties.queryOrder in the specification.

Represents the parameter named 'order'

Sort order.

Constructors

List_business_entity_invoicesParametersQueryOrderOther Value

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

List_business_entity_invoicesParametersQueryOrderTyped Text

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

List_business_entity_invoicesParametersQueryOrderEnumAsc

Represents the JSON value "asc"

List_business_entity_invoicesParametersQueryOrderEnumDesc

Represents the JSON value "desc"

Instances

Instances details
FromJSON List_business_entity_invoicesParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

ToJSON List_business_entity_invoicesParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

Show List_business_entity_invoicesParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

Eq List_business_entity_invoicesParametersQueryOrder Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

data List_business_entity_invoicesParametersQuerySort Source #

Defines the enum schema located at paths./business_entities/{business_entity_id}/invoices.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_business_entity_invoicesParametersQuerySortOther Value

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

List_business_entity_invoicesParametersQuerySortTyped Text

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

List_business_entity_invoicesParametersQuerySortEnumCreated_at

Represents the JSON value "created_at"

List_business_entity_invoicesParametersQuerySortEnumUpdated_at

Represents the JSON value "updated_at"

Instances

Instances details
FromJSON List_business_entity_invoicesParametersQuerySort Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

ToJSON List_business_entity_invoicesParametersQuerySort Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

Show List_business_entity_invoicesParametersQuerySort Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

Eq List_business_entity_invoicesParametersQuerySort Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

data List_business_entity_invoicesParametersQueryState Source #

Defines the enum schema located at paths./business_entities/{business_entity_id}/invoices.GET.parameters.properties.queryState in the specification.

Represents the parameter named 'state'

Invoice state.

Constructors

List_business_entity_invoicesParametersQueryStateOther Value

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

List_business_entity_invoicesParametersQueryStateTyped Text

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

List_business_entity_invoicesParametersQueryStateEnumPending

Represents the JSON value "pending"

List_business_entity_invoicesParametersQueryStateEnumPast_due

Represents the JSON value "past_due"

List_business_entity_invoicesParametersQueryStateEnumPaid

Represents the JSON value "paid"

List_business_entity_invoicesParametersQueryStateEnumFailed

Represents the JSON value "failed"

Instances

Instances details
FromJSON List_business_entity_invoicesParametersQueryState Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

ToJSON List_business_entity_invoicesParametersQueryState Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

Show List_business_entity_invoicesParametersQueryState Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

Eq List_business_entity_invoicesParametersQueryState Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

data List_business_entity_invoicesParametersQueryType Source #

Defines the enum schema located at paths./business_entities/{business_entity_id}/invoices.GET.parameters.properties.queryType in the specification.

Represents the parameter named 'type'

Filter by type when: - `type=charge`, only charge invoices will be returned. - `type=credit`, only credit invoices will be returned. - `type=non-legacy`, only charge and credit invoices will be returned. - `type=legacy`, only legacy invoices will be returned.

Constructors

List_business_entity_invoicesParametersQueryTypeOther Value

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

List_business_entity_invoicesParametersQueryTypeTyped Text

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

List_business_entity_invoicesParametersQueryTypeEnumCharge

Represents the JSON value "charge"

List_business_entity_invoicesParametersQueryTypeEnumCredit

Represents the JSON value "credit"

List_business_entity_invoicesParametersQueryTypeEnumLegacy

Represents the JSON value "legacy"

List_business_entity_invoicesParametersQueryTypeEnumNon_legacy

Represents the JSON value "non-legacy"

Instances

Instances details
FromJSON List_business_entity_invoicesParametersQueryType Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

ToJSON List_business_entity_invoicesParametersQueryType Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

Show List_business_entity_invoicesParametersQueryType Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

Eq List_business_entity_invoicesParametersQueryType Source # 
Instance details

Defined in RecurlyClient.Operations.List_business_entity_invoices

data List_business_entity_invoicesResponse Source #

Represents a response of the operation list_business_entity_invoices.

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

Constructors

List_business_entity_invoicesResponseError String

Means either no matching case available or a parse error

List_business_entity_invoicesResponse200 InvoiceList

A list of the business entity's invoices.

List_business_entity_invoicesResponse400 Error

Invalid or unpermitted parameter.

List_business_entity_invoicesResponse404 Error

Incorrect site or business entity ID.

List_business_entity_invoicesResponseDefault Error

Unexpected error.

list_business_entity_invoicesWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> List_business_entity_invoicesParameters

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

-> m (Response List_business_entity_invoicesResponse)

Monadic computation which returns the result of the operation

GET /business_entities/{business_entity_id}/invoices

The same as list_business_entity_invoices but accepts an explicit configuration.

list_business_entity_invoicesRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> List_business_entity_invoicesParameters

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 /business_entities/{business_entity_id}/invoices

The same as list_business_entity_invoices but returns the raw ByteString.

list_business_entity_invoicesWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> List_business_entity_invoicesParameters

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

-> m (Response ByteString)

Monadic computation which returns the result of the operation

GET /business_entities/{business_entity_id}/invoices

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