lib/openactive/models/schema/exchange_rate_specification.rb in openactive-0.1.2 vs lib/openactive/models/schema/exchange_rate_specification.rb in openactive-0.2.0
- old
+ new
@@ -6,19 +6,26 @@
# @return [String]
def type
"schema:ExchangeRateSpecification"
end
- # @return [OpenActive::Models::Schema::UnitPriceSpecification]
+ # @return [OpenActive::Models::Schema::UnitPriceSpecification,URI]
define_property :current_exchange_rate, as: "currentExchangeRate", types: [
"OpenActive::Models::Schema::UnitPriceSpecification",
+ "URI",
]
- # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,nil]
+ # @return [OpenActive::Models::Schema::MonetaryAmount,BigDecimal,URI,nil]
define_property :exchange_rate_spread, as: "exchangeRateSpread", types: [
- "Number",
"OpenActive::Models::Schema::MonetaryAmount",
+ "Number",
+ "URI",
"null",
+ ]
+
+ # @return [String]
+ define_property :currency, as: "currency", types: [
+ "string",
]
end
end
end
end