Class RiskRequest


  • public final class RiskRequest
    extends java.lang.Object
    risk Configures the risk assessment performed during the processing of the payment
    • Constructor Summary

      Constructors 
      Constructor Description
      RiskRequest()  
      RiskRequest​(java.lang.Boolean enabled, java.lang.String deviceSessionId, Device device)
      Creates a new RiskRequest instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static RiskRequest.RiskRequestBuilder builder()  
      boolean equals​(java.lang.Object o)  
      Device getDevice()
      Details of the device from which the payment originated.
      java.lang.String getDeviceSessionId()
      Device session ID collected from our standalone Risk.js package.
      java.lang.Boolean getEnabled()
      Default: true Whether a risk assessment should be performed [Optional]
      int hashCode()  
      void setDevice​(Device device)
      Details of the device from which the payment originated.
      void setDeviceSessionId​(java.lang.String deviceSessionId)
      Device session ID collected from our standalone Risk.js package.
      void setEnabled​(java.lang.Boolean enabled)
      Default: true Whether a risk assessment should be performed [Optional]
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RiskRequest

        public RiskRequest()
      • RiskRequest

        public RiskRequest​(java.lang.Boolean enabled,
                           java.lang.String deviceSessionId,
                           Device device)
        Creates a new RiskRequest instance.
        Parameters:
        enabled - Default: true Whether a risk assessment should be performed [Optional]
        deviceSessionId - Device session ID collected from our standalone Risk.js package. If you integrate using our Frames solution, this ID is not required. [Optional] ^(dsid)_(\w{26})$
        device - Details of the device from which the payment originated. [Optional]
    • Method Detail

      • getEnabled

        public java.lang.Boolean getEnabled()
        Default: true Whether a risk assessment should be performed [Optional]
      • getDeviceSessionId

        public java.lang.String getDeviceSessionId()
        Device session ID collected from our standalone Risk.js package. If you integrate using our Frames solution, this ID is not required. [Optional] ^(dsid)_(\w{26})$
      • getDevice

        public Device getDevice()
        Details of the device from which the payment originated. [Optional]
      • setEnabled

        public void setEnabled​(java.lang.Boolean enabled)
        Default: true Whether a risk assessment should be performed [Optional]
      • setDeviceSessionId

        public void setDeviceSessionId​(java.lang.String deviceSessionId)
        Device session ID collected from our standalone Risk.js package. If you integrate using our Frames solution, this ID is not required. [Optional] ^(dsid)_(\w{26})$
      • setDevice

        public void setDevice​(Device device)
        Details of the device from which the payment originated. [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