Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postCustomersCustomerBalanceTransactionsTransaction
Synopsis
- postCustomersCustomerBalanceTransactionsTransaction :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> m (Either HttpException (Response PostCustomersCustomerBalanceTransactionsTransactionResponse))
- postCustomersCustomerBalanceTransactionsTransactionRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> m (Either HttpException (Response ByteString))
- postCustomersCustomerBalanceTransactionsTransactionM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostCustomersCustomerBalanceTransactionsTransactionResponse))
- postCustomersCustomerBalanceTransactionsTransactionRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostCustomersCustomerBalanceTransactionsTransactionRequestBody = PostCustomersCustomerBalanceTransactionsTransactionRequestBody {
- postCustomersCustomerBalanceTransactionsTransactionRequestBodyDescription :: Maybe String
- postCustomersCustomerBalanceTransactionsTransactionRequestBodyExpand :: Maybe ([] String)
- postCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata :: Maybe PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'
- data PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata' = PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata' {
- data PostCustomersCustomerBalanceTransactionsTransactionResponse
Documentation
postCustomersCustomerBalanceTransactionsTransaction Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> String | transaction | Constraints: Maximum length of 5000 |
-> PostCustomersCustomerBalanceTransactionsTransactionRequestBody | The request body to send |
-> m (Either HttpException (Response PostCustomersCustomerBalanceTransactionsTransactionResponse)) | Monad containing the result of the operation |
POST /v1/customers/{customer}/balance_transactions/{transaction}
<p>Most customer balance transaction fields are immutable, but you may update its <code>description</code> and <code>metadata</code>.</p>
postCustomersCustomerBalanceTransactionsTransactionRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/customers/{customer}/balance_transactions/{transaction}
The same as postCustomersCustomerBalanceTransactionsTransaction
but returns the raw ByteString
postCustomersCustomerBalanceTransactionsTransactionM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostCustomersCustomerBalanceTransactionsTransactionResponse)) Source #
POST /v1/customers/{customer}/balance_transactions/{transaction}
Monadic version of postCustomersCustomerBalanceTransactionsTransaction
(use with runWithConfiguration
)
postCustomersCustomerBalanceTransactionsTransactionRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/customers/{customer}/balance_transactions/{transaction}
Monadic version of postCustomersCustomerBalanceTransactionsTransactionRaw
(use with runWithConfiguration
)
data PostCustomersCustomerBalanceTransactionsTransactionRequestBody Source #
Defines the data type for the schema postCustomersCustomerBalanceTransactionsTransactionRequestBody
PostCustomersCustomerBalanceTransactionsTransactionRequestBody | |
|
Instances
data PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata' Source #
Defines the data type for the schema postCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
Instances
data PostCustomersCustomerBalanceTransactionsTransactionResponse Source #
Represents a response of the operation postCustomersCustomerBalanceTransactionsTransaction
.
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), PostCustomersCustomerBalanceTransactionsTransactionResponseError
is used.
PostCustomersCustomerBalanceTransactionsTransactionResponseError String | Means either no matching case available or a parse error |
PostCustomersCustomerBalanceTransactionsTransactionResponse200 CustomerBalanceTransaction | Successful response. |
PostCustomersCustomerBalanceTransactionsTransactionResponseDefault Error | Error response. |
Instances
Eq PostCustomersCustomerBalanceTransactionsTransactionResponse Source # | |
Show PostCustomersCustomerBalanceTransactionsTransactionResponse Source # | |