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

RecurlyClient.Operations.Remove_shipping_address

Description

Contains the different functions to run the operation remove_shipping_address

Synopsis

Documentation

remove_shipping_address Source #

Arguments

:: forall m. MonadHTTP m 
=> Remove_shipping_addressParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response Remove_shipping_addressResponse)

Monadic computation which returns the result of the operation

DELETE /accounts/{account_id}/shipping_addresses/{shipping_address_id}

Remove an account's shipping address

data Remove_shipping_addressParameters Source #

Defines the object schema located at paths./accounts/{account_id}/shipping_addresses/{shipping_address_id}.DELETE.parameters in the specification.

Constructors

Remove_shipping_addressParameters 

Fields

data Remove_shipping_addressResponse Source #

Represents a response of the operation remove_shipping_address.

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), Remove_shipping_addressResponseError is used.

Constructors

Remove_shipping_addressResponseError String

Means either no matching case available or a parse error

Remove_shipping_addressResponse204

Shipping address deleted.

Remove_shipping_addressResponse404 Error

Incorrect site, account, or shipping address ID.

remove_shipping_addressWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Remove_shipping_addressParameters

Contains all available parameters of this operation (query and path parameters)

-> m (Response Remove_shipping_addressResponse)

Monadic computation which returns the result of the operation

DELETE /accounts/{account_id}/shipping_addresses/{shipping_address_id}

The same as remove_shipping_address but accepts an explicit configuration.

remove_shipping_addressRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Remove_shipping_addressParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

DELETE /accounts/{account_id}/shipping_addresses/{shipping_address_id}

The same as remove_shipping_address but returns the raw ByteString.

remove_shipping_addressWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Remove_shipping_addressParameters

Contains all available parameters of this operation (query and path parameters)

-> m (Response ByteString)

Monadic computation which returns the result of the operation

DELETE /accounts/{account_id}/shipping_addresses/{shipping_address_id}

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