ZKCardDetails
Objective-C
@interface ZKCardDetails : NSObject
Swift
class ZKCardDetails : NSObject
Record containing sensitive card details.
-
Declaration
Objective-C
- (nonnull instancetype)initWithPan:(nonnull NSString *)pan cvv2:(nonnull NSString *)cvv2;
Swift
init(pan: String, cvv2: String)
-
Declaration
Objective-C
+ (nonnull instancetype)cardDetailsWithPan:(nonnull NSString *)pan cvv2:(nonnull NSString *)cvv2;
-
Card PAN, e.g 4564 6545 7997 5454.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString *pan;
Swift
var pan: String { get }
-
Card CVV2, e.g. 078.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString *cvv2;
Swift
var cvv2: String { get }