OPPThreeDS2Info

@interface OPPThreeDS2Info : NSObject

Class to represent 3-D Secure 2 parameters.

  • Protocol version of 3-D Secure 2.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *protocolVersion;

    Swift

    var protocolVersion: String? { get set }
  • 3-D Secure 2 integration flow.

    Declaration

    Objective-C

    @property (nonatomic, readonly) OPPThreeDS2Flow threeDSFlow;

    Swift

    var threeDSFlow: OPPThreeDS2Flow { get }
  • Class to represent all information needed to communicate securely with Directory Server (DS) and Access Control Server (ACS).

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) OPPThreeDSSchemeConfig *schemeConfig;

    Swift

    var schemeConfig: OPPThreeDSSchemeConfig? { get }
  • Status of 3-D Secure 2 authentication.

    Declaration

    Objective-C

    @property (nonatomic, readonly) OPPThreeDS2Status authStatus;

    Swift

    var authStatus: OPPThreeDS2Status { get }
  • Authentication response as json string required for launching in-app challenge screens.

    Declaration

    Objective-C

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

    Swift

    var authResponse: String? { get }
  • The callback URL string to send the params needed for 3-D Secure 2 authentication request.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *callbackURL;

    Swift

    var callbackURL: String? { get set }
  • The challenge completion callback URL string to inform Mastercard Payment Gateway Services that the challenge has been completed.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *challengeCompletionCallbackUrl;

    Swift

    var challengeCompletionCallbackUrl: String? { get set }
  • Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *cardHolderInfo;

    Swift

    var cardHolderInfo: String? { get set }
  • Creates 3DS info object with the provided status and authentication response.

    Declaration

    Objective-C

    - (nullable instancetype)initWithAuthStatus:(OPPThreeDS2Status)authStatus
                                   authResponse:(nullable NSString *)authResponse;

    Swift

    init?(authStatus: OPPThreeDS2Status, authResponse: String?)

    Parameters

    authStatus

    Status of 3-D Secure authentication.

    authResponse

    Authentication response as JSON string.

    Return Value

    an OPPThreeDS2Info object.

  • Creates 3DS info object with the provided status and authentication response.

    Declaration

    Objective-C

    + (nullable instancetype)
        threeDS2InfoWithAuthStatus:(OPPThreeDS2Status)authStatus
                      authResponse:(nullable NSString *)authResponse;

    Parameters

    authStatus

    Status of 3-D Secure authentication.

    authResponse

    Authentication response as JSON string.

    Return Value

    an OPPThreeDS2Info object.

  • Returns YES if in-app challenge is required, otherwise NO.

    Declaration

    Objective-C

    - (BOOL)isChallengeRequired;

    Swift

    func isChallengeRequired() -> Bool

    Return Value

    YES if in-app challenge is required, otherwise NO.