stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetIssuingDisputes

Description

Contains the different functions to run the operation getIssuingDisputes

Synopsis

Documentation

getIssuingDisputes Source #

Arguments

:: forall m. MonadHTTP m 
=> GetIssuingDisputesParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT 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.

Constructors

GetIssuingDisputesParameters 

Fields

data GetIssuingDisputesParametersQueryCreated'OneOf1 Source #

Defines the object schema located at paths./v1/issuing/disputes.GET.parameters.properties.queryCreated.anyOf in the specification.

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.

Instances

Instances details
Eq GetIssuingDisputesParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingDisputes

Show GetIssuingDisputesParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingDisputes

ToJSON GetIssuingDisputesParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingDisputes

FromJSON GetIssuingDisputesParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingDisputes

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.

Constructors

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 "expired"

GetIssuingDisputesParametersQueryStatus'EnumLost

Represents the JSON value "lost"

GetIssuingDisputesParametersQueryStatus'EnumSubmitted

Represents the JSON value "submitted"

GetIssuingDisputesParametersQueryStatus'EnumUnsubmitted

Represents the JSON value "unsubmitted"

GetIssuingDisputesParametersQueryStatus'EnumWon

Represents the JSON value "won"

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.

Constructors

GetIssuingDisputesResponseError String

Means either no matching case available or a parse error

GetIssuingDisputesResponse200 GetIssuingDisputesResponseBody200

Successful response.

GetIssuingDisputesResponseDefault Error

Error response.

data GetIssuingDisputesResponseBody200 Source #

Defines the object schema located at paths./v1/issuing/disputes.GET.responses.200.content.application/json.schema in the specification.

Constructors

GetIssuingDisputesResponseBody200 

Fields