Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerBalanceTransactions
Synopsis
- getCustomersCustomerBalanceTransactions :: forall m. MonadHTTP m => GetCustomersCustomerBalanceTransactionsParameters -> ClientT m (Response GetCustomersCustomerBalanceTransactionsResponse)
- data GetCustomersCustomerBalanceTransactionsParameters = GetCustomersCustomerBalanceTransactionsParameters {
- getCustomersCustomerBalanceTransactionsParametersPathCustomer :: Text
- getCustomersCustomerBalanceTransactionsParametersQueryEndingBefore :: Maybe Text
- getCustomersCustomerBalanceTransactionsParametersQueryExpand :: Maybe [Text]
- getCustomersCustomerBalanceTransactionsParametersQueryLimit :: Maybe Int
- getCustomersCustomerBalanceTransactionsParametersQueryStartingAfter :: Maybe Text
- mkGetCustomersCustomerBalanceTransactionsParameters :: Text -> GetCustomersCustomerBalanceTransactionsParameters
- data GetCustomersCustomerBalanceTransactionsResponse
- data GetCustomersCustomerBalanceTransactionsResponseBody200 = GetCustomersCustomerBalanceTransactionsResponseBody200 {}
- mkGetCustomersCustomerBalanceTransactionsResponseBody200 :: [CustomerBalanceTransaction] -> Bool -> Text -> GetCustomersCustomerBalanceTransactionsResponseBody200
Documentation
getCustomersCustomerBalanceTransactions Source #
:: forall m. MonadHTTP m | |
=> GetCustomersCustomerBalanceTransactionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCustomersCustomerBalanceTransactionsResponse) | Monadic computation which returns the result of the operation |
GET /v1/customers/{customer}/balance_transactions
<p>Returns a list of transactions that updated the customer’s <a href="/docs/billing/customer/balance">balances</a>.</p>
data GetCustomersCustomerBalanceTransactionsParameters Source #
Defines the object schema located at paths./v1/customers/{customer}/balance_transactions.GET.parameters
in the specification.
GetCustomersCustomerBalanceTransactionsParameters | |
|
Instances
mkGetCustomersCustomerBalanceTransactionsParameters Source #
:: Text |
|
-> GetCustomersCustomerBalanceTransactionsParameters |
Create a new GetCustomersCustomerBalanceTransactionsParameters
with all required fields.
data GetCustomersCustomerBalanceTransactionsResponse Source #
Represents a response of the operation getCustomersCustomerBalanceTransactions
.
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), GetCustomersCustomerBalanceTransactionsResponseError
is used.
GetCustomersCustomerBalanceTransactionsResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerBalanceTransactionsResponse200 GetCustomersCustomerBalanceTransactionsResponseBody200 | Successful response. |
GetCustomersCustomerBalanceTransactionsResponseDefault Error | Error response. |
data GetCustomersCustomerBalanceTransactionsResponseBody200 Source #
Defines the object schema located at paths./v1/customers/{customer}/balance_transactions.GET.responses.200.content.application/json.schema
in the specification.
GetCustomersCustomerBalanceTransactionsResponseBody200 | |
|
Instances
mkGetCustomersCustomerBalanceTransactionsResponseBody200 Source #
:: [CustomerBalanceTransaction] | |
-> Bool |
|
-> Text | |
-> GetCustomersCustomerBalanceTransactionsResponseBody200 |
Create a new GetCustomersCustomerBalanceTransactionsResponseBody200
with all required fields.