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 -> Text -> Text -> Maybe DeleteCustomersCustomerSourcesIdRequestBody -> m (Either HttpException (Response DeleteCustomersCustomerSourcesIdResponse))
- deleteCustomersCustomerSourcesIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Text -> Maybe DeleteCustomersCustomerSourcesIdRequestBody -> m (Either HttpException (Response ByteString))
- deleteCustomersCustomerSourcesIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Text -> Maybe DeleteCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteCustomersCustomerSourcesIdResponse))
- deleteCustomersCustomerSourcesIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Text -> Maybe DeleteCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteCustomersCustomerSourcesIdRequestBody = DeleteCustomersCustomerSourcesIdRequestBody {}
- data DeleteCustomersCustomerSourcesIdResponse
- data DeleteCustomersCustomerSourcesIdResponseBody200 = DeleteCustomersCustomerSourcesIdResponseBody200 {
- deleteCustomersCustomerSourcesIdResponseBody200Currency :: Maybe Text
- deleteCustomersCustomerSourcesIdResponseBody200Deleted :: Maybe DeleteCustomersCustomerSourcesIdResponseBody200Deleted'
- deleteCustomersCustomerSourcesIdResponseBody200Id :: Maybe Text
- deleteCustomersCustomerSourcesIdResponseBody200Object :: Maybe DeleteCustomersCustomerSourcesIdResponseBody200Object'
- data DeleteCustomersCustomerSourcesIdResponseBody200Deleted'
- data DeleteCustomersCustomerSourcesIdResponseBody200Object'
Documentation
deleteCustomersCustomerSourcesId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Text | customer | Constraints: Maximum length of 5000 |
-> Text | id |
-> Maybe 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 -> Text -> Text -> Maybe 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) => Text -> Text -> Maybe 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) => Text -> Text -> Maybe 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 DeleteCustomersCustomerSourcesIdResponseBody200 | Successful response. |
DeleteCustomersCustomerSourcesIdResponseDefault Error | Error response. |
data DeleteCustomersCustomerSourcesIdResponseBody200 Source #
Defines the data type for the schema DeleteCustomersCustomerSourcesIdResponseBody200
DeleteCustomersCustomerSourcesIdResponseBody200 | |
|
Instances
data DeleteCustomersCustomerSourcesIdResponseBody200Deleted' Source #
Defines the enum schema DeleteCustomersCustomerSourcesIdResponseBody200Deleted'
Always true for a deleted object
Instances
data DeleteCustomersCustomerSourcesIdResponseBody200Object' Source #
Defines the enum schema DeleteCustomersCustomerSourcesIdResponseBody200Object'
String representing the object's type. Objects of the same type share the same value.