MppGetTokenizationReceiptResponseData

@interface MppGetTokenizationReceiptResponseData : NSObject

Class describing tokenization receipt response.

MppGetTokenizationReceiptResponseData 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 *receipt;

    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;
  • Returns last four digits of payment card number.

    Declaration

    Objective-C

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

    Return Value

    Last four digits of payment card number.

  • Returns card payment network.

    Declaration

    Objective-C

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

    Return Value

    Card payment network.

MppGetTokenizationReceiptResponseData methods

  • Create tokenization receipt response data with dictionary.

    Declaration

    Objective-C

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

    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;

    Return Value

    Bool value if tokenization receipt response data is valid.