Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteCustomersCustomerBankAccountsId
Synopsis
- deleteCustomersCustomerBankAccountsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Text -> Maybe DeleteCustomersCustomerBankAccountsIdRequestBody -> m (Either HttpException (Response DeleteCustomersCustomerBankAccountsIdResponse))
- deleteCustomersCustomerBankAccountsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Text -> Maybe DeleteCustomersCustomerBankAccountsIdRequestBody -> m (Either HttpException (Response ByteString))
- deleteCustomersCustomerBankAccountsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Text -> Maybe DeleteCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteCustomersCustomerBankAccountsIdResponse))
- deleteCustomersCustomerBankAccountsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Text -> Maybe DeleteCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteCustomersCustomerBankAccountsIdRequestBody = DeleteCustomersCustomerBankAccountsIdRequestBody {}
- data DeleteCustomersCustomerBankAccountsIdResponse
- data DeleteCustomersCustomerBankAccountsIdResponseBody200 = DeleteCustomersCustomerBankAccountsIdResponseBody200 {
- deleteCustomersCustomerBankAccountsIdResponseBody200Currency :: Maybe Text
- deleteCustomersCustomerBankAccountsIdResponseBody200Deleted :: Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Deleted'
- deleteCustomersCustomerBankAccountsIdResponseBody200Id :: Maybe Text
- deleteCustomersCustomerBankAccountsIdResponseBody200Object :: Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
- data DeleteCustomersCustomerBankAccountsIdResponseBody200Deleted'
- data DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
Documentation
deleteCustomersCustomerBankAccountsId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Text | customer | Constraints: Maximum length of 5000 |
-> Text | id |
-> Maybe DeleteCustomersCustomerBankAccountsIdRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteCustomersCustomerBankAccountsIdResponse)) | Monad containing the result of the operation |
DELETE /v1/customers/{customer}/bank_accounts/{id}
<p>Delete a specified source for a given customer.</p>
deleteCustomersCustomerBankAccountsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Text -> Maybe DeleteCustomersCustomerBankAccountsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/customers/{customer}/bank_accounts/{id}
The same as deleteCustomersCustomerBankAccountsId
but returns the raw ByteString
deleteCustomersCustomerBankAccountsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Text -> Maybe DeleteCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteCustomersCustomerBankAccountsIdResponse)) Source #
DELETE /v1/customers/{customer}/bank_accounts/{id}
Monadic version of deleteCustomersCustomerBankAccountsId
(use with runWithConfiguration
)
deleteCustomersCustomerBankAccountsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Text -> Maybe DeleteCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/customers/{customer}/bank_accounts/{id}
Monadic version of deleteCustomersCustomerBankAccountsIdRaw
(use with runWithConfiguration
)
data DeleteCustomersCustomerBankAccountsIdRequestBody Source #
Defines the data type for the schema deleteCustomersCustomerBankAccountsIdRequestBody
DeleteCustomersCustomerBankAccountsIdRequestBody | |
|
Instances
data DeleteCustomersCustomerBankAccountsIdResponse Source #
Represents a response of the operation deleteCustomersCustomerBankAccountsId
.
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), DeleteCustomersCustomerBankAccountsIdResponseError
is used.
DeleteCustomersCustomerBankAccountsIdResponseError String | Means either no matching case available or a parse error |
DeleteCustomersCustomerBankAccountsIdResponse200 DeleteCustomersCustomerBankAccountsIdResponseBody200 | Successful response. |
DeleteCustomersCustomerBankAccountsIdResponseDefault Error | Error response. |
data DeleteCustomersCustomerBankAccountsIdResponseBody200 Source #
Defines the data type for the schema DeleteCustomersCustomerBankAccountsIdResponseBody200
DeleteCustomersCustomerBankAccountsIdResponseBody200 | |
|
Instances
data DeleteCustomersCustomerBankAccountsIdResponseBody200Deleted' Source #
Defines the enum schema DeleteCustomersCustomerBankAccountsIdResponseBody200Deleted'
Always true for a deleted object
Instances
data DeleteCustomersCustomerBankAccountsIdResponseBody200Object' Source #
Defines the enum schema DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
String representing the object's type. Objects of the same type share the same value.