stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetOrderReturns

Description

Contains the different functions to run the operation getOrderReturns

Synopsis

Documentation

getOrderReturns Source #

Arguments

:: forall m. MonadHTTP m 
=> GetOrderReturnsParameters

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

-> ClientT m (Response GetOrderReturnsResponse)

Monadic computation which returns the result of the operation

GET /v1/order_returns

<p>Returns a list of your order returns. The returns are returned sorted by creation date, with the most recently created return appearing first.</p>

data GetOrderReturnsParameters Source #

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

Constructors

GetOrderReturnsParameters 

Fields

data GetOrderReturnsParametersQueryCreated'OneOf1 Source #

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

data GetOrderReturnsParametersQueryCreated'Variants Source #

Defines the oneOf schema located at paths./v1/order_returns.GET.parameters.properties.queryCreated.anyOf in the specification.

Represents the parameter named 'created'

Date this return was created.

data GetOrderReturnsResponse Source #

Represents a response of the operation getOrderReturns.

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

Constructors

GetOrderReturnsResponseError String

Means either no matching case available or a parse error

GetOrderReturnsResponse200 GetOrderReturnsResponseBody200

Successful response.

GetOrderReturnsResponseDefault Error

Error response.

data GetOrderReturnsResponseBody200 Source #

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

Constructors

GetOrderReturnsResponseBody200 

Fields