Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerBalanceTransactionsTransaction
Synopsis
- getCustomersCustomerBalanceTransactionsTransaction :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerBalanceTransactionsTransactionRequestBody -> m (Either HttpException (Response GetCustomersCustomerBalanceTransactionsTransactionResponse))
- getCustomersCustomerBalanceTransactionsTransactionRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerBalanceTransactionsTransactionRequestBody -> m (Either HttpException (Response ByteString))
- getCustomersCustomerBalanceTransactionsTransactionM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerBalanceTransactionsTransactionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerBalanceTransactionsTransactionResponse))
- getCustomersCustomerBalanceTransactionsTransactionRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerBalanceTransactionsTransactionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetCustomersCustomerBalanceTransactionsTransactionRequestBody = GetCustomersCustomerBalanceTransactionsTransactionRequestBody {
- data GetCustomersCustomerBalanceTransactionsTransactionResponse
Documentation
getCustomersCustomerBalanceTransactionsTransaction Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | transaction | Constraints: Maximum length of 5000 |
-> GetCustomersCustomerBalanceTransactionsTransactionRequestBody | The request body to send |
-> m (Either HttpException (Response GetCustomersCustomerBalanceTransactionsTransactionResponse)) | Monad containing the result of the operation |
GET /v1/customers/{customer}/balance_transactions/{transaction}
<p>Retrieves a specific transaction that updated the customer’s <a href="/docs/api/customers/object#customer_object-balance"><code>balance</code></a>.</p>
getCustomersCustomerBalanceTransactionsTransactionRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerBalanceTransactionsTransactionRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/balance_transactions/{transaction}
The same as getCustomersCustomerBalanceTransactionsTransaction
but returns the raw ByteString
getCustomersCustomerBalanceTransactionsTransactionM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerBalanceTransactionsTransactionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerBalanceTransactionsTransactionResponse)) Source #
GET /v1/customers/{customer}/balance_transactions/{transaction}
Monadic version of getCustomersCustomerBalanceTransactionsTransaction
(use with runWithConfiguration
)
getCustomersCustomerBalanceTransactionsTransactionRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerBalanceTransactionsTransactionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/balance_transactions/{transaction}
Monadic version of getCustomersCustomerBalanceTransactionsTransactionRaw
(use with runWithConfiguration
)
data GetCustomersCustomerBalanceTransactionsTransactionRequestBody Source #
Defines the data type for the schema getCustomersCustomerBalanceTransactionsTransactionRequestBody
Instances
data GetCustomersCustomerBalanceTransactionsTransactionResponse Source #
Represents a response of the operation getCustomersCustomerBalanceTransactionsTransaction
.
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), GetCustomersCustomerBalanceTransactionsTransactionResponseError
is used.
GetCustomersCustomerBalanceTransactionsTransactionResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerBalanceTransactionsTransactionResponse200 CustomerBalanceTransaction | Successful response. |
GetCustomersCustomerBalanceTransactionsTransactionResponseDefault Error | Error response. |
Instances
Eq GetCustomersCustomerBalanceTransactionsTransactionResponse Source # | |
Show GetCustomersCustomerBalanceTransactionsTransactionResponse Source # | |