Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getIssuingDisputes
Synopsis
- getIssuingDisputes :: forall m. MonadHTTP m => GetIssuingDisputesParameters -> StripeT m (Response GetIssuingDisputesResponse)
- data GetIssuingDisputesParameters = GetIssuingDisputesParameters {
- getIssuingDisputesParametersQueryCreated :: Maybe GetIssuingDisputesParametersQueryCreated'Variants
- getIssuingDisputesParametersQueryEndingBefore :: Maybe Text
- getIssuingDisputesParametersQueryExpand :: Maybe [Text]
- getIssuingDisputesParametersQueryLimit :: Maybe Int
- getIssuingDisputesParametersQueryStartingAfter :: Maybe Text
- getIssuingDisputesParametersQueryStatus :: Maybe GetIssuingDisputesParametersQueryStatus'
- getIssuingDisputesParametersQueryTransaction :: Maybe Text
- mkGetIssuingDisputesParameters :: GetIssuingDisputesParameters
- data GetIssuingDisputesParametersQueryCreated'OneOf1 = GetIssuingDisputesParametersQueryCreated'OneOf1 {}
- mkGetIssuingDisputesParametersQueryCreated'OneOf1 :: GetIssuingDisputesParametersQueryCreated'OneOf1
- data GetIssuingDisputesParametersQueryCreated'Variants
- data GetIssuingDisputesParametersQueryStatus'
- = GetIssuingDisputesParametersQueryStatus'Other Value
- | GetIssuingDisputesParametersQueryStatus'Typed Text
- | GetIssuingDisputesParametersQueryStatus'EnumExpired
- | GetIssuingDisputesParametersQueryStatus'EnumLost
- | GetIssuingDisputesParametersQueryStatus'EnumSubmitted
- | GetIssuingDisputesParametersQueryStatus'EnumUnsubmitted
- | GetIssuingDisputesParametersQueryStatus'EnumWon
- data GetIssuingDisputesResponse
- data GetIssuingDisputesResponseBody200 = GetIssuingDisputesResponseBody200 {}
- mkGetIssuingDisputesResponseBody200 :: [Issuing'dispute] -> Bool -> Text -> GetIssuingDisputesResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetIssuingDisputesParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetIssuingDisputesResponse) | Monadic computation which returns the result of the operation |
GET /v1/issuing/disputes
<p>Returns a list of Issuing <code>Dispute</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>
data GetIssuingDisputesParameters Source #
Defines the object schema located at paths./v1/issuing/disputes.GET.parameters
in the specification.
GetIssuingDisputesParameters | |
|
Instances
mkGetIssuingDisputesParameters :: GetIssuingDisputesParameters Source #
Create a new GetIssuingDisputesParameters
with all required fields.
data GetIssuingDisputesParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/issuing/disputes.GET.parameters.properties.queryCreated.anyOf
in the specification.
Instances
mkGetIssuingDisputesParametersQueryCreated'OneOf1 :: GetIssuingDisputesParametersQueryCreated'OneOf1 Source #
Create a new GetIssuingDisputesParametersQueryCreated'OneOf1
with all required fields.
data GetIssuingDisputesParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/issuing/disputes.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
Select Issuing disputes that were created during the given date interval.
GetIssuingDisputesParametersQueryCreated'GetIssuingDisputesParametersQueryCreated'OneOf1 GetIssuingDisputesParametersQueryCreated'OneOf1 | |
GetIssuingDisputesParametersQueryCreated'Int Int |
Instances
data GetIssuingDisputesParametersQueryStatus' Source #
Defines the enum schema located at paths./v1/issuing/disputes.GET.parameters.properties.queryStatus
in the specification.
Represents the parameter named 'status'
Select Issuing disputes with the given status.
GetIssuingDisputesParametersQueryStatus'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetIssuingDisputesParametersQueryStatus'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetIssuingDisputesParametersQueryStatus'EnumExpired | Represents the JSON value |
GetIssuingDisputesParametersQueryStatus'EnumLost | Represents the JSON value |
GetIssuingDisputesParametersQueryStatus'EnumSubmitted | Represents the JSON value |
GetIssuingDisputesParametersQueryStatus'EnumUnsubmitted | Represents the JSON value |
GetIssuingDisputesParametersQueryStatus'EnumWon | Represents the JSON value |
data GetIssuingDisputesResponse Source #
Represents a response of the operation getIssuingDisputes
.
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), GetIssuingDisputesResponseError
is used.
GetIssuingDisputesResponseError String | Means either no matching case available or a parse error |
GetIssuingDisputesResponse200 GetIssuingDisputesResponseBody200 | Successful response. |
GetIssuingDisputesResponseDefault Error | Error response. |
Instances
data GetIssuingDisputesResponseBody200 Source #
Defines the object schema located at paths./v1/issuing/disputes.GET.responses.200.content.application/json.schema
in the specification.
GetIssuingDisputesResponseBody200 | |
|
mkGetIssuingDisputesResponseBody200 Source #
:: [Issuing'dispute] | |
-> Bool | |
-> Text | |
-> GetIssuingDisputesResponseBody200 |
Create a new GetIssuingDisputesResponseBody200
with all required fields.