Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Update_general_ledger_account
Description
Contains the different functions to run the operation update_general_ledger_account
Synopsis
- update_general_ledger_account :: forall m. MonadHTTP m => Text -> GeneralLedgerAccountUpdate -> ClientT m (Response Update_general_ledger_accountResponse)
- data Update_general_ledger_accountResponse
- update_general_ledger_accountWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> GeneralLedgerAccountUpdate -> m (Response Update_general_ledger_accountResponse)
- update_general_ledger_accountRaw :: forall m. MonadHTTP m => Text -> GeneralLedgerAccountUpdate -> ClientT m (Response ByteString)
- update_general_ledger_accountWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> GeneralLedgerAccountUpdate -> m (Response ByteString)
Documentation
update_general_ledger_account Source #
Arguments
:: forall m. MonadHTTP m | |
=> Text | general_ledger_account_id: General Ledger Account ID | Constraints: Maximum length of 13 |
-> GeneralLedgerAccountUpdate | The request body to send |
-> ClientT m (Response Update_general_ledger_accountResponse) | Monadic computation which returns the result of the operation |
PUT /general_ledger_accounts/{general_ledger_account_id}
Update a general ledger account
data Update_general_ledger_accountResponse Source #
Represents a response of the operation update_general_ledger_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_general_ledger_accountResponseError
is used.
Constructors
Update_general_ledger_accountResponseError String | Means either no matching case available or a parse error |
Update_general_ledger_accountResponse200 GeneralLedgerAccount | The updated general ledger account. |
Update_general_ledger_accountResponse404 Error | Incorrect site or general ledger account ID. |
Instances
update_general_ledger_accountWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | general_ledger_account_id: General Ledger Account ID | Constraints: Maximum length of 13 |
-> GeneralLedgerAccountUpdate | The request body to send |
-> m (Response Update_general_ledger_accountResponse) | Monadic computation which returns the result of the operation |
PUT /general_ledger_accounts/{general_ledger_account_id}
The same as update_general_ledger_account
but accepts an explicit configuration.
update_general_ledger_accountRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Text | general_ledger_account_id: General Ledger Account ID | Constraints: Maximum length of 13 |
-> GeneralLedgerAccountUpdate | The request body to send |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /general_ledger_accounts/{general_ledger_account_id}
The same as update_general_ledger_account
but returns the raw ByteString
.
update_general_ledger_accountWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | general_ledger_account_id: General Ledger Account ID | Constraints: Maximum length of 13 |
-> GeneralLedgerAccountUpdate | The request body to send |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /general_ledger_accounts/{general_ledger_account_id}
The same as update_general_ledger_account
but accepts an explicit configuration and returns the raw ByteString
.