Sha256: 064b8c18bd321aeec769c9a27b1b4c63b33029eee4694cce6d52d1a4c9713038

Contents?: true

Size: 791 Bytes

Versions: 5

Compression:

Stored size: 791 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class CompoundPriceSpecification < ::OpenActive::Models::Schema::PriceSpecification
        # @!attribute type
        # @return [String]
        def type
          "schema:CompoundPriceSpecification"
        end

        # @return [OpenActive::Enums::Schema::PriceTypeEnumeration,String,nil]
        define_property :price_type, as: "priceType", types: [
          "OpenActive::Enums::Schema::PriceTypeEnumeration",
          "string",
          "null",
        ]

        # @return [OpenActive::Models::Schema::UnitPriceSpecification,URI]
        define_property :price_component, as: "priceComponent", types: [
          "OpenActive::Models::Schema::UnitPriceSpecification",
          "URI",
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/compound_price_specification.rb
openactive-0.4.0 lib/openactive/models/schema/compound_price_specification.rb
openactive-0.2.2 lib/openactive/models/schema/compound_price_specification.rb
openactive-0.2.1 lib/openactive/models/schema/compound_price_specification.rb
openactive-0.2.0 lib/openactive/models/schema/compound_price_specification.rb