Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getOrderReturns
Synopsis
- getOrderReturns :: forall m. MonadHTTP m => GetOrderReturnsParameters -> StripeT m (Response GetOrderReturnsResponse)
- data GetOrderReturnsParameters = GetOrderReturnsParameters {
- getOrderReturnsParametersQueryCreated :: Maybe GetOrderReturnsParametersQueryCreated'Variants
- getOrderReturnsParametersQueryEndingBefore :: Maybe Text
- getOrderReturnsParametersQueryExpand :: Maybe [Text]
- getOrderReturnsParametersQueryLimit :: Maybe Int
- getOrderReturnsParametersQueryOrder :: Maybe Text
- getOrderReturnsParametersQueryStartingAfter :: Maybe Text
- mkGetOrderReturnsParameters :: GetOrderReturnsParameters
- data GetOrderReturnsParametersQueryCreated'OneOf1 = GetOrderReturnsParametersQueryCreated'OneOf1 {}
- mkGetOrderReturnsParametersQueryCreated'OneOf1 :: GetOrderReturnsParametersQueryCreated'OneOf1
- data GetOrderReturnsParametersQueryCreated'Variants
- data GetOrderReturnsResponse
- data GetOrderReturnsResponseBody200 = GetOrderReturnsResponseBody200 {}
- mkGetOrderReturnsResponseBody200 :: [OrderReturn] -> Bool -> Text -> GetOrderReturnsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetOrderReturnsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT 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.
GetOrderReturnsParameters | |
|
Instances
mkGetOrderReturnsParameters :: GetOrderReturnsParameters Source #
Create a new GetOrderReturnsParameters
with all required fields.
data GetOrderReturnsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/order_returns.GET.parameters.properties.queryCreated.anyOf
in the specification.
mkGetOrderReturnsParametersQueryCreated'OneOf1 :: GetOrderReturnsParametersQueryCreated'OneOf1 Source #
Create a new GetOrderReturnsParametersQueryCreated'OneOf1
with all required fields.
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.
GetOrderReturnsParametersQueryCreated'GetOrderReturnsParametersQueryCreated'OneOf1 GetOrderReturnsParametersQueryCreated'OneOf1 | |
GetOrderReturnsParametersQueryCreated'Int Int |
Instances
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.
GetOrderReturnsResponseError String | Means either no matching case available or a parse error |
GetOrderReturnsResponse200 GetOrderReturnsResponseBody200 | Successful response. |
GetOrderReturnsResponseDefault Error | Error response. |
Instances
Eq GetOrderReturnsResponse Source # | |
Defined in StripeAPI.Operations.GetOrderReturns | |
Show GetOrderReturnsResponse Source # | |
Defined in StripeAPI.Operations.GetOrderReturns showsPrec :: Int -> GetOrderReturnsResponse -> ShowS # show :: GetOrderReturnsResponse -> String # showList :: [GetOrderReturnsResponse] -> ShowS # |
data GetOrderReturnsResponseBody200 Source #
Defines the object schema located at paths./v1/order_returns.GET.responses.200.content.application/json.schema
in the specification.
GetOrderReturnsResponseBody200 | |
|
mkGetOrderReturnsResponseBody200 Source #
:: [OrderReturn] | |
-> Bool | |
-> Text | |
-> GetOrderReturnsResponseBody200 |
Create a new GetOrderReturnsResponseBody200
with all required fields.