-
@RequestMapping(
- value = "/fraudcheck",
- method = PUT,
- consumes = FRAUD_SERVICE_JSON_VERSION_1,
- produces = FRAUD_SERVICE_JSON_VERSION_1)
+@RequestMapping(value = "/fraudcheck", method = PUT)
public FraudCheckResult fraudCheck(@RequestBody FraudCheck fraudCheck) {
return new FraudCheckResult(FraudCheckStatus.OK, NO_REASON);
}
@@ -2218,11 +2214,7 @@ public void validate_shouldMarkClientAsFraud() throws Exception {
-
@RequestMapping(
- value = "/fraudcheck",
- method = PUT,
- consumes = FRAUD_SERVICE_JSON_VERSION_1,
- produces = FRAUD_SERVICE_JSON_VERSION_1)
+@RequestMapping(value = "/fraudcheck", method = PUT)
public FraudCheckResult fraudCheck(@RequestBody FraudCheck fraudCheck) {
if (amountGreaterThanThreshold(fraudCheck)) {
return new FraudCheckResult(FraudCheckStatus.FRAUD, AMOUNT_TOO_HIGH);