ACS Audio Jack iOS Library  1.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties
ACRTrack1Data.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 ACRTrack1Data : NSObject
19 
23 @property (nonatomic, readonly) NSString *jis2Data;
24 
28 @property (nonatomic, readonly) NSString *track1String;
29 
33 @property (nonatomic, readonly) NSString *primaryAccountNumber;
34 
38 @property (nonatomic, readonly) NSString *name;
39 
43 @property (nonatomic, readonly) NSString *expirationDate;
44 
48 @property (nonatomic, readonly) NSString *serviceCode;
49 
53 @property (nonatomic, readonly) NSString *discretionaryData;
54 
62 - (id)initWithBytes:(const void *)bytes length:(NSUInteger)length;
63 
69 - (id)initWithString:(NSString *)track1String;
70 
71 @end
NSString * expirationDate
Returns the expiratiion date.
Definition: ACRTrack1Data.h:43
NSString * primaryAccountNumber
Returns the primary account number.
Definition: ACRTrack1Data.h:33
NSString * jis2Data
Returns the JIS2 data.
Definition: ACRTrack1Data.h:23
The ACRTrack1Data class is used to decode the track 1 data into fields specified by ISO/IEC 7813...
Definition: ACRTrack1Data.h:18
NSString * serviceCode
Returns the service code.
Definition: ACRTrack1Data.h:48
NSString * discretionaryData
Returns the discretionary data.
Definition: ACRTrack1Data.h:53
NSString * track1String
Returns the track 1 string.
Definition: ACRTrack1Data.h:28
NSString * name
Returns the name.
Definition: ACRTrack1Data.h:38