Class Threeds.ThreedsBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessionssubmit.requests.Threeds.ThreedsBuilder
-
- Enclosing class:
- Threeds
public static class Threeds.ThreedsBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Threeds.ThreedsBuilderallowUpgrade(java.lang.Boolean allowUpgrade)Default: true Specifies whether to process the payment as 3D Secure, if authorization was soft declined due to 3DS authentication being required.Threeds.ThreedsBuilderattemptN3d(java.lang.Boolean attemptN3d)Default: false Applies only when 3ds.enabled is set to true.Threedsbuild()Threeds.ThreedsBuilderchallengeIndicator(ChallengeIndicatorType challengeIndicator)Default: "no_preference" Specifies the preference for whether a 3DS challenge should be performed.Threeds.ThreedsBuilderenabled(java.lang.Boolean enabled)Default: false Whether to process the payment as a 3D Secure payment.Threeds.ThreedsBuilderexemption(ExemptionType exemption)Specifies an exemption reason for the payment to not be processed using 3D Secure authentication.java.lang.StringtoString()
-
-
-
Method Detail
-
enabled
public Threeds.ThreedsBuilder enabled(java.lang.Boolean enabled)
Default: false Whether to process the payment as a 3D Secure payment. Payments where merchant_initiated is set to true will be processed as 3DS Requestor Initiated.- Returns:
this.
-
attemptN3d
public Threeds.ThreedsBuilder attemptN3d(java.lang.Boolean attemptN3d)
Default: false Applies only when 3ds.enabled is set to true. Set to true to attempt the payment without 3DS when the issuer, card, or network doesn't support 3DS.- Returns:
this.
-
challengeIndicator
public Threeds.ThreedsBuilder challengeIndicator(ChallengeIndicatorType challengeIndicator)
Default: "no_preference" Specifies the preference for whether a 3DS challenge should be performed. Ultimately, whether the challenge is presented to the customer or not is up to their bank's discretion.- Returns:
this.
-
exemption
public Threeds.ThreedsBuilder exemption(ExemptionType exemption)
Specifies an exemption reason for the payment to not be processed using 3D Secure authentication. For more information on 3DS exemptions, refer to our SCA compliance guide.- Returns:
this.
-
allowUpgrade
public Threeds.ThreedsBuilder allowUpgrade(java.lang.Boolean allowUpgrade)
Default: true Specifies whether to process the payment as 3D Secure, if authorization was soft declined due to 3DS authentication being required. For processing channels created before October 12, 2022, the value will default to false.- Returns:
this.
-
build
public Threeds build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-