Sha256: d4a25a092344a7fd6c557e0818089351dc598314f6da08e05f1e4f500764ed56

Contents?: true

Size: 781 Bytes

Versions: 1

Compression:

Stored size: 781 Bytes

Contents

require 'typesafe_enum'

module OpenActive
  module Enums
    module Schema
      # A list of possible product availability options.
      class ItemAvailability < TypesafeEnum::Base
        new :OutOfStock, "https://schema.org/OutOfStock"
        new :Discontinued, "https://schema.org/Discontinued"
        new :OnlineOnly, "https://schema.org/OnlineOnly"
        new :InStock, "https://schema.org/InStock"
        new :InStoreOnly, "https://schema.org/InStoreOnly"
        new :SoldOut, "https://schema.org/SoldOut"
        new :PreSale, "https://schema.org/PreSale"
        new :BackOrder, "https://schema.org/BackOrder"
        new :PreOrder, "https://schema.org/PreOrder"
        new :LimitedAvailability, "https://schema.org/LimitedAvailability"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/enums/schema/item_availability.rb