Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postIssuingDisputes
Synopsis
- postIssuingDisputes :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostIssuingDisputesRequestBody -> m (Either HttpException (Response PostIssuingDisputesResponse))
- postIssuingDisputesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostIssuingDisputesRequestBody -> m (Either HttpException (Response ByteString))
- postIssuingDisputesM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostIssuingDisputesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostIssuingDisputesResponse))
- postIssuingDisputesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostIssuingDisputesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostIssuingDisputesRequestBody = PostIssuingDisputesRequestBody {
- postIssuingDisputesRequestBodyAmount :: Maybe Integer
- postIssuingDisputesRequestBodyDisputedTransaction :: String
- postIssuingDisputesRequestBodyEvidence :: Maybe PostIssuingDisputesRequestBodyEvidence'
- postIssuingDisputesRequestBodyExpand :: Maybe ([] String)
- postIssuingDisputesRequestBodyMetadata :: Maybe PostIssuingDisputesRequestBodyMetadata'
- postIssuingDisputesRequestBodyReason :: PostIssuingDisputesRequestBodyReason'
- data PostIssuingDisputesRequestBodyEvidence' = PostIssuingDisputesRequestBodyEvidence' {
- postIssuingDisputesRequestBodyEvidence'Duplicate :: Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'
- postIssuingDisputesRequestBodyEvidence'Fraudulent :: Maybe PostIssuingDisputesRequestBodyEvidence'Fraudulent'
- postIssuingDisputesRequestBodyEvidence'Other :: Maybe PostIssuingDisputesRequestBodyEvidence'Other'
- postIssuingDisputesRequestBodyEvidence'ProductNotReceived :: Maybe PostIssuingDisputesRequestBodyEvidence'ProductNotReceived'
- data PostIssuingDisputesRequestBodyEvidence'Duplicate' = PostIssuingDisputesRequestBodyEvidence'Duplicate' {}
- data PostIssuingDisputesRequestBodyEvidence'Fraudulent' = PostIssuingDisputesRequestBodyEvidence'Fraudulent' {}
- data PostIssuingDisputesRequestBodyEvidence'Other' = PostIssuingDisputesRequestBodyEvidence'Other' {}
- data PostIssuingDisputesRequestBodyEvidence'ProductNotReceived' = PostIssuingDisputesRequestBodyEvidence'ProductNotReceived' {}
- data PostIssuingDisputesRequestBodyMetadata' = PostIssuingDisputesRequestBodyMetadata' {
- data PostIssuingDisputesRequestBodyReason'
- = PostIssuingDisputesRequestBodyReason'EnumOther Value
- | PostIssuingDisputesRequestBodyReason'EnumTyped String
- | PostIssuingDisputesRequestBodyReason'EnumStringDuplicate
- | PostIssuingDisputesRequestBodyReason'EnumStringFraudulent
- | PostIssuingDisputesRequestBodyReason'EnumStringOther
- | PostIssuingDisputesRequestBodyReason'EnumStringProductNotReceived
- data PostIssuingDisputesResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> PostIssuingDisputesRequestBody | The request body to send |
-> m (Either HttpException (Response PostIssuingDisputesResponse)) | Monad containing the result of the operation |
POST /v1/issuing/disputes
<p>Creates an Issuing <code>Dispute</code> object.</p>
postIssuingDisputesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostIssuingDisputesRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/issuing/disputes
The same as postIssuingDisputes
but returns the raw ByteString
postIssuingDisputesM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostIssuingDisputesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostIssuingDisputesResponse)) Source #
POST /v1/issuing/disputes
Monadic version of postIssuingDisputes
(use with runWithConfiguration
)
postIssuingDisputesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostIssuingDisputesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/issuing/disputes
Monadic version of postIssuingDisputesRaw
(use with runWithConfiguration
)
data PostIssuingDisputesRequestBody Source #
Defines the data type for the schema postIssuingDisputesRequestBody
PostIssuingDisputesRequestBody | |
|
data PostIssuingDisputesRequestBodyEvidence' Source #
Defines the data type for the schema postIssuingDisputesRequestBodyEvidence'
A hash containing all the evidence related to the dispute. This should have a single key, equal to the provided `reason`, mapping to an appropriate evidence object.
data PostIssuingDisputesRequestBodyEvidence'Duplicate' Source #
Defines the data type for the schema postIssuingDisputesRequestBodyEvidence'Duplicate'
PostIssuingDisputesRequestBodyEvidence'Duplicate' | |
|
Instances
data PostIssuingDisputesRequestBodyEvidence'Fraudulent' Source #
Defines the data type for the schema postIssuingDisputesRequestBodyEvidence'Fraudulent'
PostIssuingDisputesRequestBodyEvidence'Fraudulent' | |
|
Instances
data PostIssuingDisputesRequestBodyEvidence'Other' Source #
Defines the data type for the schema postIssuingDisputesRequestBodyEvidence'Other'
PostIssuingDisputesRequestBodyEvidence'Other' | |
|
Instances
data PostIssuingDisputesRequestBodyEvidence'ProductNotReceived' Source #
Defines the data type for the schema postIssuingDisputesRequestBodyEvidence'Product_not_received'
PostIssuingDisputesRequestBodyEvidence'ProductNotReceived' | |
|
Instances
data PostIssuingDisputesRequestBodyMetadata' Source #
Defines the data type for the schema postIssuingDisputesRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
data PostIssuingDisputesRequestBodyReason' Source #
Defines the enum schema postIssuingDisputesRequestBodyReason'
The reason for the dispute.
data PostIssuingDisputesResponse Source #
Represents a response of the operation postIssuingDisputes
.
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), PostIssuingDisputesResponseError
is used.
PostIssuingDisputesResponseError String | Means either no matching case available or a parse error |
PostIssuingDisputesResponse200 Issuing'dispute | Successful response. |
PostIssuingDisputesResponseDefault Error | Error response. |