Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetChargesChargeDispute
Description
Contains the different functions to run the operation getChargesChargeDispute
Synopsis
- getChargesChargeDispute :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Maybe GetChargesChargeDisputeRequestBody -> m (Either HttpException (Response GetChargesChargeDisputeResponse))
- getChargesChargeDisputeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Maybe GetChargesChargeDisputeRequestBody -> m (Either HttpException (Response ByteString))
- getChargesChargeDisputeM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Maybe GetChargesChargeDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetChargesChargeDisputeResponse))
- getChargesChargeDisputeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Maybe GetChargesChargeDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetChargesChargeDisputeRequestBody = GetChargesChargeDisputeRequestBody {
- data GetChargesChargeDisputeResponse
Documentation
getChargesChargeDispute Source #
Arguments
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Text | charge | Constraints: Maximum length of 5000 |
-> Maybe Text | expand: Specifies which fields in the response should be expanded. |
-> Maybe GetChargesChargeDisputeRequestBody | The request body to send |
-> m (Either HttpException (Response GetChargesChargeDisputeResponse)) | Monad containing the result of the operation |
GET /v1/charges/{charge}/dispute
<p>Retrieve a dispute for a specified charge.</p>
getChargesChargeDisputeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Maybe GetChargesChargeDisputeRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/charges/{charge}/dispute
The same as getChargesChargeDispute
but returns the raw ByteString
getChargesChargeDisputeM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Maybe GetChargesChargeDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetChargesChargeDisputeResponse)) Source #
GET /v1/charges/{charge}/dispute
Monadic version of getChargesChargeDispute
(use with runWithConfiguration
)
getChargesChargeDisputeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Maybe GetChargesChargeDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/charges/{charge}/dispute
Monadic version of getChargesChargeDisputeRaw
(use with runWithConfiguration
)
data GetChargesChargeDisputeRequestBody Source #
Defines the data type for the schema getChargesChargeDisputeRequestBody
Constructors
GetChargesChargeDisputeRequestBody | |
Instances
data GetChargesChargeDisputeResponse Source #
Represents a response of the operation getChargesChargeDispute
.
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), GetChargesChargeDisputeResponseError
is used.
Constructors
GetChargesChargeDisputeResponseError String | Means either no matching case available or a parse error |
GetChargesChargeDisputeResponse200 Dispute | Successful response. |
GetChargesChargeDisputeResponseDefault Error | Error response. |