Class Threeds
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessionssubmit.requests.Threeds
-
public final class Threeds extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeds.ThreedsBuilder
-
Constructor Summary
Constructors Constructor Description Threeds()Threeds(java.lang.Boolean enabled, java.lang.Boolean attemptN3d, ChallengeIndicatorType challengeIndicator, ExemptionType exemption, java.lang.Boolean allowUpgrade)Creates a newThreedsinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Threeds.ThreedsBuilderbuilder()booleanequals(java.lang.Object o)java.lang.BooleangetAllowUpgrade()Default: true Specifies whether to process the payment as 3D Secure, if authorization was soft declined due to 3DS authentication being required.java.lang.BooleangetAttemptN3d()Default: false Applies only when 3ds.enabled is set to true.ChallengeIndicatorTypegetChallengeIndicator()Default: "no_preference" Specifies the preference for whether a 3DS challenge should be performed.java.lang.BooleangetEnabled()Default: false Whether to process the payment as a 3D Secure payment.ExemptionTypegetExemption()Specifies an exemption reason for the payment to not be processed using 3D Secure authentication.inthashCode()voidsetAllowUpgrade(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.voidsetAttemptN3d(java.lang.Boolean attemptN3d)Default: false Applies only when 3ds.enabled is set to true.voidsetChallengeIndicator(ChallengeIndicatorType challengeIndicator)Default: "no_preference" Specifies the preference for whether a 3DS challenge should be performed.voidsetEnabled(java.lang.Boolean enabled)Default: false Whether to process the payment as a 3D Secure payment.voidsetExemption(ExemptionType exemption)Specifies an exemption reason for the payment to not be processed using 3D Secure authentication.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Threeds
public Threeds()
-
Threeds
public Threeds(java.lang.Boolean enabled, java.lang.Boolean attemptN3d, ChallengeIndicatorType challengeIndicator, ExemptionType exemption, java.lang.Boolean allowUpgrade)Creates a newThreedsinstance.- Parameters:
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.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.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.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.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.
-
-
Method Detail
-
builder
public static Threeds.ThreedsBuilder builder()
-
getEnabled
public java.lang.Boolean getEnabled()
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.
-
getAttemptN3d
public java.lang.Boolean getAttemptN3d()
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.
-
getChallengeIndicator
public ChallengeIndicatorType getChallengeIndicator()
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.
-
getExemption
public ExemptionType getExemption()
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.
-
getAllowUpgrade
public java.lang.Boolean getAllowUpgrade()
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.
-
setEnabled
public void setEnabled(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.
-
setAttemptN3d
public void setAttemptN3d(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.
-
setChallengeIndicator
public void setChallengeIndicator(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.
-
setExemption
public void setExemption(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.
-
setAllowUpgrade
public void setAllowUpgrade(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.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-