lib/openactive/models/schema/dated_money_specification.rb in openactive-0.1.2 vs lib/openactive/models/schema/dated_money_specification.rb in openactive-0.2.0
- old
+ new
@@ -6,33 +6,34 @@
# @return [String]
def type
"schema:DatedMoneySpecification"
end
- # @return [DateTime,Date,nil]
- define_property :start_date, as: "startDate", types: [
- "DateTime",
- "Date",
- "null",
- ]
-
- # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,nil]
+ # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil]
define_property :amount, as: "amount", types: [
"Number",
"OpenActive::Models::Schema::MonetaryAmount",
+ "URI",
"null",
]
- # @return [String]
- define_property :currency, as: "currency", types: [
- "string",
+ # @return [DateTime,Date,nil]
+ define_property :start_date, as: "startDate", types: [
+ "DateTime",
+ "Date",
+ "null",
]
# @return [Date,DateTime,nil]
define_property :end_date, as: "endDate", types: [
"Date",
"DateTime",
"null",
+ ]
+
+ # @return [String]
+ define_property :currency, as: "currency", types: [
+ "string",
]
end
end
end
end