Updated code and docs
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
package com.example.loan.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class FraudServiceRequest {
|
||||
|
||||
@JsonProperty("client.id")
|
||||
private String clientId;
|
||||
|
||||
private BigDecimal loanAmount;
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
package com.example.loan.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
public class FraudServiceResponse {
|
||||
|
||||
private FraudCheckStatus fraudCheckStatus;
|
||||
|
||||
@JsonProperty("rejection.reason")
|
||||
private String rejectionReason;
|
||||
|
||||
public FraudServiceResponse() {
|
||||
|
||||
Reference in New Issue
Block a user