lib/openactive/models/schema/order_item.rb in openactive-0.1.2 vs lib/openactive/models/schema/order_item.rb in openactive-0.2.0
- old
+ new
@@ -6,36 +6,38 @@
# @return [String]
def type
"schema:OrderItem"
end
- # @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 [OpenActive::Models::Schema::ParcelDelivery]
+ # @return [OpenActive::Models::Schema::ParcelDelivery,URI]
define_property :order_delivery, as: "orderDelivery", types: [
"OpenActive::Models::Schema::ParcelDelivery",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::Service,OpenActive::Models::Schema::OrderItem]
- define_property :ordered_item, as: "orderedItem", types: [
- "OpenActive::Models::Schema::Product",
- "OpenActive::Models::Schema::Service",
- "OpenActive::Models::Schema::OrderItem",
+ # @return [String]
+ define_property :order_item_number, as: "orderItemNumber", types: [
+ "string",
]
# @return [BigDecimal,nil]
define_property :order_quantity, as: "orderQuantity", types: [
"Number",
"null",
]
- # @return [OpenActive::Enums::Schema::OrderStatus,nil]
- define_property :order_item_status, as: "orderItemStatus", types: [
- "OpenActive::Enums::Schema::OrderStatus",
- "null",
+ # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::OrderItem,OpenActive::Models::Schema::Service,URI]
+ define_property :ordered_item, as: "orderedItem", types: [
+ "OpenActive::Models::Schema::Product",
+ "OpenActive::Models::Schema::OrderItem",
+ "OpenActive::Models::Schema::Service",
+ "URI",
]
end
end
end
end