lib/openactive/models/schema/compound_price_specification.rb in openactive-0.1.2 vs lib/openactive/models/schema/compound_price_specification.rb in openactive-0.2.0

- old
+ new

@@ -6,12 +6,20 @@ # @return [String] def type "schema:CompoundPriceSpecification" end - # @return [OpenActive::Models::Schema::UnitPriceSpecification] + # @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