| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.GetBalanceHistoryId
Description
Contains the different functions to run the operation getBalanceHistoryId
Synopsis
- getBalanceHistoryId :: forall m. MonadHTTP m => GetBalanceHistoryIdParameters -> ClientT m (Response GetBalanceHistoryIdResponse)
- data GetBalanceHistoryIdParameters = GetBalanceHistoryIdParameters {}
- mkGetBalanceHistoryIdParameters :: Text -> GetBalanceHistoryIdParameters
- data GetBalanceHistoryIdResponse
Documentation
Arguments
| :: forall m. MonadHTTP m | |
| => GetBalanceHistoryIdParameters | Contains all available parameters of this operation (query and path parameters) |
| -> ClientT m (Response GetBalanceHistoryIdResponse) | Monadic computation which returns the result of the operation |
GET /v1/balance/history/{id}<p>Retrieves the balance transaction with the given ID.</p>
<p>Note that this endpoint previously used the path <code>/v1/balance/history/:id</code>.</p>
data GetBalanceHistoryIdParameters Source #
Defines the object schema located at paths./v1/balance/history/{id}.GET.parameters in the specification.
Constructors
| GetBalanceHistoryIdParameters | |
Fields
| |
Instances
mkGetBalanceHistoryIdParameters Source #
Create a new GetBalanceHistoryIdParameters with all required fields.
data GetBalanceHistoryIdResponse Source #
Represents a response of the operation getBalanceHistoryId.
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), GetBalanceHistoryIdResponseError is used.
Constructors
| GetBalanceHistoryIdResponseError String | Means either no matching case available or a parse error |
| GetBalanceHistoryIdResponse200 BalanceTransaction | Successful response. |
| GetBalanceHistoryIdResponseDefault Error | Error response. |
Instances
| Eq GetBalanceHistoryIdResponse Source # | |
Defined in StripeAPI.Operations.GetBalanceHistoryId Methods (==) :: GetBalanceHistoryIdResponse -> GetBalanceHistoryIdResponse -> Bool # (/=) :: GetBalanceHistoryIdResponse -> GetBalanceHistoryIdResponse -> Bool # | |
| Show GetBalanceHistoryIdResponse Source # | |
Defined in StripeAPI.Operations.GetBalanceHistoryId Methods showsPrec :: Int -> GetBalanceHistoryIdResponse -> ShowS # show :: GetBalanceHistoryIdResponse -> String # showList :: [GetBalanceHistoryIdResponse] -> ShowS # | |