Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postChargesChargeDispute
Synopsis
- postChargesChargeDispute :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostChargesChargeDisputeRequestBody -> m (Either HttpException (Response PostChargesChargeDisputeResponse))
- postChargesChargeDisputeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostChargesChargeDisputeRequestBody -> m (Either HttpException (Response ByteString))
- postChargesChargeDisputeM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostChargesChargeDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostChargesChargeDisputeResponse))
- postChargesChargeDisputeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostChargesChargeDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostChargesChargeDisputeRequestBody = PostChargesChargeDisputeRequestBody {
- postChargesChargeDisputeRequestBodyEvidence :: Maybe PostChargesChargeDisputeRequestBodyEvidence'
- postChargesChargeDisputeRequestBodyExpand :: Maybe ([] String)
- postChargesChargeDisputeRequestBodyMetadata :: Maybe PostChargesChargeDisputeRequestBodyMetadata'
- postChargesChargeDisputeRequestBodySubmit :: Maybe Bool
- data PostChargesChargeDisputeRequestBodyEvidence' = PostChargesChargeDisputeRequestBodyEvidence' {
- postChargesChargeDisputeRequestBodyEvidence'AccessActivityLog :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'BillingAddress :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'CancellationPolicy :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'CancellationPolicyDisclosure :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'CancellationRebuttal :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'CustomerCommunication :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'CustomerEmailAddress :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'CustomerName :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'CustomerPurchaseIp :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'CustomerSignature :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'DuplicateChargeDocumentation :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'DuplicateChargeExplanation :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'DuplicateChargeId :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'ProductDescription :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'Receipt :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'RefundPolicy :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'RefundPolicyDisclosure :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'RefundRefusalExplanation :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'ServiceDate :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'ServiceDocumentation :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'ShippingAddress :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'ShippingCarrier :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'ShippingDate :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'ShippingDocumentation :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'ShippingTrackingNumber :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'UncategorizedFile :: Maybe String
- postChargesChargeDisputeRequestBodyEvidence'UncategorizedText :: Maybe String
- data PostChargesChargeDisputeRequestBodyMetadata' = PostChargesChargeDisputeRequestBodyMetadata' {
- data PostChargesChargeDisputeResponse
Documentation
postChargesChargeDispute Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | charge | Constraints: Maximum length of 5000 |
-> PostChargesChargeDisputeRequestBody | The request body to send |
-> m (Either HttpException (Response PostChargesChargeDisputeResponse)) | Monad containing the result of the operation |
POST /v1/charges/{charge}/dispute
postChargesChargeDisputeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostChargesChargeDisputeRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/charges/{charge}/dispute
The same as postChargesChargeDispute
but returns the raw ByteString
postChargesChargeDisputeM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostChargesChargeDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostChargesChargeDisputeResponse)) Source #
POST /v1/charges/{charge}/dispute
Monadic version of postChargesChargeDispute
(use with runWithConfiguration
)
postChargesChargeDisputeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostChargesChargeDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/charges/{charge}/dispute
Monadic version of postChargesChargeDisputeRaw
(use with runWithConfiguration
)
data PostChargesChargeDisputeRequestBody Source #
Defines the data type for the schema postChargesChargeDisputeRequestBody
PostChargesChargeDisputeRequestBody | |
|
data PostChargesChargeDisputeRequestBodyEvidence' Source #
Defines the data type for the schema postChargesChargeDisputeRequestBodyEvidence'
Evidence to upload, to respond to a dispute. Updating any field in the hash will submit all fields in the hash for review. The combined character count of all fields is limited to 150,000.
data PostChargesChargeDisputeRequestBodyMetadata' Source #
Defines the data type for the schema postChargesChargeDisputeRequestBodyMetadata'
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 PostChargesChargeDisputeResponse Source #
Represents a response of the operation postChargesChargeDispute
.
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), PostChargesChargeDisputeResponseError
is used.
PostChargesChargeDisputeResponseError String | Means either no matching case available or a parse error |
PostChargesChargeDisputeResponse200 Dispute | Successful response. |
PostChargesChargeDisputeResponseDefault Error | Error response. |