lib/openactive/models/schema/trade_action.rb in openactive-0.1.2 vs lib/openactive/models/schema/trade_action.rb in openactive-0.2.0
- old
+ new
@@ -6,24 +6,25 @@
# @return [String]
def type
"schema:TradeAction"
end
- # @return [String,BigDecimal,nil]
+ # @return [BigDecimal,String,nil]
define_property :price, as: "price", types: [
- "string",
"Number",
+ "string",
"null",
]
# @return [String]
define_property :price_currency, as: "priceCurrency", types: [
"string",
]
- # @return [OpenActive::Models::Schema::PriceSpecification]
+ # @return [OpenActive::Models::Schema::PriceSpecification,URI]
define_property :price_specification, as: "priceSpecification", types: [
"OpenActive::Models::Schema::PriceSpecification",
+ "URI",
]
end
end
end
end