stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetOrderReturnsId

Description

Contains the different functions to run the operation getOrderReturnsId

Synopsis

Documentation

getOrderReturnsId Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> Maybe String

expand: Specifies which fields in the response should be expanded.

-> String

id | Constraints: Maximum length of 5000

-> GetOrderReturnsIdRequestBody

The request body to send

-> m (Either HttpException (Response GetOrderReturnsIdResponse))

Monad containing the result of the operation

GET /v1/order_returns/{id}

<p>Retrieves the details of an existing order return. Supply the unique order ID from either an order return creation request or the order return list, and Stripe will return the corresponding order information.</p>

getOrderReturnsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetOrderReturnsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #

GET /v1/order_returns/{id}

The same as getOrderReturnsId but returns the raw ByteString

data GetOrderReturnsIdResponse Source #

Represents a response of the operation getOrderReturnsId.

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), GetOrderReturnsIdResponseError is used.

Constructors

GetOrderReturnsIdResponseError String

Means either no matching case available or a parse error

GetOrderReturnsIdResponse200 OrderReturn

Successful response.

GetOrderReturnsIdResponseDefault Error

Error response.