HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.Order

Contains the types generated from the schema Order

  • 12 types
  • 7 values
datadata Order
#

Defines the object schema located at components.schemas.order in the specification.

An Order describes a purchase being made by a customer, including the products & quantities being purchased, the order status, the payment information, and the billing/shipping details.

Related guide: Orders overview

Constructors

Instances4Eq, Show, FromJSON, ToJSON
  • Eq OrderDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Order
  • Show OrderDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Order
  • FromJSON OrderDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Order
  • ToJSON OrderDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Order

Defines the oneOf schema located at components.schemas.order.properties.application.anyOf in the specification.

ID of the Connect application that created the Order, if any.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.order.properties.billing_details.anyOf in the specification.

Customer billing details associated with the order.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.order.properties.billing_details.anyOf.properties.address.anyOf in the specification.

Billing address for the order.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.order.properties.customer.anyOf in the specification.

The customer which this orders belongs to.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.order.properties.discounts.items.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON
datadata OrderLineItems'
#

Defines the object schema located at components.schemas.order.properties.line_items in the specification.

A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost. There is a maximum of 100 line items.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.order.properties.shipping_cost.anyOf in the specification.

The details of the customer cost of shipping, including the customer chosen ShippingRate.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.order.properties.shipping_cost.anyOf.properties.shipping_rate.anyOf in the specification.

The ID of the ShippingRate for this order.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.order.properties.shipping_details.anyOf in the specification.

Customer shipping information associated with the order.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.order.properties.shipping_details.anyOf.properties.address.anyOf in the specification.

Recipient shipping address. Required if the order includes products that are shippable.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
datadata OrderStatus'
#

Defines the enum schema located at components.schemas.order.properties.status in the specification.

The overall status of the order.

Constructors

Instances4Eq, Show, FromJSON, ToJSON