Class Threeds


  • public final class Threeds
    extends java.lang.Object
    3ds Provides 3D Secure enrollment status if the payment was downgraded to non-3D Secure
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Threeds.ThreedsBuilder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Threeds()  
      Threeds​(java.lang.Boolean downgraded, java.lang.String enrolled, java.lang.String upgradeReason)
      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 getDowngraded()
      Indicates whether this was a 3D Secure payment downgraded to non-3D-Secure (when attempt_n3d is specified) [Optional]
      java.lang.String getEnrolled()
      Indicates the 3D Secure enrollment status of the issuer Y - Issuer enrolled N - Customer not enrolled U - Unknown [Optional]
      java.lang.String getUpgradeReason()
      Indicates the reason why the payment was upgraded to 3D Secure.
      int hashCode()  
      void setDowngraded​(java.lang.Boolean downgraded)
      Indicates whether this was a 3D Secure payment downgraded to non-3D-Secure (when attempt_n3d is specified) [Optional]
      void setEnrolled​(java.lang.String enrolled)
      Indicates the 3D Secure enrollment status of the issuer Y - Issuer enrolled N - Customer not enrolled U - Unknown [Optional]
      void setUpgradeReason​(java.lang.String upgradeReason)
      Indicates the reason why the payment was upgraded to 3D Secure.
      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 downgraded,
                       java.lang.String enrolled,
                       java.lang.String upgradeReason)
        Creates a new Threeds instance.
        Parameters:
        downgraded - Indicates whether this was a 3D Secure payment downgraded to non-3D-Secure (when attempt_n3d is specified) [Optional]
        enrolled - Indicates the 3D Secure enrollment status of the issuer Y - Issuer enrolled N - Customer not enrolled U - Unknown [Optional]
        upgradeReason - Indicates the reason why the payment was upgraded to 3D Secure. [Optional]
    • Method Detail

      • getDowngraded

        public java.lang.Boolean getDowngraded()
        Indicates whether this was a 3D Secure payment downgraded to non-3D-Secure (when attempt_n3d is specified) [Optional]
      • getEnrolled

        public java.lang.String getEnrolled()
        Indicates the 3D Secure enrollment status of the issuer Y - Issuer enrolled N - Customer not enrolled U - Unknown [Optional]
      • getUpgradeReason

        public java.lang.String getUpgradeReason()
        Indicates the reason why the payment was upgraded to 3D Secure. [Optional]
      • setDowngraded

        public void setDowngraded​(java.lang.Boolean downgraded)
        Indicates whether this was a 3D Secure payment downgraded to non-3D-Secure (when attempt_n3d is specified) [Optional]
      • setEnrolled

        public void setEnrolled​(java.lang.String enrolled)
        Indicates the 3D Secure enrollment status of the issuer Y - Issuer enrolled N - Customer not enrolled U - Unknown [Optional]
      • setUpgradeReason

        public void setUpgradeReason​(java.lang.String upgradeReason)
        Indicates the reason why the payment was upgraded to 3D Secure. [Optional]
      • 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