stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Inventory

Description

Contains the types generated from the schema Inventory

Synopsis

Documentation

data Inventory Source #

Defines the data type for the schema inventory

Constructors

Inventory 

Fields

  • inventoryQuantity :: Maybe Integer

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

  • inventoryType :: Text

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

    Constraints:

    • Maximum length of 5000
  • inventoryValue :: Maybe 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