Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteCustomersCustomer
Synopsis
- deleteCustomersCustomer :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteCustomersCustomerRequestBody -> m (Either HttpException (Response DeleteCustomersCustomerResponse))
- deleteCustomersCustomerRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteCustomersCustomerRequestBody -> m (Either HttpException (Response ByteString))
- deleteCustomersCustomerM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteCustomersCustomerRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteCustomersCustomerResponse))
- deleteCustomersCustomerRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteCustomersCustomerRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteCustomersCustomerRequestBody = DeleteCustomersCustomerRequestBody {
- data DeleteCustomersCustomerResponse
Documentation
deleteCustomersCustomer Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> DeleteCustomersCustomerRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteCustomersCustomerResponse)) | Monad containing the result of the operation |
DELETE /v1/customers/{customer}
<p>Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.</p>
deleteCustomersCustomerRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteCustomersCustomerRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/customers/{customer}
The same as deleteCustomersCustomer
but returns the raw ByteString
deleteCustomersCustomerM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteCustomersCustomerRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteCustomersCustomerResponse)) Source #
DELETE /v1/customers/{customer}
Monadic version of deleteCustomersCustomer
(use with runWithConfiguration
)
deleteCustomersCustomerRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteCustomersCustomerRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/customers/{customer}
Monadic version of deleteCustomersCustomerRaw
(use with runWithConfiguration
)
data DeleteCustomersCustomerRequestBody Source #
Defines the data type for the schema deleteCustomersCustomerRequestBody
data DeleteCustomersCustomerResponse Source #
Represents a response of the operation deleteCustomersCustomer
.
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), DeleteCustomersCustomerResponseError
is used.
DeleteCustomersCustomerResponseError String | Means either no matching case available or a parse error |
DeleteCustomersCustomerResponse200 DeletedCustomer | Successful response. |
DeleteCustomersCustomerResponseDefault Error | Error response. |