Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getDisputesDispute
Synopsis
- getDisputesDispute :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetDisputesDisputeRequestBody -> m (Either HttpException (Response GetDisputesDisputeResponse))
- getDisputesDisputeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetDisputesDisputeRequestBody -> m (Either HttpException (Response ByteString))
- getDisputesDisputeM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetDisputesDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetDisputesDisputeResponse))
- getDisputesDisputeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetDisputesDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetDisputesDisputeRequestBody = GetDisputesDisputeRequestBody {
- data GetDisputesDisputeResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | dispute | Constraints: Maximum length of 5000 |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> GetDisputesDisputeRequestBody | The request body to send |
-> m (Either HttpException (Response GetDisputesDisputeResponse)) | Monad containing the result of the operation |
GET /v1/disputes/{dispute}
<p>Retrieves the dispute with the given ID.</p>
getDisputesDisputeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetDisputesDisputeRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/disputes/{dispute}
The same as getDisputesDispute
but returns the raw ByteString
getDisputesDisputeM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetDisputesDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetDisputesDisputeResponse)) Source #
GET /v1/disputes/{dispute}
Monadic version of getDisputesDispute
(use with runWithConfiguration
)
getDisputesDisputeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetDisputesDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/disputes/{dispute}
Monadic version of getDisputesDisputeRaw
(use with runWithConfiguration
)
data GetDisputesDisputeRequestBody Source #
Defines the data type for the schema getDisputesDisputeRequestBody
Instances
data GetDisputesDisputeResponse Source #
Represents a response of the operation getDisputesDispute
.
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), GetDisputesDisputeResponseError
is used.
GetDisputesDisputeResponseError String | Means either no matching case available or a parse error |
GetDisputesDisputeResponse200 Dispute | Successful response. |
GetDisputesDisputeResponseDefault Error | Error response. |