MppInitializeOemTokenizationResponseData

@interface MppInitializeOemTokenizationResponseData : NSObject

Class describing initialize oem tokenization response.

MppInitializeOemTokenizationResponseData properties

  • 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.

  • Primary account suffix

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *primaryAccountSuffix;

    Return Value

    Primary account suffix.

  • Returns card payment network.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *networkName;

    Return Value

    Card payment network.

  • Returns cardholder name.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *cardholderName;

    Return Value

    Cardholder name.

  • Returns localized description.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *localizedDescription;

    Return Value

    Localized description.

  • Returns primary account identifier.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *primaryAccountIdentifier;

    Return Value

    Primary acount identifier.

  • Returns valid for.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger validFor;

    Return Value

    Valid for.

  • Returns add payment pass request configuration.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) PKAddPaymentPassRequestConfiguration *addPaymentPassRequestConfiguration;

    Return Value

    Add payment pass request configuration.

  • Returns encryption scheme.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) PKEncryptionScheme encryptionScheme;

    Return Value

    Encryption scheme.

  • Returns payment network.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) PKPaymentNetwork paymentNetwork;

    Return Value

    Payment network.

MppInitializeOemTokenizationResponseData methods

  • Create initialize oem tokenization response data.

    Declaration

    Objective-C

    + (nonnull instancetype)
        responseDataWithTokenizationReceipt:(NSString *_Nonnull)tokenizationReceipt
                       primaryAccountSuffix:(NSString *_Nonnull)primaryAccountSuffix
                                networkName:(NSString *_Nonnull)networkName
                             cardholderName:(NSString *_Nullable)cardholderName
                       localizedDescription:
                           (NSString *_Nullable)localizedDescription
                   primaryAccountIdentifier:
                       (NSString *_Nullable)primaryAccountIdentifier
                                   validFor:(NSUInteger)validFor;

    Parameters

    tokenizationReceipt

    Tokenization receipt.

    primaryAccountSuffix

    Primary account suffix.

    networkName

    Network name.

    cardholderName

    Cardholder name.

    localizedDescription

    Localizde description.

    primaryAccountIdentifier

    Primary account identifier.

    validFor

    Valid for..

    Return Value

    MppInitializeOemTokenizationResponseData object instance.

  • Create initialize oem tokenization response data with dictionary.

    Declaration

    Objective-C

    + (nonnull instancetype)responseDataWithDictionary:
        (NSDictionary *_Nonnull)dictionary;

    Parameters

    dictionary

    Dictionary containing records to create instance of MppInitializeOemTokenizationResponseData.

    Return Value

    MppInitializeOemTokenizationResponseData object instance.

  • Verify if initialize oem tokenization response data is valid.

    Declaration

    Objective-C

    - (BOOL)isValid;

    Return Value

    Bool value if initialize oem tokenization response data is valid.