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.SkuInventory

Contains the types generated from the schema SkuInventory

  • 1 type
  • 1 value
datadata SkuInventory
#

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

Constructors

  • SkuInventory
    • skuInventoryQuantity :: Maybe (Nullable Int)

      quantity: The count of inventory available. Will be present if and only if `type` is `finite`.

    • skuInventoryType :: Text

      type: Inventory type. Possible values are `finite`, `bucket` (not quantified), and `infinite`.

      Constraints:

      • Maximum length of 5000

    • skuInventoryValue :: Maybe (Nullable Text)

      value: An indicator of the inventory available. Possible values are `in_stock`, `limited`, and `out_of_stock`. Will be present if and only if `type` is `bucket`.

      Constraints:

      • Maximum length of 5000

Instances4Eq, Show, FromJSON, ToJSON