ACS Audio Jack iOS Library  1.0.0
ACRTrack2Data.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Advanced Card Systems Ltd. All Rights Reserved.
3  *
4  * This software is the confidential and proprietary information of Advanced
5  * Card Systems Ltd. ("Confidential Information"). You shall not disclose such
6  * Confidential Information and shall use it only in accordance with the terms
7  * of the license agreement you entered into with ACS.
8  */
9 
10 #import <Foundation/Foundation.h>
11 
18 @interface ACRTrack2Data : NSObject
19 
23 @property (nonatomic, readonly) NSString *track2String;
24 
28 @property (nonatomic, readonly) NSString *primaryAccountNumber;
29 
33 @property (nonatomic, readonly) NSString *expirationDate;
34 
38 @property (nonatomic, readonly) NSString *serviceCode;
39 
43 @property (nonatomic, readonly) NSString *discretionaryData;
44 
52 - (id)initWithBytes:(const void *)bytes length:(NSUInteger)length;
53 
59 - (id)initWithString:(NSString *)track2String;
60 
61 @end
The ACRTrack2Data class is used to decode the track 2 data into fields specified by ISO/IEC 7813...
Definition: ACRTrack2Data.h:18
NSString * serviceCode
Returns the service code.
Definition: ACRTrack2Data.h:38
NSString * expirationDate
Returns the expiratiion date.
Definition: ACRTrack2Data.h:33
NSString * track2String
Returns the track 2 string.
Definition: ACRTrack2Data.h:23
NSString * discretionaryData
Returns the discretionary data.
Definition: ACRTrack2Data.h:43
NSString * primaryAccountNumber
Returns the primary account number.
Definition: ACRTrack2Data.h:28