stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetOrders

Description

Contains the different functions to run the operation getOrders

Synopsis

Documentation

getOrders Source #

Arguments

:: forall m. MonadHTTP m 
=> GetOrdersParameters

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

-> ClientT m (Response GetOrdersResponse)

Monadic computation which returns the result of the operation

GET /v1/orders

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

data GetOrdersParameters Source #

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

Constructors

GetOrdersParameters 

Fields

mkGetOrdersParameters :: GetOrdersParameters Source #

Create a new GetOrdersParameters with all required fields.

data GetOrdersParametersQueryCreated'OneOf1 Source #

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

data GetOrdersParametersQueryCreated'Variants Source #

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

Represents the parameter named 'created'

Date this order was created.

data GetOrdersParametersQueryStatusTransitions' Source #

Defines the object schema located at paths./v1/orders.GET.parameters.properties.queryStatus_transitions in the specification.

Represents the parameter named 'status_transitions'

Filter orders based on when they were paid, fulfilled, canceled, or returned.

data GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 Source #

Defines the object schema located at paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.canceled.anyOf in the specification.

Instances

Instances details
Eq GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

Show GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

ToJSON GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

FromJSON GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

data GetOrdersParametersQueryStatusTransitions'Canceled'Variants Source #

Defines the oneOf schema located at paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.canceled.anyOf in the specification.

Instances

Instances details
Eq GetOrdersParametersQueryStatusTransitions'Canceled'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

Show GetOrdersParametersQueryStatusTransitions'Canceled'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

ToJSON GetOrdersParametersQueryStatusTransitions'Canceled'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

FromJSON GetOrdersParametersQueryStatusTransitions'Canceled'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

data GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 Source #

Defines the object schema located at paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.fulfilled.anyOf in the specification.

Instances

Instances details
Eq GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

Show GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

ToJSON GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

FromJSON GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

data GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants Source #

Defines the oneOf schema located at paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.fulfilled.anyOf in the specification.

Instances

Instances details
Eq GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

Show GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

ToJSON GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

FromJSON GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

data GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 Source #

Defines the object schema located at paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.paid.anyOf in the specification.

Instances

Instances details
Eq GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

Show GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

ToJSON GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

FromJSON GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

data GetOrdersParametersQueryStatusTransitions'Paid'Variants Source #

Defines the oneOf schema located at paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.paid.anyOf in the specification.

Instances

Instances details
Eq GetOrdersParametersQueryStatusTransitions'Paid'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

Show GetOrdersParametersQueryStatusTransitions'Paid'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

ToJSON GetOrdersParametersQueryStatusTransitions'Paid'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

FromJSON GetOrdersParametersQueryStatusTransitions'Paid'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

data GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 Source #

Defines the object schema located at paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.returned.anyOf in the specification.

Instances

Instances details
Eq GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

Show GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

ToJSON GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

FromJSON GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

data GetOrdersParametersQueryStatusTransitions'Returned'Variants Source #

Defines the oneOf schema located at paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.returned.anyOf in the specification.

Instances

Instances details
Eq GetOrdersParametersQueryStatusTransitions'Returned'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

Show GetOrdersParametersQueryStatusTransitions'Returned'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

ToJSON GetOrdersParametersQueryStatusTransitions'Returned'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

FromJSON GetOrdersParametersQueryStatusTransitions'Returned'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetOrders

data GetOrdersResponse Source #

Represents a response of the operation getOrders.

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

Constructors

GetOrdersResponseError String

Means either no matching case available or a parse error

GetOrdersResponse200 GetOrdersResponseBody200

Successful response.

GetOrdersResponseDefault Error

Error response.

data GetOrdersResponseBody200 Source #

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

Constructors

GetOrdersResponseBody200 

Fields