lib/openactive/models/order.rb in openactive-0.1.2 vs lib/openactive/models/order.rb in openactive-0.2.0
- old
+ new
@@ -1,22 +1,18 @@
module OpenActive
module Models
- # This type is derived from [Order](https://schema.org/Order), 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/Order, which means that any of this type's properties within schema.org may also be used.
class Order < ::OpenActive::Models::Schema::Order
# @!attribute type
# @return [String]
def type
"Order"
end
- # @return [int,String,OpenActive::Models::PropertyValue,Array<OpenActive::Models::PropertyValue>,nil]
+ # @return [String]
define_property :identifier, as: "identifier", types: [
- "int",
"string",
- "OpenActive::Models::PropertyValue",
- "OpenActive::Models::PropertyValue[]",
- "null",
]
# @return [OpenActive::Models::BookingService]
define_property :booking_service, as: "bookingService", types: [
"OpenActive::Models::BookingService",
@@ -63,13 +59,14 @@
# @return [OpenActive::Models::Payment]
define_property :payment, as: "payment", types: [
"OpenActive::Models::Payment",
]
- # @return [OpenActive::Models::Person,OpenActive::Models::Organization]
+ # @return [OpenActive::Models::Person,OpenActive::Models::Organization,URI]
define_property :seller, as: "seller", types: [
"OpenActive::Models::Person",
"OpenActive::Models::Organization",
+ "URI",
]
# @return [Boolean,nil]
define_property :tax_calculation_excluded, as: "taxCalculationExcluded", types: [
"bool",