Sha256: 912f7defe78581752ed5319cef22ab78d020f2c502d87bed3e180d00924c28aa

Contents?: true

Size: 915 Bytes

Versions: 4

Compression:

Stored size: 915 Bytes

Contents

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

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

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/aggregate_offer.rb
openactive-0.1.1 lib/openactive/models/schema/aggregate_offer.rb
openactive-0.1.0 lib/openactive/models/schema/aggregate_offer.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/aggregate_offer.rb