MppGetTokenizationReceiptResponseData
Objective-C
@interface MppGetTokenizationReceiptResponseData : NSObject
Swift
class MppGetTokenizationReceiptResponseData : NSObject
Class describing tokenization receipt response.
-
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 *receipt;
Swift
var receipt: String { get }
Return Value
Tokenization receipt.
-
Array of push methods supported by the token requestor. Returns up to 3 URIs – with a minimum of 1 URI.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSArray<MppAvailablePushMethod *> *availablePushMethods;
Swift
var availablePushMethods: [MppAvailablePushMethod] { get }
-
Returns last four digits of payment card number.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *lastFourDigits;
Swift
var lastFourDigits: String { get }
Return Value
Last four digits of payment card number.
-
Returns card payment network.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *paymentNetwork;
Swift
var paymentNetwork: String { get }
Return Value
Card payment network.
-
Create tokenization receipt response data with dictionary.
Declaration
Objective-C
+ (nonnull instancetype)responseDataWithDictionary: (NSDictionary *_Nonnull)dictionary;
Swift
convenience init(dictionary: [AnyHashable : Any])
Parameters
dictionary
Dictionary containing records to create instance of MppGetTokenizationReceiptResponseData.
Return Value
MppGetTokenizationReceiptResponseData object instance.
-
Verify if tokenization receipt response data is valid.
Declaration
Objective-C
- (BOOL)isValid;
Swift
func isValid() -> Bool
Return Value
Bool value if tokenization receipt response data is valid.