HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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