class Google::EventTicketClass
- Google::EventTicketClass
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
passes/models/event_ticket_class.crConstructors
- .new(id : String, issuer_name : String, event_name : String, location : NamedTuple(lat: Float64, lon: Float64), event_details : NamedTuple(header: String | Nil, body: String | Nil) | Nil = nil, date_time : NamedTuple(start: String, end: String) | Nil = nil, logo_image : NamedTuple(uri: String | Nil, description: String | Nil) | Nil = nil, event_image : NamedTuple(uri: String | Nil, description: String | Nil) | Nil = nil, venue : NamedTuple(name: String | Nil, address: String | Nil) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #date_time : DateTime | Nil
- #date_time=(date_time : DateTime | Nil)
- #event_name : EventName
- #event_name=(event_name : EventName)
- #id : String
- #id=(id : String)
- #image_modules_data : Array(MainImage) | Nil
- #image_modules_data=(image_modules_data : Array(MainImage) | Nil)
- #issuer_name : String
- #issuer_name=(issuer_name : String)
- #locations : Array(Location)
- #locations=(locations : Array(Location))
- #logo : ImageModule | Nil
- #logo=(logo : ImageModule | Nil)
- #review_status : String
- #review_status=(review_status : String)
- #text_modules_data : Array(TextModule) | Nil
- #text_modules_data=(text_modules_data : Array(TextModule) | Nil)
- #venue : Venue | Nil
- #venue=(venue : Venue | Nil)
Constructor Detail
def self.new(id : String, issuer_name : String, event_name : String, location : NamedTuple(lat: Float64, lon: Float64), event_details : NamedTuple(header: String | Nil, body: String | Nil) | Nil = nil, date_time : NamedTuple(start: String, end: String) | Nil = nil, logo_image : NamedTuple(uri: String | Nil, description: String | Nil) | Nil = nil, event_image : NamedTuple(uri: String | Nil, description: String | Nil) | Nil = nil, venue : NamedTuple(name: String | Nil, address: String | Nil) | Nil = nil)
#