class Google::EventTickets

Defined in:

passes/event_tickets.cr

Constant Summary

WALLET_OBJECTS_BASE_URI = URI.parse("https://walletobjects.googleapis.com")

Constructors

Instance Method Summary

Constructor Detail

def self.new(auth : Google::Auth | Google::FileAuth, issuer_id : String, serial_number : String, issuer_name : String, event_name : String, ticket_holder_name : String, qr_code_value : String, location : NamedTuple(lat: Float64, lon: Float64), qr_code_alternate_text : Nil | String = nil, origins : Array(String) = [] of String, event_details : NamedTuple(header: Nil | String, body: Nil | String) | Nil = nil, date_time : NamedTuple(start: String, end: String) | Nil = nil, logo_image : NamedTuple(uri: Nil | String, description: Nil | String) | Nil = nil, event_image : NamedTuple(uri: Nil | String, description: Nil | String) | Nil = nil, venue : NamedTuple(name: Nil | String, address: Nil | String) | Nil = nil, user_agent : String | Nil = nil) #

[View source]

Instance Method Detail


[View source]
def auth=(auth : Google::Auth | Google::FileAuth) #

[View source]
def date_time : NamedTuple(start: String, end: String) | Nil #

[View source]
def date_time=(date_time : NamedTuple(start: String, end: String) | Nil) #

[View source]
def event_details : NamedTuple(header: String | Nil, body: String | Nil) | Nil #

[View source]
def event_details=(event_details : NamedTuple(header: String | Nil, body: String | Nil) | Nil) #

[View source]
def event_image : NamedTuple(uri: String | Nil, description: String | Nil) | Nil #

[View source]
def event_image=(event_image : NamedTuple(uri: String | Nil, description: String | Nil) | Nil) #

[View source]
def event_name : String #

[View source]
def event_name=(event_name : String) #

[View source]
def execute #

[View source]
def issuer_name : String #

[View source]
def issuer_name=(issuer_name : String) #

[View source]
def location : NamedTuple(lat: Float64, lon: Float64) #

[View source]
def location=(location : NamedTuple(lat: Float64, lon: Float64)) #

[View source]
def logo_image : NamedTuple(uri: String | Nil, description: String | Nil) | Nil #

[View source]
def logo_image=(logo_image : NamedTuple(uri: String | Nil, description: String | Nil) | Nil) #

[View source]
def origins : Array(String) #

[View source]
def origins=(origins : Array(String)) #

[View source]
def qr_code_alternate_text : String | Nil #

[View source]
def qr_code_alternate_text=(qr_code_alternate_text : String | Nil) #

[View source]
def qr_code_value : String #

[View source]
def qr_code_value=(qr_code_value : String) #

[View source]
def ticket_class_id : String #

[View source]
def ticket_class_id=(ticket_class_id : String) #

[View source]
def ticket_holder_name : String #

[View source]
def ticket_holder_name=(ticket_holder_name : String) #

[View source]
def ticket_object_id : String #

[View source]
def ticket_object_id=(ticket_object_id : String) #

[View source]
def venue : NamedTuple(name: String | Nil, address: String | Nil) | Nil #

[View source]
def venue=(venue : NamedTuple(name: String | Nil, address: String | Nil) | Nil) #

[View source]