Piranha::Models::Passbook
Inherits JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
add_barcode(data) : Passbook
Sourceapp_launch_url
Sourceapp_launch_url=(app_launch_url : String | Nil)
Sourceassociation_store_identifiers
Sourceassociation_store_identifiers=(association_store_identifiers : Array(Int32) | Nil)
Sourceauthentication_token
Sourceauthentication_token=(authentication_token : String | Nil)
Sourcebackground_color
Sourcebackground_color=(background_color : String | Nil)
Sourcebarcode
Sourcebarcode=(barcode : Barcode | Nil)
Sourcebarcodes
Sourcebarcodes=(barcodes : Array(Barcode) | Nil)
Sourcebeacons
Sourcebeacons=(beacons : Array(Beacon) | Nil)
Sourcedescription
Sourcedescription=(description : String)
Sourceevent_ticket
Sourceevent_ticket=(event_ticket : Types::EventTicket)
Sourceexpiration_date
Sourceexpiration_date=(expiration_date : Time | Nil)
Sourceforeground_color
Sourceforeground_color=(foreground_color : String | Nil)
Sourceformat_version
Sourceformat_version=(format_version : Int32)
Sourcelabel_color
Sourcelabel_color=(label_color : String | Nil)
Sourcelocations
Sourcelocations=(locations : Array(Location) | Nil)
Sourcelogo_text
Sourcelogo_text=(logo_text : String | Nil)
Sourcemax_distance
Sourcemax_distance=(max_distance : Int32 | Nil)
Sourceorganization_name
Sourceorganization_name=(organization_name : String)
Sourcepass_type_identifier
Sourcepass_type_identifier=(pass_type_identifier : String)
Sourcerelevant_date
Sourcerelevant_date=(relevant_date : String | Nil)
Sourceserial_number
Sourceserial_number=(serial_number : String)
Sourcesuppress_strip_shine
Sourcesuppress_strip_shine=(suppress_strip_shine : Bool | Nil)
Sourceteam_identifier
Sourceteam_identifier=(team_identifier : String)
Sourceuser_info
Sourceuser_info=(user_info : String | Nil)
Sourcevoided
Sourcevoided=(voided : Bool | Nil)
Sourceweb_service_url
Sourceweb_service_url=(web_service_url : String | Nil)
Source