lib/openactive/models/schema/ticket.rb in openactive-0.2.2 vs lib/openactive/models/schema/ticket.rb in openactive-0.3.0
- old
+ new
@@ -6,58 +6,58 @@
# @return [String]
def type
"schema:Ticket"
end
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :under_name, as: "underName", types: [
- "OpenActive::Models::Schema::Person",
- "OpenActive::Models::Schema::Organization",
+ # @return [URI,String]
+ define_property :ticket_token, as: "ticketToken", types: [
"URI",
- ]
-
- # @return [String]
- define_property :price_currency, as: "priceCurrency", types: [
"string",
]
- # @return [String]
- define_property :ticket_number, as: "ticketNumber", types: [
- "string",
+ # @return [OpenActive::Models::Schema::Seat,URI]
+ define_property :ticketed_seat, as: "ticketedSeat", types: [
+ "OpenActive::Models::Schema::Seat",
+ "URI",
]
- # @return [BigDecimal,String,OpenActive::Models::Schema::PriceSpecification,URI,nil]
+ # @return [OpenActive::Models::Schema::PriceSpecification,BigDecimal,String,URI,nil]
define_property :total_price, as: "totalPrice", types: [
+ "OpenActive::Models::Schema::PriceSpecification",
"Number",
"string",
- "OpenActive::Models::Schema::PriceSpecification",
"URI",
"null",
]
# @return [OpenActive::Models::Schema::Organization,URI]
define_property :issued_by, as: "issuedBy", types: [
"OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [String,URI]
- define_property :ticket_token, as: "ticketToken", types: [
+ # @return [String]
+ define_property :ticket_number, as: "ticketNumber", types: [
"string",
- "URI",
]
- # @return [OpenActive::Models::Schema::Seat,URI]
- define_property :ticketed_seat, as: "ticketedSeat", types: [
- "OpenActive::Models::Schema::Seat",
- "URI",
- ]
-
# @return [Date,DateTime,nil]
define_property :date_issued, as: "dateIssued", types: [
"Date",
"DateTime",
"null",
+ ]
+
+ # @return [String]
+ define_property :price_currency, as: "priceCurrency", types: [
+ "string",
+ ]
+
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :under_name, as: "underName", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
+ "URI",
]
end
end
end
end