Sha256: 3d4623be0cf1e36055e46f7e68bf1bdf4b463fc3687058a45ea89b6afe492b93

Contents?: true

Size: 1019 Bytes

Versions: 3

Compression:

Stored size: 1019 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI]
        define_property :offers, as: "offers", types: [
          "OpenActive::Models::Schema::Offer",
          "OpenActive::Models::Schema::Demand",
          "URI",
        ]

        # @return [BigDecimal,String,nil]
        define_property :high_price, as: "highPrice", types: [
          "Number",
          "string",
          "null",
        ]

        # @return [int,nil]
        define_property :offer_count, as: "offerCount", types: [
          "int",
          "null",
        ]

        # @return [String,BigDecimal,nil]
        define_property :low_price, as: "lowPrice", types: [
          "string",
          "Number",
          "null",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/aggregate_offer.rb
openactive-0.2.1 lib/openactive/models/schema/aggregate_offer.rb
openactive-0.2.0 lib/openactive/models/schema/aggregate_offer.rb