Sha256: 054155564c1b08941e8f43ec672baf31d81a707ff259ed2be10ebc556e0f1d0b

Contents?: true

Size: 595 Bytes

Versions: 3

Compression:

Stored size: 595 Bytes

Contents

require 'typesafe_enum'

module OpenActive
  module Enums
    module Schema
      # Enumerates different price types, for example list price, invoice price, and sale price.
      class PriceTypeEnumeration < TypesafeEnum::Base
        new :SalePrice, "https://schema.org/SalePrice"
        new :InvoicePrice, "https://schema.org/InvoicePrice"
        new :MinimumAdvertisedPrice, "https://schema.org/MinimumAdvertisedPrice"
        new :ListPrice, "https://schema.org/ListPrice"
        new :SRP, "https://schema.org/SRP"
        new :MSRP, "https://schema.org/MSRP"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/enums/schema/price_type_enumeration.rb
openactive-0.2.1 lib/openactive/enums/schema/price_type_enumeration.rb
openactive-0.2.0 lib/openactive/enums/schema/price_type_enumeration.rb