MppCompleteOemTokenizationData
@interface MppCompleteOemTokenizationData : NSObject
Class describing complete oem tokenization data.
-
Receipt value to be passed to the token requestor. In case of Mastercard the pushAccountReceipt expires after 30 minutes.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *tokenizationReceipt;
Return Value
Tokenization receipt.
-
Certificates.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSArray<NSData *> *certificates;
Return Value
Certificates.
-
Number used once.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSData *nonce;
Return Value
A
nonce
. -
Signature of number used once.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSData *nonceSignature;
Return Value
A Signature of
nonce
.
-
Create tokenization data with tokenization receipt.
Declaration
Objective-C
+ (nonnull instancetype) tokenizationDataWithTokenizationReceipt: (NSString *_Nonnull)tokenizationReceipt certificates: (NSArray<NSData *> *_Nonnull)certificates nonce:(NSData *_Nonnull)nonce nonceSignature:(NSData *_Nonnull)nonceSignature;
Parameters
tokenizationReceipt
Receipt value to be passed to the token requestor.
certificates
Certificates added to complete oem tokenization request.
nonce
Number used once.
nonceSignature
Signature of the
nonce
.Return Value
MppCompleteOemTokenizationData object instance.
-
Verify if tokenization data is valid.
Declaration
Objective-C
- (BOOL)isValid;
Return Value
Bool value if tokenization data is valid.