Class Threeds


  • public final class Threeds
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Threeds.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 new Threeds instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Threeds.ThreedsBuilder builder()  
      boolean equals​(java.lang.Object o)  
      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.
      java.lang.Boolean getAttemptN3d()
      Default: false Applies only when 3ds.enabled is set to true.
      ChallengeIndicatorType getChallengeIndicator()
      Default: "no_preference" Specifies the preference for whether a 3DS challenge should be performed.
      java.lang.Boolean getEnabled()
      Default: false Whether to process the payment as a 3D Secure payment.
      ExemptionType getExemption()
      Default: "no_preference" Specifies an exemption reason for the payment to not be processed using 3D Secure authentication.
      int hashCode()  
      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.
      void setAttemptN3d​(java.lang.Boolean attemptN3d)
      Default: false Applies only when 3ds.enabled is set to true.
      void setChallengeIndicator​(ChallengeIndicatorType challengeIndicator)
      Default: "no_preference" Specifies the preference for whether a 3DS challenge should be performed.
      void setEnabled​(java.lang.Boolean enabled)
      Default: false Whether to process the payment as a 3D Secure payment.
      void setExemption​(ExemptionType exemption)
      Default: "no_preference" Specifies an exemption reason for the payment to not be processed using 3D Secure authentication.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 new Threeds instance.
        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 - Default: "no_preference" 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

      • 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()
        Default: "no_preference" 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)
        Default: "no_preference" 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object