Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteCustomersCustomerSourcesId
Synopsis
- deleteCustomersCustomerSourcesId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteCustomersCustomerSourcesIdRequestBody -> m (Either HttpException (Response DeleteCustomersCustomerSourcesIdResponse))
- deleteCustomersCustomerSourcesIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteCustomersCustomerSourcesIdRequestBody -> m (Either HttpException (Response ByteString))
- deleteCustomersCustomerSourcesIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteCustomersCustomerSourcesIdResponse))
- deleteCustomersCustomerSourcesIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteCustomersCustomerSourcesIdRequestBody = DeleteCustomersCustomerSourcesIdRequestBody {}
- data DeleteCustomersCustomerSourcesIdResponse
Documentation
deleteCustomersCustomerSourcesId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> String | id |
-> DeleteCustomersCustomerSourcesIdRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteCustomersCustomerSourcesIdResponse)) | Monad containing the result of the operation |
DELETE /v1/customers/{customer}/sources/{id}
<p>Delete a specified source for a given customer.</p>
deleteCustomersCustomerSourcesIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteCustomersCustomerSourcesIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/customers/{customer}/sources/{id}
The same as deleteCustomersCustomerSourcesId
but returns the raw ByteString
deleteCustomersCustomerSourcesIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteCustomersCustomerSourcesIdResponse)) Source #
DELETE /v1/customers/{customer}/sources/{id}
Monadic version of deleteCustomersCustomerSourcesId
(use with runWithConfiguration
)
deleteCustomersCustomerSourcesIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/customers/{customer}/sources/{id}
Monadic version of deleteCustomersCustomerSourcesIdRaw
(use with runWithConfiguration
)
data DeleteCustomersCustomerSourcesIdRequestBody Source #
Defines the data type for the schema deleteCustomersCustomerSourcesIdRequestBody
DeleteCustomersCustomerSourcesIdRequestBody | |
|
Instances
data DeleteCustomersCustomerSourcesIdResponse Source #
Represents a response of the operation deleteCustomersCustomerSourcesId
.
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), DeleteCustomersCustomerSourcesIdResponseError
is used.
DeleteCustomersCustomerSourcesIdResponseError String | Means either no matching case available or a parse error |
DeleteCustomersCustomerSourcesIdResponse200 String | Successful response. |
DeleteCustomersCustomerSourcesIdResponseDefault Error | Error response. |