Package com.checkout.payments
Class RiskRequest
- java.lang.Object
-
- com.checkout.payments.RiskRequest
-
public final class RiskRequest extends java.lang.Objectrisk Configures the risk assessment performed during the processing of the payment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRiskRequest.RiskRequestBuilder
-
Constructor Summary
Constructors Constructor Description RiskRequest()RiskRequest(java.lang.Boolean enabled, java.lang.String deviceSessionId, Device device)Creates a newRiskRequestinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RiskRequest.RiskRequestBuilderbuilder()booleanequals(java.lang.Object o)DevicegetDevice()Details of the device from which the payment originated.java.lang.StringgetDeviceSessionId()Device session ID collected from our standalone Risk.js package.java.lang.BooleangetEnabled()Default: true Whether a risk assessment should be performed [Optional]inthashCode()voidsetDevice(Device device)Details of the device from which the payment originated.voidsetDeviceSessionId(java.lang.String deviceSessionId)Device session ID collected from our standalone Risk.js package.voidsetEnabled(java.lang.Boolean enabled)Default: true Whether a risk assessment should be performed [Optional]java.lang.StringtoString()
-
-
-
Constructor Detail
-
RiskRequest
public RiskRequest()
-
RiskRequest
public RiskRequest(java.lang.Boolean enabled, java.lang.String deviceSessionId, Device device)Creates a newRiskRequestinstance.- 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
-
builder
public static RiskRequest.RiskRequestBuilder builder()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-