| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
RecurlyClient.Operations.Update_account
Description
Contains the different functions to run the operation update_account
Synopsis
- update_account :: forall m. MonadHTTP m => AccountUpdate -> ClientT m (Response Update_accountResponse)
 - data Update_accountResponse
 - update_accountWithConfiguration :: forall m. MonadHTTP m => Configuration -> AccountUpdate -> m (Response Update_accountResponse)
 - update_accountRaw :: forall m. MonadHTTP m => AccountUpdate -> ClientT m (Response ByteString)
 - update_accountWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> AccountUpdate -> m (Response ByteString)
 
Documentation
Arguments
| :: forall m. MonadHTTP m | |
| => AccountUpdate | The request body to send  | 
| -> ClientT m (Response Update_accountResponse) | Monadic computation which returns the result of the operation  | 
PUT /accounts/{account_id}Update an account
data Update_accountResponse Source #
Represents a response of the operation update_account.
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), Update_accountResponseError is used.
Constructors
| Update_accountResponseError String | Means either no matching case available or a parse error  | 
| Update_accountResponse200 Account | An account.  | 
| Update_accountResponse400 Error | Bad request, perhaps invalid JSON?  | 
| Update_accountResponse404 Error | Incorrect site or account ID.  | 
| Update_accountResponse422 ErrorMayHaveTransaction | Invalid parameters or an error running the billing info verification transaction.  | 
| Update_accountResponseDefault Error | Unexpected error.  | 
Instances
| Show Update_accountResponse Source # | |
Defined in RecurlyClient.Operations.Update_account Methods showsPrec :: Int -> Update_accountResponse -> ShowS # show :: Update_accountResponse -> String # showList :: [Update_accountResponse] -> ShowS #  | |
| Eq Update_accountResponse Source # | |
Defined in RecurlyClient.Operations.Update_account Methods (==) :: Update_accountResponse -> Update_accountResponse -> Bool # (/=) :: Update_accountResponse -> Update_accountResponse -> Bool #  | |
update_accountWithConfiguration Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Configuration | The configuration to use in the request  | 
| -> AccountUpdate | The request body to send  | 
| -> m (Response Update_accountResponse) | Monadic computation which returns the result of the operation  | 
PUT /accounts/{account_id}The same as update_account but accepts an explicit configuration.
Arguments
| :: forall m. MonadHTTP m | |
| => AccountUpdate | The request body to send  | 
| -> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation  | 
PUT /accounts/{account_id}The same as update_account but returns the raw ByteString.
update_accountWithConfigurationRaw Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Configuration | The configuration to use in the request  | 
| -> AccountUpdate | The request body to send  | 
| -> m (Response ByteString) | Monadic computation which returns the result of the operation  | 
PUT /accounts/{account_id}The same as update_account but accepts an explicit configuration and returns the raw ByteString.