lib/openactive/models/schema/order_item.rb in openactive-0.2.2 vs lib/openactive/models/schema/order_item.rb in openactive-0.3.0
- old
+ new
@@ -6,37 +6,37 @@
# @return [String]
def type
"schema:OrderItem"
end
- # @return [OpenActive::Models::Schema::OrderStatus,URI]
- define_property :order_item_status, as: "orderItemStatus", types: [
- "OpenActive::Models::Schema::OrderStatus",
- "URI",
- ]
-
# @return [OpenActive::Models::Schema::ParcelDelivery,URI]
define_property :order_delivery, as: "orderDelivery", types: [
"OpenActive::Models::Schema::ParcelDelivery",
"URI",
]
- # @return [String]
- define_property :order_item_number, as: "orderItemNumber", types: [
- "string",
+ # @return [OpenActive::Models::Schema::OrderStatus,URI]
+ define_property :order_item_status, as: "orderItemStatus", types: [
+ "OpenActive::Models::Schema::OrderStatus",
+ "URI",
]
# @return [BigDecimal,nil]
define_property :order_quantity, as: "orderQuantity", types: [
"Number",
"null",
]
- # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::OrderItem,OpenActive::Models::Schema::Service,URI]
+ # @return [String]
+ define_property :order_item_number, as: "orderItemNumber", types: [
+ "string",
+ ]
+
+ # @return [OpenActive::Models::Schema::Service,OpenActive::Models::Schema::OrderItem,OpenActive::Models::Schema::Product,URI]
define_property :ordered_item, as: "orderedItem", types: [
- "OpenActive::Models::Schema::Product",
- "OpenActive::Models::Schema::OrderItem",
"OpenActive::Models::Schema::Service",
+ "OpenActive::Models::Schema::OrderItem",
+ "OpenActive::Models::Schema::Product",
"URI",
]
end
end
end