recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Operations.Update_general_ledger_account

Description

Contains the different functions to run the operation update_general_ledger_account

Synopsis

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.

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.