Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Remove_a_billing_info
Description
Contains the different functions to run the operation remove_a_billing_info
Synopsis
- remove_a_billing_info :: forall m. MonadHTTP m => Remove_a_billing_infoParameters -> ClientT m (Response Remove_a_billing_infoResponse)
- data Remove_a_billing_infoParameters = Remove_a_billing_infoParameters {}
- mkRemove_a_billing_infoParameters :: Text -> Text -> Remove_a_billing_infoParameters
- data Remove_a_billing_infoResponse
- remove_a_billing_infoWithConfiguration :: forall m. MonadHTTP m => Configuration -> Remove_a_billing_infoParameters -> m (Response Remove_a_billing_infoResponse)
- remove_a_billing_infoRaw :: forall m. MonadHTTP m => Remove_a_billing_infoParameters -> ClientT m (Response ByteString)
- remove_a_billing_infoWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Remove_a_billing_infoParameters -> m (Response ByteString)
Documentation
remove_a_billing_info Source #
Arguments
:: forall m. MonadHTTP m | |
=> Remove_a_billing_infoParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response Remove_a_billing_infoResponse) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}/billing_infos/{billing_info_id}
You may remove any stored billing information for an account. If the account has a subscription, the renewal will go into dunning unless the billing information is updated before the renewal occurs.
data Remove_a_billing_infoParameters Source #
Defines the object schema located at paths./accounts/{account_id}/billing_infos/{billing_info_id}.DELETE.parameters
in the specification.
Constructors
Remove_a_billing_infoParameters | |
Fields
|
Instances
mkRemove_a_billing_infoParameters Source #
Arguments
:: Text | |
-> Text | |
-> Remove_a_billing_infoParameters |
Create a new Remove_a_billing_infoParameters
with all required fields.
data Remove_a_billing_infoResponse Source #
Represents a response of the operation remove_a_billing_info
.
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_a_billing_infoResponseError
is used.
Constructors
Remove_a_billing_infoResponseError String | Means either no matching case available or a parse error |
Remove_a_billing_infoResponse204 | Billing information deleted |
Remove_a_billing_infoResponse404 Error | Account has no billing information, or incorrect site or account ID. |
Remove_a_billing_infoResponse422 Error | Billing info cannot be deleted. Please set a new primary billing info before deleting this billing info |
Instances
remove_a_billing_infoWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Remove_a_billing_infoParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response Remove_a_billing_infoResponse) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}/billing_infos/{billing_info_id}
The same as remove_a_billing_info
but accepts an explicit configuration.
remove_a_billing_infoRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Remove_a_billing_infoParameters | 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}/billing_infos/{billing_info_id}
The same as remove_a_billing_info
but returns the raw ByteString
.
remove_a_billing_infoWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Remove_a_billing_infoParameters | 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}/billing_infos/{billing_info_id}
The same as remove_a_billing_info
but accepts an explicit configuration and returns the raw ByteString
.