Sha256: 1a6610a54b2ee6e407d5ba54d8b4ff9474a65d281725fa53354b8456905c4328

Contents?: true

Size: 595 Bytes

Versions: 2

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 :MSRP, "https://schema.org/MSRP"
        new :ListPrice, "https://schema.org/ListPrice"
        new :MinimumAdvertisedPrice, "https://schema.org/MinimumAdvertisedPrice"
        new :InvoicePrice, "https://schema.org/InvoicePrice"
        new :SRP, "https://schema.org/SRP"
        new :SalePrice, "https://schema.org/SalePrice"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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