public class Response extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.logging.log4j.Logger |
logger
Logger.
|
protected Map<String,String> |
params
Parameters to be sent to RIS.
|
| Constructor and Description |
|---|
Response(Map<String,String> p)
Constructor for a response object that accepts a map of response data.
|
| Modifier and Type | Method and Description |
|---|---|
String |
get3DSecureMerchantResponse()
Get the 3D Secure Merchant Response.
|
String |
getAuto()
Get the RIS auto response (A/R/D).
|
String |
getBrand()
Get the credit card brand.
|
String |
getBrowser()
Get browser (derived from user agent string).
|
String |
getCards()
Get the number of transactions associated with the credit card.
|
String |
getCookies()
Get a string representing whether the remote device allows cookies.
|
Map<String,String> |
getCountersTriggered()
Get a map of the rules counters triggered in the response.
|
String |
getCountry()
Get the remote device's country of origin as a two character code.
|
String |
getDateDeviceFirstSeen()
Get date device first seen.
|
String |
getDeviceLayers()
Get a string representing the five layers (Operating System, SSL, HTTP,
Flash, JavaScript) of the remote device.
|
String |
getDevices()
Get the number of transactions associated with the particular device.
|
String |
getDeviceScreenResolution()
Get device screen resolution.
|
String |
getEmails()
Get the number of transactions associated with the email.
|
String |
getErrorCode()
Get a possible error code.
|
int |
getErrorCount()
Get the number of errors associated with the response.
|
List<String> |
getErrors()
Get an ArrayList of errors associated with the response.
|
String |
getFingerPrint()
Get the device finger print.
|
String |
getFlash()
Get a string representing whether or not the remote device allows flash.
|
String |
getGeox()
Get the geox.
|
String |
getHttpCountry()
Get the two character country code setting in the remote device's
browser.
|
String |
getIPAddress()
Get proxy IP address.
|
String |
getIPAddressCity()
Get city of proxy IP address.
|
String |
getIPAddressCountry()
Get country of proxy IP address.
|
String |
getIPAddressLatitude()
Get latitude of proxy IP address.
|
String |
getIPAddressLongitude()
Get longitude of proxy IP address.
|
String |
getIPAddressOrganization()
Get organization of proxy IP address.
|
String |
getIPAddressRegion()
Get region of proxy IP address.
|
String |
getJavaScript()
Get a string representing whether the remote device allows JavaScript.
|
String |
getKaptcha()
Get the Kaptcha flag: enabled upon request and for when RIS has no
record.
|
String |
getKcCustomerId()
Get the Kount Central Customer ID.
|
String |
getKcDecision()
Get the Kount Central Decision.
|
int |
getKcErrorCount()
Get the number of KC errors associated with the response.
|
List<String> |
getKcErrors()
Get an ArrayList of the KC errors returned by this Response.
|
int |
getKcEventCount()
Get the number of KC events associated with the response.
|
List<KcEvent> |
getKcEvents()
Get an ArrayList of the KC events returned by this Response.
|
int |
getKcWarningCount()
Get the number of KC warnings associated with the response.
|
List<String> |
getKcWarnings()
Get an ArrayList of the KC warnings returned by this Response.
|
String |
getKnowYourCustomer()
Get the know your customer flag.
|
String |
getLanguage()
Get the language setting on the remote device.
|
Map<String,String> |
getLexisNexisCbdAttributes()
Get LexisNexis Chargeback Defender attribute data associated with the RIS
transaction.
|
Map<String,String> |
getLexisNexisInstandIdAttributes()
Get LexisNexis Instant ID attributes associated with the RIS transaction.
|
String |
getLocalTime()
Get local time of the remote device in the YYYY-MM-DD format.
|
String |
getMasterCardFraudScore()
Get MasterCard Fraud Score associated with the RIS transaction.
|
String |
getMerchantId()
Get the merchant id.
|
String |
getMobileDevice()
Get a string representing whether the remote device is a mobile device.
|
String |
getMobileForwarder()
Get the mobile device's wireless application protocol.
|
String |
getMobileType()
Get the mobile device type.
|
String |
getMode()
Get the mode.
|
String |
getNetwork()
Get the network type.
|
int |
getNumberCountersTriggered()
Get the number of rules counters triggered in the response.
|
int |
getNumberRulesTriggered()
Get the number of rules triggered associated with the response.
|
String |
getOmniscore()
Get the Kount Omniscore.
|
String |
getOrderNumber()
Get the merchant order number.
|
String |
getOS()
Get operating system (derived from user agent string).
|
String |
getParm(String key)
Get the parameter from the response.
|
String |
getPcRemote()
Get a string representing whether the end device is a remotely controlled
computer.
|
String |
getPiercedIPAddress()
Get pierced IP address.
|
String |
getPiercedIPAddressCity()
Get city of pierced IP address.
|
String |
getPiercedIPAddressCountry()
Get country of pierced IP address.
|
String |
getPiercedIPAddressLatitude()
Get latitude of pierced IP address.
|
String |
getPiercedIPAddressLongitude()
Get longitude of pierced IP address.
|
String |
getPiercedIPAddressOrganization()
Get organization of pierced IP address.
|
String |
getPiercedIPAddressRegion()
Get region of pierced IP address.
|
protected Map<String,String> |
getPrefixedResponseDataMap(String prefix)
Get a map of the response data where the keys are the RIS response keys
that begin with a specified prefix.
|
String |
getPreviouslyWhiteListed()
Get the Previously WhiteListed.
|
String |
getProxy()
Get a string representing whether the remote device is using a proxy.
|
String |
getReason()
Deprecated.
Version 5.0.0 Use method
com.kount.ris.Response.getReasonCode() : String.
|
String |
getReasonCode()
Get the merchant defined decision reason code.
|
String |
getRegion()
Get the region the remote device is located in.
|
Map<String,String> |
getRulesTriggered()
Get a Map of the rules triggered by this Response.
|
String |
getScore()
Get the Kount score.
|
String |
getSessionId()
Get the session id.
|
String |
getSite()
Get the site ID.
|
String |
getTimeZone()
Get a string representing the time zone of the customer as a 3 digit
number.
|
String |
getTransactionId()
Get the transaction id.
|
String |
getUserAgentString()
Get user agent string.
|
String |
getVelo()
Get the 6 hour velocity.
|
String |
getVersion()
Get the version number.
|
String |
getVmax()
Get the 6 week velocity.
|
String |
getVoiceDevice()
Get a string representing whether or not the remote device is voice
controlled.
|
int |
getWarningCount()
Get the number of warnings associated with the response.
|
List<String> |
getWarnings()
Get an ArrayList of the warnings returned by this Response.
|
static Response |
parseResponse(Reader r)
Parse the RIS repsonse and return a Response object.
|
String |
toString()
Print all values in the object.
|
public String getVersion()
public String getParm(String key)
key - The key for the parameterpublic String getMode()
public String getMerchantId()
public String getSessionId()
public String getTransactionId()
public String getOrderNumber()
public String getErrorCode()
public String getAuto()
public String getReason()
public String getReasonCode()
public String getScore()
public String getOmniscore()
public String getGeox()
public String getBrand()
public String getVelo()
public String getVmax()
public String getNetwork()
public String getKnowYourCustomer()
public String getRegion()
public String getKaptcha()
public String getSite()
public String getProxy()
public String getEmails()
public String getHttpCountry()
public String getTimeZone()
public String getCards()
public String getPcRemote()
public String getDevices()
public String getDeviceLayers()
public String getMobileForwarder()
public String getVoiceDevice()
public String getLocalTime()
public String getMobileType()
public String getFingerPrint()
public String getFlash()
public String getLanguage()
public String getCountry()
public String getJavaScript()
public String getCookies()
public String getMobileDevice()
public String getPiercedIPAddress()
public String getPiercedIPAddressLatitude()
public String getPiercedIPAddressLongitude()
public String getPiercedIPAddressCountry()
public String getPiercedIPAddressRegion()
public String getPiercedIPAddressCity()
public String getPiercedIPAddressOrganization()
public String getIPAddress()
public String getIPAddressLatitude()
public String getIPAddressLongitude()
public String getIPAddressCountry()
public String getIPAddressRegion()
public String getIPAddressCity()
public String getIPAddressOrganization()
public String getDateDeviceFirstSeen()
public String getUserAgentString()
public String getDeviceScreenResolution()
public String getOS()
public String getBrowser()
public String getKcCustomerId()
public String getKcDecision()
public int getKcWarningCount()
public List<String> getKcWarnings()
public int getKcErrorCount()
public List<String> getKcErrors()
public int getKcEventCount()
public List<KcEvent> getKcEvents()
public String toString()
public Map<String,String> getRulesTriggered()
public int getNumberRulesTriggered()
public List<String> getWarnings()
public int getWarningCount()
public List<String> getErrors()
public int getErrorCount()
public static Response parseResponse(Reader r) throws RisResponseException
r - Reader for character stream returned by RISRisResponseException - When error encountered parsing responsepublic Map<String,String> getLexisNexisCbdAttributes()
public Map<String,String> getLexisNexisInstandIdAttributes()
public String getMasterCardFraudScore()
protected Map<String,String> getPrefixedResponseDataMap(String prefix)
prefix - Key prefix.public Map<String,String> getCountersTriggered()
public int getNumberCountersTriggered()
public String getPreviouslyWhiteListed()
public String get3DSecureMerchantResponse()
Copyright © 2022. All rights reserved.