MppPushResponseData

Objective-C

@interface MppPushResponseData : NSObject

Swift

class MppPushResponseData : NSObject

Push response used for Click To Pay push provisioning.

MppPushResponseData properties

  • Request trace id.

    Declaration

    Objective-C

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

    Swift

    var requestTraceId: String { get }
  • External consumer id.

    Declaration

    Objective-C

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

    Swift

    var externalConsumerId: String { get }
  • External card id.

    Declaration

    Objective-C

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

    Swift

    var externalCardId: String? { get }

MppPushResponseData methods

  • Creates push response with dictionary.

    Declaration

    Objective-C

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

    Swift

    convenience init?(dictionary: [AnyHashable : Any])
  • Verify if push response data is valid.

    Declaration

    Objective-C

    - (BOOL)isValid;

    Swift

    func isValid() -> Bool

    Return Value

    true value if push response data is valid.