Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postApplicationFeesFeeRefundsId
Synopsis
- postApplicationFeesFeeRefundsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostApplicationFeesFeeRefundsIdRequestBody -> m (Either HttpException (Response PostApplicationFeesFeeRefundsIdResponse))
- postApplicationFeesFeeRefundsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostApplicationFeesFeeRefundsIdRequestBody -> m (Either HttpException (Response ByteString))
- postApplicationFeesFeeRefundsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostApplicationFeesFeeRefundsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostApplicationFeesFeeRefundsIdResponse))
- postApplicationFeesFeeRefundsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostApplicationFeesFeeRefundsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostApplicationFeesFeeRefundsIdRequestBody = PostApplicationFeesFeeRefundsIdRequestBody {}
- data PostApplicationFeesFeeRefundsIdRequestBodyMetadata' = PostApplicationFeesFeeRefundsIdRequestBodyMetadata' {
- data PostApplicationFeesFeeRefundsIdResponse
Documentation
postApplicationFeesFeeRefundsId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | fee | Constraints: Maximum length of 5000 |
-> String | id | Constraints: Maximum length of 5000 |
-> PostApplicationFeesFeeRefundsIdRequestBody | The request body to send |
-> m (Either HttpException (Response PostApplicationFeesFeeRefundsIdResponse)) | Monad containing the result of the operation |
POST /v1/application_fees/{fee}/refunds/{id}
<p>Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>
<p>This request only accepts metadata as an argument.</p>
postApplicationFeesFeeRefundsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostApplicationFeesFeeRefundsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/application_fees/{fee}/refunds/{id}
The same as postApplicationFeesFeeRefundsId
but returns the raw ByteString
postApplicationFeesFeeRefundsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostApplicationFeesFeeRefundsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostApplicationFeesFeeRefundsIdResponse)) Source #
POST /v1/application_fees/{fee}/refunds/{id}
Monadic version of postApplicationFeesFeeRefundsId
(use with runWithConfiguration
)
postApplicationFeesFeeRefundsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostApplicationFeesFeeRefundsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/application_fees/{fee}/refunds/{id}
Monadic version of postApplicationFeesFeeRefundsIdRaw
(use with runWithConfiguration
)
data PostApplicationFeesFeeRefundsIdRequestBody Source #
Defines the data type for the schema postApplicationFeesFeeRefundsIdRequestBody
PostApplicationFeesFeeRefundsIdRequestBody | |
|
Instances
data PostApplicationFeesFeeRefundsIdRequestBodyMetadata' Source #
Defines the data type for the schema postApplicationFeesFeeRefundsIdRequestBodyMetadata'
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 PostApplicationFeesFeeRefundsIdResponse Source #
Represents a response of the operation postApplicationFeesFeeRefundsId
.
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), PostApplicationFeesFeeRefundsIdResponseError
is used.
PostApplicationFeesFeeRefundsIdResponseError String | Means either no matching case available or a parse error |
PostApplicationFeesFeeRefundsIdResponse200 FeeRefund | Successful response. |
PostApplicationFeesFeeRefundsIdResponseDefault Error | Error response. |