class Piranha::Models::Passbook

Included Modules

Defined in:

piranha/models/passbook.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def add_barcode(data) : Passbook #

[View source]
def app_launch_url : String | Nil #

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

[View source]
def association_store_identifiers : Array(Int32) | Nil #

[View source]
def association_store_identifiers=(association_store_identifiers : Array(Int32) | Nil) #

[View source]
def authentication_token : String | Nil #

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

[View source]
def background_color : String | Nil #

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

[View source]
def barcode : Barcode | Nil #

[View source]
def barcode=(barcode : Barcode | Nil) #

[View source]
def barcodes : Array(Barcode) | Nil #

[View source]
def barcodes=(barcodes : Array(Barcode) | Nil) #

[View source]
def beacons : Array(Beacon) | Nil #

[View source]
def beacons=(beacons : Array(Beacon) | Nil) #

[View source]
def description : String #

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

[View source]
def event_ticket : Types::EventTicket #

[View source]
def event_ticket=(event_ticket : Types::EventTicket) #

[View source]
def expiration_date : Time | Nil #

[View source]
def expiration_date=(expiration_date : Time | Nil) #

[View source]
def foreground_color : String | Nil #

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

[View source]
def format_version : Int32 #

[View source]
def format_version=(format_version : Int32) #

[View source]
def grouping_identifier : String | Nil #

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

[View source]
def label_color : String | Nil #

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

[View source]
def locations : Array(Location) | Nil #

[View source]
def locations=(locations : Array(Location) | Nil) #

[View source]
def logo_text : String | Nil #

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

[View source]
def max_distance : Int32 | Nil #

[View source]
def max_distance=(max_distance : Int32 | Nil) #

[View source]
def organization_name : String #

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

[View source]
def pass_type_identifier : String #

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

[View source]
def relevant_date : String | Nil #

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

[View source]
def serial_number : String #

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

[View source]
def suppress_strip_shine : Bool | Nil #

[View source]
def suppress_strip_shine=(suppress_strip_shine : Bool | Nil) #

[View source]
def team_identifier : String #

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

[View source]
def user_info : String | Nil #

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

[View source]
def voided : Bool | Nil #

[View source]
def voided=(voided : Bool | Nil) #

[View source]
def web_service_url : String | Nil #

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

[View source]