| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RecurlyClient.Operations.Remove_shipping_address
Description
Contains the different functions to run the operation remove_shipping_address
Synopsis
- remove_shipping_address :: forall m. MonadHTTP m => Remove_shipping_addressParameters -> ClientT m (Response Remove_shipping_addressResponse)
- data Remove_shipping_addressParameters = Remove_shipping_addressParameters {}
- mkRemove_shipping_addressParameters :: Text -> Text -> Remove_shipping_addressParameters
- data Remove_shipping_addressResponse
- remove_shipping_addressWithConfiguration :: forall m. MonadHTTP m => Configuration -> Remove_shipping_addressParameters -> m (Response Remove_shipping_addressResponse)
- remove_shipping_addressRaw :: forall m. MonadHTTP m => Remove_shipping_addressParameters -> ClientT m (Response ByteString)
- remove_shipping_addressWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Remove_shipping_addressParameters -> m (Response ByteString)
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
| |
Instances
mkRemove_shipping_addressParameters Source #
Arguments
| :: Text | |
| -> Text | |
| -> Remove_shipping_addressParameters |
Create a new Remove_shipping_addressParameters with all required 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. |
Instances
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.