Sha256: d3da68f8f4bad595a41fea015a2156ade167f06c5dc98869c001e9fd0a957768

Contents?: true

Size: 781 Bytes

Versions: 2

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 :PreOrder, "https://schema.org/PreOrder"
        new :PreSale, "https://schema.org/PreSale"
        new :BackOrder, "https://schema.org/BackOrder"
        new :OnlineOnly, "https://schema.org/OnlineOnly"
        new :SoldOut, "https://schema.org/SoldOut"
        new :Discontinued, "https://schema.org/Discontinued"
        new :LimitedAvailability, "https://schema.org/LimitedAvailability"
        new :InStock, "https://schema.org/InStock"
        new :OutOfStock, "https://schema.org/OutOfStock"
        new :InStoreOnly, "https://schema.org/InStoreOnly"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/enums/schema/item_availability.rb
openactive-0.4.0 lib/openactive/enums/schema/item_availability.rb