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