Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Remove_billing_info
Description
Contains the different functions to run the operation remove_billing_info
Synopsis
- remove_billing_info :: forall m. MonadHTTP m => Text -> ClientT m (Response Remove_billing_infoResponse)
- data Remove_billing_infoResponse
- remove_billing_infoWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> m (Response Remove_billing_infoResponse)
- remove_billing_infoRaw :: forall m. MonadHTTP m => Text -> ClientT m (Response ByteString)
- remove_billing_infoWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> ClientT m (Response Remove_billing_infoResponse) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}/billing_info
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_billing_infoResponse Source #
Represents a response of the operation remove_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_billing_infoResponseError
is used.
Constructors
Remove_billing_infoResponseError String | Means either no matching case available or a parse error |
Remove_billing_infoResponse204 | Billing information deleted |
Remove_billing_infoResponse404 Error | Account has no billing information, or incorrect site or account ID. |
Instances
Show Remove_billing_infoResponse Source # | |
Defined in RecurlyClient.Operations.Remove_billing_info Methods showsPrec :: Int -> Remove_billing_infoResponse -> ShowS # show :: Remove_billing_infoResponse -> String # showList :: [Remove_billing_infoResponse] -> ShowS # | |
Eq Remove_billing_infoResponse Source # | |
Defined in RecurlyClient.Operations.Remove_billing_info Methods (==) :: Remove_billing_infoResponse -> Remove_billing_infoResponse -> Bool # (/=) :: Remove_billing_infoResponse -> Remove_billing_infoResponse -> Bool # |
remove_billing_infoWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> m (Response Remove_billing_infoResponse) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}/billing_info
The same as remove_billing_info
but accepts an explicit configuration.
remove_billing_infoRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}/billing_info
The same as remove_billing_info
but returns the raw ByteString
.
remove_billing_infoWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /accounts/{account_id}/billing_info
The same as remove_billing_info
but accepts an explicit configuration and returns the raw ByteString
.