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

RecurlyClient.Operations.Update_account_acquisition

Description

Contains the different functions to run the operation update_account_acquisition

Synopsis

Documentation

update_account_acquisition Source #

Arguments

:: forall m. MonadHTTP m 
=> AccountAcquisitionUpdate

The request body to send

-> ClientT m (Response Update_account_acquisitionResponse)

Monadic computation which returns the result of the operation

PUT /accounts/{account_id}/acquisition

Update an account's acquisition data

data Update_account_acquisitionResponse Source #

Represents a response of the operation update_account_acquisition.

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_account_acquisitionResponseError is used.

Constructors

Update_account_acquisitionResponseError String

Means either no matching case available or a parse error

Update_account_acquisitionResponse200 AccountAcquisition

An account's updated acquisition data.

Update_account_acquisitionResponse400 Error

Bad request; perhaps missing or invalid parameters.

Update_account_acquisitionResponse404 Error

Incorrect site or account ID.

Update_account_acquisitionResponse422 Error

A validation error.

update_account_acquisitionWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> AccountAcquisitionUpdate

The request body to send

-> m (Response Update_account_acquisitionResponse)

Monadic computation which returns the result of the operation

PUT /accounts/{account_id}/acquisition

The same as update_account_acquisition but accepts an explicit configuration.

update_account_acquisitionRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> AccountAcquisitionUpdate

The request body to send

-> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

PUT /accounts/{account_id}/acquisition

The same as update_account_acquisition but returns the raw ByteString.

update_account_acquisitionWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> AccountAcquisitionUpdate

The request body to send

-> m (Response ByteString)

Monadic computation which returns the result of the operation

PUT /accounts/{account_id}/acquisition

The same as update_account_acquisition but accepts an explicit configuration and returns the raw ByteString.