lib/openactive/models/schema/order_item.rb in openactive-0.3.0 vs lib/openactive/models/schema/order_item.rb in openactive-0.4.0

- old
+ new

@@ -6,37 +6,37 @@ # @return [String] def type "schema:OrderItem" end - # @return [OpenActive::Models::Schema::ParcelDelivery,URI] - define_property :order_delivery, as: "orderDelivery", types: [ - "OpenActive::Models::Schema::ParcelDelivery", + # @return [OpenActive::Models::Schema::Service,OpenActive::Models::Schema::Product,OpenActive::Models::Schema::OrderItem,URI] + define_property :ordered_item, as: "orderedItem", types: [ + "OpenActive::Models::Schema::Service", + "OpenActive::Models::Schema::Product", + "OpenActive::Models::Schema::OrderItem", "URI", ] - # @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::OrderStatus,URI] + define_property :order_item_status, as: "orderItemStatus", types: [ + "OpenActive::Models::Schema::OrderStatus", + "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::Service", - "OpenActive::Models::Schema::OrderItem", - "OpenActive::Models::Schema::Product", + # @return [OpenActive::Models::Schema::ParcelDelivery,URI] + define_property :order_delivery, as: "orderDelivery", types: [ + "OpenActive::Models::Schema::ParcelDelivery", "URI", ] end end end