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

- old
+ new

@@ -1,13 +1,19 @@ module OpenActive module Models - # This type is derived from [PriceSpecification](https://schema.org/PriceSpecification), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available. + # This type is derived from https://schema.org/PriceSpecification, which means that any of this type's properties within schema.org may also be used. class PriceSpecification < ::OpenActive::Models::Schema::PriceSpecification # @!attribute type # @return [String] def type "PriceSpecification" end + + # @return [OpenActive::Enums::RequiredStatusType,nil] + define_property :open_booking_prepayment, as: "openBookingPrepayment", types: [ + "OpenActive::Enums::RequiredStatusType", + "null", + ] # @return [BigDecimal,nil] define_property :price, as: "price", types: [ "Number", "null",