class

Piranha::Models::Passbook

Inherits JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

add_barcode(data) : Passbook
Source
app_launch_url
Source
app_launch_url=(app_launch_url : String | Nil)
Source
association_store_identifiers
Source
association_store_identifiers=(association_store_identifiers : Array(Int32) | Nil)
Source
authentication_token
Source
authentication_token=(authentication_token : String | Nil)
Source
background_color
Source
background_color=(background_color : String | Nil)
Source
barcode
Source
barcode=(barcode : Barcode | Nil)
Source
barcodes
Source
barcodes=(barcodes : Array(Barcode) | Nil)
Source
beacons
Source
beacons=(beacons : Array(Beacon) | Nil)
Source
description
Source
description=(description : String)
Source
event_ticket
Source
event_ticket=(event_ticket : Types::EventTicket)
Source
expiration_date
Source
expiration_date=(expiration_date : Time | Nil)
Source
foreground_color
Source
foreground_color=(foreground_color : String | Nil)
Source
format_version
Source
format_version=(format_version : Int32)
Source
grouping_identifier

TODO - add type validation

Source
grouping_identifier=(grouping_identifier : String | Nil)

TODO - add type validation

Source
label_color
Source
label_color=(label_color : String | Nil)
Source
locations
Source
locations=(locations : Array(Location) | Nil)
Source
logo_text
Source
logo_text=(logo_text : String | Nil)
Source
max_distance
Source
max_distance=(max_distance : Int32 | Nil)
Source
organization_name
Source
organization_name=(organization_name : String)
Source
pass_type_identifier
Source
pass_type_identifier=(pass_type_identifier : String)
Source
relevant_date
Source
relevant_date=(relevant_date : String | Nil)
Source
serial_number
Source
serial_number=(serial_number : String)
Source
suppress_strip_shine
Source
suppress_strip_shine=(suppress_strip_shine : Bool | Nil)
Source
team_identifier
Source
team_identifier=(team_identifier : String)
Source
user_info
Source
user_info=(user_info : String | Nil)
Source
voided
Source
voided=(voided : Bool | Nil)
Source
web_service_url
Source
web_service_url=(web_service_url : String | Nil)
Source