Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Reactivate_account
Description
Contains the different functions to run the operation reactivate_account
Synopsis
- reactivate_account :: forall m. MonadHTTP m => ClientT m (Response Reactivate_accountResponse)
- data Reactivate_accountResponse
- reactivate_accountWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Reactivate_accountResponse)
- reactivate_accountRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- reactivate_accountWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response Reactivate_accountResponse) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/reactivate
Reactivating an account will restore its history but the customer will need to provide new billing information to continue billing.
data Reactivate_accountResponse Source #
Represents a response of the operation reactivate_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), Reactivate_accountResponseError
is used.
Constructors
Reactivate_accountResponseError String | Means either no matching case available or a parse error |
Reactivate_accountResponse200 Account | An account. |
Reactivate_accountResponse404 Error | Incorrect site or account ID. |
Reactivate_accountResponse422 Error | Account is already active. |
Reactivate_accountResponseDefault Error | Unexpected error. |
Instances
Show Reactivate_accountResponse Source # | |
Defined in RecurlyClient.Operations.Reactivate_account Methods showsPrec :: Int -> Reactivate_accountResponse -> ShowS # show :: Reactivate_accountResponse -> String # showList :: [Reactivate_accountResponse] -> ShowS # | |
Eq Reactivate_accountResponse Source # | |
Defined in RecurlyClient.Operations.Reactivate_account Methods (==) :: Reactivate_accountResponse -> Reactivate_accountResponse -> Bool # (/=) :: Reactivate_accountResponse -> Reactivate_accountResponse -> Bool # |
reactivate_accountWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response Reactivate_accountResponse) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/reactivate
The same as reactivate_account
but accepts an explicit configuration.
reactivate_accountRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/reactivate
The same as reactivate_account
but returns the raw ByteString
.
reactivate_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 |
PUT /accounts/{account_id}/reactivate
The same as reactivate_account
but accepts an explicit configuration and returns the raw ByteString
.