package com.hbc.api.fraud.v0.models; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBDocument; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Integer; import java.lang.String; import java.util.UUID; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.0-slava * User agent: apibuilder app.apibuilder.io/hbc/api-fraud/0.0.0-slava/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * * Defines decision information */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) @DynamoDBDocument public class Decision { @NotNull protected String transactionId; @NotNull protected RecommendationCode recommendationCode; protected UUID crossReference; protected String rulesTripped; @NotNull protected Integer totalScore; protected String remarks; public Decision(String transactionId, RecommendationCode recommendationCode, UUID crossReference, String rulesTripped, Integer totalScore, String remarks) { this.transactionId = transactionId; this.recommendationCode = recommendationCode; this.crossReference = crossReference; this.rulesTripped = rulesTripped; this.totalScore = totalScore; this.remarks = remarks; } public Decision() { } @DynamoDBAttribute public String getTransactionId() { return transactionId; } public void setTransactionId(String transactionId) { this.transactionId = transactionId; } @DynamoDBAttribute public RecommendationCode getRecommendationCode() { return recommendationCode; } public void setRecommendationCode(RecommendationCode recommendationCode) { this.recommendationCode = recommendationCode; } @DynamoDBAttribute public UUID getCrossReference() { return crossReference; } public void setCrossReference(UUID crossReference) { this.crossReference = crossReference; } @DynamoDBAttribute public String getRulesTripped() { return rulesTripped; } public void setRulesTripped(String rulesTripped) { this.rulesTripped = rulesTripped; } @DynamoDBAttribute public Integer getTotalScore() { return totalScore; } public void setTotalScore(Integer totalScore) { this.totalScore = totalScore; } @DynamoDBAttribute public String getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } }