The ACRTrack1Data
class is used to decode the track 1 data into fields specified by ISO/IEC 7813.
More...
#import <ACRTrack1Data.h>
The ACRTrack1Data
class is used to decode the track 1 data into fields specified by ISO/IEC 7813.
- Author
- Godfrey Chung
- Version
- 1.0, 18 Apr 2013
- (id) initWithBytes: |
|
(const void *) |
bytes |
length: |
|
(NSUInteger) |
length |
|
|
| |
Returns an initialized ACRTrack1Data
object from a given buffer of bytes.
- Parameters
-
bytes | a buffer of bytes. |
length | the number of bytes. |
- Returns
- an initialized
ACRTrack1Data
object.
- (id) initWithString: |
|
(NSString *) |
track1String |
|
Returns an initialized ACRTrack1Data
object from a given string.
- Parameters
-
track1String | the track 1 string. |
- Returns
- an initialized
ACRTrack1Data
object.
- (NSString*) discretionaryData |
|
readnonatomicassign |
Returns the discretionary data.
- (NSString*) expirationDate |
|
readnonatomicassign |
Returns the expiratiion date.
- (NSString*) primaryAccountNumber |
|
readnonatomicassign |
Returns the primary account number.
- (NSString*) serviceCode |
|
readnonatomicassign |
Returns the service code.
- (NSString*) track1String |
|
readnonatomicassign |
Returns the track 1 string.
The documentation for this class was generated from the following file: