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