stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.SkuInventory

Description

Contains the types generated from the schema SkuInventory

Synopsis

Documentation

data SkuInventory Source #

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

Constructors

SkuInventory 

Fields

  • skuInventoryQuantity :: Maybe 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 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

mkSkuInventory Source #

Create a new SkuInventory with all required fields.