BTThreeDSecureRequest
Objective-C
@interface BTThreeDSecureRequest
: BTPaymentFlowRequest <BTPaymentFlowRequestDelegate>
Swift
class BTThreeDSecureRequest : BTPaymentFlowRequest, BTPaymentFlowRequestDelegate
Used to initialize a 3D Secure payment flow
-
A nonce to be verified by ThreeDSecure
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nonnull nonce;
Swift
var nonce: String { get set }
-
The amount for the transaction
Declaration
Objective-C
@property (nonatomic, copy) NSDecimalNumber *_Nonnull amount;
Swift
@NSCopying var amount: NSDecimalNumber { get set }
-
Optional. The account type selected by the cardholder
Note
Some cards can be processed using either a credit or debit account and cardholders have the option to choose which account to use.Declaration
Objective-C
@property (nonatomic) BTThreeDSecureAccountType accountType;
Swift
var accountType: BTThreeDSecureAccountType { get set }
-
Optional. The billing address used for verification
See
BTThreeDSecurePostalAddressDeclaration
Objective-C
@property (nonatomic, copy, nullable) BTThreeDSecurePostalAddress *billingAddress;
Swift
@NSCopying var billingAddress: BTThreeDSecurePostalAddress? { get set }
-
Optional. The mobile phone number used for verification
Note
Only numbers. Remove dashes, parentheses and other charactersDeclaration
Objective-C
@property (nonatomic, copy, nullable) NSString *mobilePhoneNumber;
Swift
var mobilePhoneNumber: String? { get set }
-
Optional. The email used for verification
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *email;
Swift
var email: String? { get set }
-
Optional. The shipping method chosen for the transaction
Declaration
Objective-C
@property (nonatomic) BTThreeDSecureShippingMethod shippingMethod;
Swift
var shippingMethod: BTThreeDSecureShippingMethod { get set }
-
Optional. The additional information used for verification
See
BTThreeDSecureAdditionalInformationDeclaration
Objective-C
@property (nonatomic, strong, nullable) BTThreeDSecureAdditionalInformation *additionalInformation;
Swift
var additionalInformation: BTThreeDSecureAdditionalInformation? { get set }
-
Optional. Set to BTThreeDSecureVersion2 if ThreeDSecure V2 flows are desired, when possible. Defaults to BTThreeDSecureVersion2
Declaration
Objective-C
@property (nonatomic) BTThreeDSecureVersion versionRequested;
Swift
var versionRequested: BTThreeDSecureVersion { get set }
-
Optional. If set to true, an authentication challenge will be forced if possible.
Declaration
Objective-C
@property (nonatomic) BOOL challengeRequested;
Swift
var challengeRequested: Bool { get set }
-
Optional. If set to true, an exemption to the authentication challenge will be requested.
Declaration
Objective-C
@property (nonatomic) BOOL exemptionRequested;
Swift
var exemptionRequested: Bool { get set }
-
Optional. The exemption type to be requested. If an exemption is requested and the exemption’s conditions are satisfied, then it will be applied.
Declaration
Objective-C
@property (nonatomic) BTThreeDSecureRequestedExemptionType requestedExemptionType;
Swift
var requestedExemptionType: BTThreeDSecureRequestedExemptionType { get set }
-
Optional. An authentication created using this property should only be used for adding a payment method to the merchant’s vault and not for creating transactions.
Defaults to BTThreeDSecureAddCardChallengeUnspecified.
If set to BTThreeDSecureAddCardChallengeRequested, the authentication challenge will be requested from the issuer to confirm adding new card to the merchant’s vault. If set to BTThreeDSecureAddCardChallengeNotRequested the authentication challenge will not be requested from the issuer. If set to BTThreeDSecureAddCardChallengeUnspecified, when the amount is 0, the authentication challenge will be requested from the issuer. If set to BTThreeDSecureAddCardChallengeUnspecified, when the amount is greater than 0, the authentication challenge will not be requested from the issuer.
Declaration
Objective-C
@property (nonatomic) BTThreeDSecureCardAddChallenge cardAddChallenge;
Swift
var cardAddChallenge: BTThreeDSecureCardAddChallenge { get set }
-
Optional. UI Customization for 3DS2 challenge views.
Declaration
Objective-C
@property (nonatomic, strong, nullable) BTThreeDSecureV2UICustomization *v2UICustomization;
Swift
var v2UICustomization: BTThreeDSecureV2UICustomization? { get set }
-
Optional. UI Customization for 3DS1 challenge views.
Declaration
Objective-C
@property (nonatomic, strong, nullable) BTThreeDSecureV1UICustomization *v1UICustomization;
Swift
var v1UICustomization: BTThreeDSecureV1UICustomization? { get set }
-
A delegate for receiving information about the ThreeDSecure payment flow.
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<BTThreeDSecureRequestDelegate> threeDSecureRequestDelegate;
Swift
weak var threeDSecureRequestDelegate: BTThreeDSecureRequestDelegate? { get set }