ACS Audio Jack iOS Library  1.0.0
ACRTrack2Data Class Reference

The ACRTrack2Data class is used to decode the track 2 data into fields specified by ISO/IEC 7813. More...

#import <ACRTrack2Data.h>

Inheritance diagram for ACRTrack2Data:

Instance Methods

(id) - initWithBytes:length:
 Returns an initialized ACRTrack2Data object from a given buffer of bytes. More...
 
(id) - initWithString:
 Returns an initialized ACRTrack2Data object from a given string. More...
 

Properties

NSString * track2String
 Returns the track 2 string. More...
 
NSString * primaryAccountNumber
 Returns the primary account number. More...
 
NSString * expirationDate
 Returns the expiratiion date. More...
 
NSString * serviceCode
 Returns the service code. More...
 
NSString * discretionaryData
 Returns the discretionary data. More...
 

Detailed Description

The ACRTrack2Data class is used to decode the track 2 data into fields specified by ISO/IEC 7813.

Author
Godfrey Chung
Version
1.0, 18 Apr 2013

Method Documentation

◆ initWithBytes:length:()

- (id) initWithBytes: (const void *)  bytes
length: (NSUInteger)  length 

Returns an initialized ACRTrack2Data object from a given buffer of bytes.

Parameters
bytesa buffer of bytes.
lengththe number of bytes.
Returns
an initialized ACRTrack2Data object.

◆ initWithString:()

- (id) initWithString: (NSString *)  track2String

Returns an initialized ACRTrack2Data object from a given string.

Parameters
track2Stringthe track 2 string.
Returns
an initialized ACRTrack2Data object.

Property Documentation

◆ discretionaryData

- (NSString*) discretionaryData
readnonatomicassign

Returns the discretionary data.

◆ expirationDate

- (NSString*) expirationDate
readnonatomicassign

Returns the expiratiion date.

◆ primaryAccountNumber

- (NSString*) primaryAccountNumber
readnonatomicassign

Returns the primary account number.

◆ serviceCode

- (NSString*) serviceCode
readnonatomicassign

Returns the service code.

◆ track2String

- (NSString*) track2String
readnonatomicassign

Returns the track 2 string.


The documentation for this class was generated from the following file: