Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccount
Synopsis
- getAccount :: forall m. MonadHTTP m => Maybe [Text] -> ClientT m (Response GetAccountResponse)
- data GetAccountResponse
Documentation
:: forall m. MonadHTTP m | |
=> Maybe [Text] | expand: Specifies which fields in the response should be expanded. |
-> ClientT m (Response GetAccountResponse) | Monadic computation which returns the result of the operation |
GET /v1/account
<p>Retrieves the details of an account.</p>
data GetAccountResponse Source #
Represents a response of the operation getAccount
.
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), GetAccountResponseError
is used.
GetAccountResponseError String | Means either no matching case available or a parse error |
GetAccountResponse200 Account | Successful response. |
GetAccountResponseDefault Error | Error response. |
Instances
Eq GetAccountResponse Source # | |
Defined in StripeAPI.Operations.GetAccount (==) :: GetAccountResponse -> GetAccountResponse -> Bool # (/=) :: GetAccountResponse -> GetAccountResponse -> Bool # | |
Show GetAccountResponse Source # | |
Defined in StripeAPI.Operations.GetAccount showsPrec :: Int -> GetAccountResponse -> ShowS # show :: GetAccountResponse -> String # showList :: [GetAccountResponse] -> ShowS # |