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

RecurlyClient.Operations.Reactivate_account

Description

Contains the different functions to run the operation reactivate_account

Synopsis

Documentation

reactivate_account Source #

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.

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.