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

- old
+ new

@@ -6,60 +6,62 @@ # @return [String] def type "schema:PriceSpecification" end - # @return [Boolean,nil] - define_property :value_added_tax_included, as: "valueAddedTaxIncluded", types: [ - "bool", + # @return [DateTime,Date,nil] + define_property :valid_from, as: "validFrom", types: [ + "DateTime", + "Date", "null", ] - # @return [String,BigDecimal,nil] + # @return [BigDecimal,String,nil] define_property :price, as: "price", types: [ - "string", "Number", + "string", "null", ] - # @return [Date,DateTime,nil] - define_property :valid_through, as: "validThrough", types: [ - "Date", - "DateTime", + # @return [BigDecimal,nil] + define_property :min_price, as: "minPrice", types: [ + "Number", "null", ] - # @return [DateTime,Date,nil] - define_property :valid_from, as: "validFrom", types: [ - "DateTime", - "Date", + # @return [BigDecimal,nil] + define_property :max_price, as: "maxPrice", types: [ + "Number", "null", ] - # @return [OpenActive::Models::Schema::QuantitativeValue] - define_property :eligible_quantity, as: "eligibleQuantity", types: [ - "OpenActive::Models::Schema::QuantitativeValue", - ] - # @return [String] define_property :price_currency, as: "priceCurrency", types: [ "string", ] - # @return [BigDecimal,nil] - define_property :max_price, as: "maxPrice", types: [ - "Number", - "null", - ] - - # @return [OpenActive::Models::Schema::PriceSpecification] + # @return [OpenActive::Models::Schema::PriceSpecification,URI] define_property :eligible_transaction_volume, as: "eligibleTransactionVolume", types: [ "OpenActive::Models::Schema::PriceSpecification", + "URI", ] - # @return [BigDecimal,nil] - define_property :min_price, as: "minPrice", types: [ - "Number", + # @return [OpenActive::Models::Schema::QuantitativeValue,URI] + define_property :eligible_quantity, as: "eligibleQuantity", types: [ + "OpenActive::Models::Schema::QuantitativeValue", + "URI", + ] + + # @return [Boolean,nil] + define_property :value_added_tax_included, as: "valueAddedTaxIncluded", types: [ + "bool", + "null", + ] + + # @return [DateTime,Date,nil] + define_property :valid_through, as: "validThrough", types: [ + "DateTime", + "Date", "null", ] end end end