stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetOrderReturnsId

Description

Contains the different functions to run the operation getOrderReturnsId

Synopsis

Documentation

getOrderReturnsId Source #

Arguments

:: forall m. MonadHTTP m 
=> GetOrderReturnsIdParameters

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

-> ClientT m (Response GetOrderReturnsIdResponse)

Monadic computation which returns 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>

data GetOrderReturnsIdParameters Source #

Defines the object schema located at paths./v1/order_returns/{id}.GET.parameters in the specification.

Constructors

GetOrderReturnsIdParameters 

Fields

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.