Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getDisputes
Synopsis
- getDisputes :: forall m. MonadHTTP m => GetDisputesParameters -> ClientT m (Response GetDisputesResponse)
- data GetDisputesParameters = GetDisputesParameters {
- getDisputesParametersQueryCharge :: Maybe Text
- getDisputesParametersQueryCreated :: Maybe GetDisputesParametersQueryCreated'Variants
- getDisputesParametersQueryEndingBefore :: Maybe Text
- getDisputesParametersQueryExpand :: Maybe [Text]
- getDisputesParametersQueryLimit :: Maybe Int
- getDisputesParametersQueryPaymentIntent :: Maybe Text
- getDisputesParametersQueryStartingAfter :: Maybe Text
- mkGetDisputesParameters :: GetDisputesParameters
- data GetDisputesParametersQueryCreated'OneOf1 = GetDisputesParametersQueryCreated'OneOf1 {}
- mkGetDisputesParametersQueryCreated'OneOf1 :: GetDisputesParametersQueryCreated'OneOf1
- data GetDisputesParametersQueryCreated'Variants
- data GetDisputesResponse
- data GetDisputesResponseBody200 = GetDisputesResponseBody200 {}
- mkGetDisputesResponseBody200 :: [Dispute] -> Bool -> Text -> GetDisputesResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetDisputesParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetDisputesResponse) | Monadic computation which returns the result of the operation |
GET /v1/disputes
<p>Returns a list of your disputes.</p>
data GetDisputesParameters Source #
Defines the object schema located at paths./v1/disputes.GET.parameters
in the specification.
GetDisputesParameters | |
|
Instances
Eq GetDisputesParameters Source # | |
Defined in StripeAPI.Operations.GetDisputes (==) :: GetDisputesParameters -> GetDisputesParameters -> Bool # (/=) :: GetDisputesParameters -> GetDisputesParameters -> Bool # | |
Show GetDisputesParameters Source # | |
Defined in StripeAPI.Operations.GetDisputes showsPrec :: Int -> GetDisputesParameters -> ShowS # show :: GetDisputesParameters -> String # showList :: [GetDisputesParameters] -> ShowS # | |
ToJSON GetDisputesParameters Source # | |
Defined in StripeAPI.Operations.GetDisputes toJSON :: GetDisputesParameters -> Value # toEncoding :: GetDisputesParameters -> Encoding # toJSONList :: [GetDisputesParameters] -> Value # toEncodingList :: [GetDisputesParameters] -> Encoding # | |
FromJSON GetDisputesParameters Source # | |
Defined in StripeAPI.Operations.GetDisputes parseJSON :: Value -> Parser GetDisputesParameters # parseJSONList :: Value -> Parser [GetDisputesParameters] # |
mkGetDisputesParameters :: GetDisputesParameters Source #
Create a new GetDisputesParameters
with all required fields.
data GetDisputesParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/disputes.GET.parameters.properties.queryCreated.anyOf
in the specification.
mkGetDisputesParametersQueryCreated'OneOf1 :: GetDisputesParametersQueryCreated'OneOf1 Source #
Create a new GetDisputesParametersQueryCreated'OneOf1
with all required fields.
data GetDisputesParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/disputes.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
GetDisputesParametersQueryCreated'GetDisputesParametersQueryCreated'OneOf1 GetDisputesParametersQueryCreated'OneOf1 | |
GetDisputesParametersQueryCreated'Int Int |
data GetDisputesResponse Source #
Represents a response of the operation getDisputes
.
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), GetDisputesResponseError
is used.
GetDisputesResponseError String | Means either no matching case available or a parse error |
GetDisputesResponse200 GetDisputesResponseBody200 | Successful response. |
GetDisputesResponseDefault Error | Error response. |
Instances
Eq GetDisputesResponse Source # | |
Defined in StripeAPI.Operations.GetDisputes (==) :: GetDisputesResponse -> GetDisputesResponse -> Bool # (/=) :: GetDisputesResponse -> GetDisputesResponse -> Bool # | |
Show GetDisputesResponse Source # | |
Defined in StripeAPI.Operations.GetDisputes showsPrec :: Int -> GetDisputesResponse -> ShowS # show :: GetDisputesResponse -> String # showList :: [GetDisputesResponse] -> ShowS # |
data GetDisputesResponseBody200 Source #
Defines the object schema located at paths./v1/disputes.GET.responses.200.content.application/json.schema
in the specification.
GetDisputesResponseBody200 | |
|
Instances
mkGetDisputesResponseBody200 Source #
:: [Dispute] | |
-> Bool | |
-> Text | |
-> GetDisputesResponseBody200 |
Create a new GetDisputesResponseBody200
with all required fields.