public class DefaultCisClientFraudService extends java.lang.Object implements CisClientFraudService
CisClientFraudService| Constructor and Description |
|---|
DefaultCisClientFraudService() |
| Modifier and Type | Method and Description |
|---|---|
CisFraudTransactionResult |
calculateFraudScore(java.lang.String xCisClientRef,
java.lang.String tenantId,
CisFraudTransaction cisTransaction)
Calculate fraud based on the order.
|
CisFraudReportResult |
generateFraudReport(java.lang.String xCisClientRef,
java.lang.String tenantId,
CisFraudReportRequest reportRequest)
generate the fraud report.
|
protected FraudClient |
getFraudClient() |
CisFraudTransactionResult |
handleOrderStatusUpdate(java.lang.String xCisClientRef,
java.lang.String tenantId,
java.lang.String xml)
handle the order status update.
|
boolean |
ping(java.lang.String xCisClientRef,
java.lang.String tenantId)
Checks if service is functioning and connecting with current credentials.
|
void |
setFraudClient(FraudClient fraudClient) |
public boolean ping(java.lang.String xCisClientRef,
java.lang.String tenantId)
CisClientServiceping in interface CisClientServicexCisClientRef - client ref to pass in the headertenantId - tenantId to pass in the headerpublic CisFraudReportResult generateFraudReport(java.lang.String xCisClientRef, java.lang.String tenantId, CisFraudReportRequest reportRequest)
CisClientFraudServicegenerateFraudReport in interface CisClientFraudServicereportRequest - - the request specifying the start and end dates and times for the report to runpublic CisFraudTransactionResult handleOrderStatusUpdate(java.lang.String xCisClientRef, java.lang.String tenantId, java.lang.String xml)
CisClientFraudServicehandleOrderStatusUpdate in interface CisClientFraudServicexml - plain text representing the response sent by the vendorpublic CisFraudTransactionResult calculateFraudScore(java.lang.String xCisClientRef, java.lang.String tenantId, CisFraudTransaction cisTransaction)
CisClientFraudServicecalculateFraudScore in interface CisClientFraudServicecisTransaction - transaction used to calculate the fraud score.protected FraudClient getFraudClient()
public void setFraudClient(FraudClient fraudClient)
Copyright © 2018 SAP SE. All Rights Reserved.