Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Deactivate_account
Description
Contains the different functions to run the operation deactivate_account
Synopsis
- deactivate_account :: forall m. MonadHTTP m => ClientT m (Response Deactivate_accountResponse)
- data Deactivate_accountResponse
- deactivate_accountWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Deactivate_accountResponse)
- deactivate_accountRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- deactivate_accountWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response Deactivate_accountResponse) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}
Deactivating an account permanently deletes its billing information and cancels any active subscriptions (canceled subscriptions will remain active until the end of the current billing cycle before expiring). We recommend closing accounts only when all business is concluded with a customer.
data Deactivate_accountResponse Source #
Represents a response of the operation deactivate_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), Deactivate_accountResponseError
is used.
Constructors
Deactivate_accountResponseError String | Means either no matching case available or a parse error |
Deactivate_accountResponse200 Account | An account. |
Deactivate_accountResponse422 Error | Account may already be inactive. |
Deactivate_accountResponseDefault Error | Unexpected error. |
Instances
Show Deactivate_accountResponse Source # | |
Defined in RecurlyClient.Operations.Deactivate_account Methods showsPrec :: Int -> Deactivate_accountResponse -> ShowS # show :: Deactivate_accountResponse -> String # showList :: [Deactivate_accountResponse] -> ShowS # | |
Eq Deactivate_accountResponse Source # | |
Defined in RecurlyClient.Operations.Deactivate_account Methods (==) :: Deactivate_accountResponse -> Deactivate_accountResponse -> Bool # (/=) :: Deactivate_accountResponse -> Deactivate_accountResponse -> Bool # |
deactivate_accountWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response Deactivate_accountResponse) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}
The same as deactivate_account
but accepts an explicit configuration.
deactivate_accountRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}
The same as deactivate_account
but returns the raw ByteString
.
deactivate_accountWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}
The same as deactivate_account
but accepts an explicit configuration and returns the raw ByteString
.