PassKit::Pass
Inherits JSON::Serializable < Reference < Object
Constants
APPLE_PASS_FORMAT_VERSION = 1
Constructors
new(pass_type_identifier : String, organization_name : String, serial_number : String, team_identifier : String, description : String, app_launch_url : Nil | String = nil, association_store_identifiers : Nil | Array(Int32) = [] of Int32, user_info : Nil | String = nil, expiration_date : Time | Nil = nil, voided : Bool | Nil = nil, max_distance : Int32 | Nil = nil, relevant_date : Nil | String = nil, barcode : PassKit::Barcode | Nil = nil, background_color : Nil | String = nil, foreground_color : Nil | String = nil, grouping_identifier : Nil | String = nil, label_color : Nil | String = nil, logo_text : Nil | String = nil, suppress_strip_shine : Bool | Nil = nil, authentication_token : Nil | String = nil, web_service_url : Nil | String = nil, type : PassType = PassType::Generic, style : Style | Nil = nil, auxiliary_fields : Array(FieldTuple | Field) | Nil = nil, back_fields : Array(FieldTuple | Field) | Nil = nil, header_fields : Array(FieldTuple | Field) | Nil = nil, primary_fields : Array(FieldTuple | Field) | Nil = nil, secondary_fields : Array(FieldTuple | Field) | Nil = nil, transit_type : String | Nil = nil, locations : Array(LocationTuple | Location) | Nil = nil, barcodes : Array(BarcodeTuple | Barcode) | Nil = nil, beacons : Array(BeaconTuple | Beacon) | Nil = nil, nfc : NFC | NFCTuple | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
app_launch_url
Sourceassociation_store_identifiers
Sourceauthentication_token
Sourcebackground_color
Sourcebarcode
Sourcebarcodes
Sourcebeacons
Sourceboarding_pass
Sourceboarding_pass=(boarding_pass : Style | Nil)
Sourcecoupon
Sourcecoupon=(coupon : Style | Nil)
Sourcedescription
Sourceevent_ticket
Sourceevent_ticket=(event_ticket : Style | Nil)
Sourceforeground_color
Sourceformat_version
Sourcegeneric
Sourcegeneric=(generic : Style | Nil)
Sourcelabel_color
Sourcelocations
Sourcelogo_text
Sourcemax_distance
Sourcenfc
Sourcenfc=(nfc : NFC | Nil)
Sourceorganization_name
Sourcepass_type_identifier
Sourcerelevant_date
Sourceserial_number
Sourcestore_card
Sourcestore_card=(store_card : Style | Nil)
Sourcesuppress_strip_shine
Sourceteam_identifier
Sourceuser_info
Sourcevoided
Sourceweb_service_url
Source