Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Update_account_external_account
Description
Contains the different functions to run the operation update_account_external_account
Synopsis
- update_account_external_account :: forall m. MonadHTTP m => Maybe ExternalAccountUpdate -> ClientT m (Response Update_account_external_accountResponse)
- data Update_account_external_accountResponse
- = Update_account_external_accountResponseError String
- | Update_account_external_accountResponse200 ExternalAccount
- | Update_account_external_accountResponse404 Error
- | Update_account_external_accountResponse406 Error
- | Update_account_external_accountResponse422 Error
- | Update_account_external_accountResponseDefault Error
- update_account_external_accountWithConfiguration :: forall m. MonadHTTP m => Configuration -> Maybe ExternalAccountUpdate -> m (Response Update_account_external_accountResponse)
- update_account_external_accountRaw :: forall m. MonadHTTP m => Maybe ExternalAccountUpdate -> ClientT m (Response ByteString)
- update_account_external_accountWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Maybe ExternalAccountUpdate -> m (Response ByteString)
Documentation
update_account_external_account Source #
Arguments
:: forall m. MonadHTTP m | |
=> Maybe ExternalAccountUpdate | The request body to send |
-> ClientT m (Response Update_account_external_accountResponse) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/external_accounts/{external_account_id}
Update an external account
data Update_account_external_accountResponse Source #
Represents a response of the operation update_account_external_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_account_external_accountResponseError
is used.
Constructors
Update_account_external_accountResponseError String | Means either no matching case available or a parse error |
Update_account_external_accountResponse200 ExternalAccount | A representation of the updated external_account. |
Update_account_external_accountResponse404 Error | Incorrect account or external_account ID. |
Update_account_external_accountResponse406 Error | Unavailable API version |
Update_account_external_accountResponse422 Error | Feature not enabled on site |
Update_account_external_accountResponseDefault Error | Unexpected error. |
update_account_external_accountWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Maybe ExternalAccountUpdate | The request body to send |
-> m (Response Update_account_external_accountResponse) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/external_accounts/{external_account_id}
The same as update_account_external_account
but accepts an explicit configuration.
update_account_external_accountRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Maybe ExternalAccountUpdate | The request body to send |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/external_accounts/{external_account_id}
The same as update_account_external_account
but returns the raw ByteString
.
update_account_external_accountWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Maybe ExternalAccountUpdate | The request body to send |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/external_accounts/{external_account_id}
The same as update_account_external_account
but accepts an explicit configuration and returns the raw ByteString
.