module OpenActive module Models module Schema class DatedMoneySpecification < ::OpenActive::Models::Schema::StructuredValue # @!attribute type # @return [String] def type "schema:DatedMoneySpecification" end # @return [String] define_property :currency, as: "currency", types: [ "string", ] # @return [Date,DateTime,nil] define_property :start_date, as: "startDate", types: [ "Date", "DateTime", "null", ] # @return [OpenActive::Models::Schema::MonetaryAmount,BigDecimal,URI,nil] define_property :amount, as: "amount", types: [ "OpenActive::Models::Schema::MonetaryAmount", "Number", "URI", "null", ] # @return [Date,DateTime,nil] define_property :end_date, as: "endDate", types: [ "Date", "DateTime", "null", ] end end end end