com.prowidesoftware.swift.model.mx.dic.RiskAssessment2 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Indicates to the card issuer the level of risk associated with the transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RiskAssessment2", propOrder = {
"rskAssmntNtty",
"rskAssmntTp",
"hghRskTx",
"rsn",
"rslt",
"rskCond",
"addtlRskData",
"rcmmnddActn",
"othrRcmmnddActn",
"rcmmnddActnDtls"
})
public class RiskAssessment2 {
@XmlElement(name = "RskAssmntNtty")
protected PartyIdentification200 rskAssmntNtty;
@XmlElement(name = "RskAssmntTp")
protected String rskAssmntTp;
@XmlElement(name = "HghRskTx")
protected Boolean hghRskTx;
@XmlElement(name = "Rsn")
protected List rsn;
@XmlElement(name = "Rslt")
protected String rslt;
@XmlElement(name = "RskCond")
protected List rskCond;
@XmlElement(name = "AddtlRskData")
protected List addtlRskData;
@XmlElement(name = "RcmmnddActn")
@XmlSchemaType(name = "string")
protected List rcmmnddActn;
@XmlElement(name = "OthrRcmmnddActn")
protected String othrRcmmnddActn;
@XmlElement(name = "RcmmnddActnDtls")
protected String rcmmnddActnDtls;
/**
* Gets the value of the rskAssmntNtty property.
*
* @return
* possible object is
* {@link PartyIdentification200 }
*
*/
public PartyIdentification200 getRskAssmntNtty() {
return rskAssmntNtty;
}
/**
* Sets the value of the rskAssmntNtty property.
*
* @param value
* allowed object is
* {@link PartyIdentification200 }
*
*/
public RiskAssessment2 setRskAssmntNtty(PartyIdentification200 value) {
this.rskAssmntNtty = value;
return this;
}
/**
* Gets the value of the rskAssmntTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRskAssmntTp() {
return rskAssmntTp;
}
/**
* Sets the value of the rskAssmntTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RiskAssessment2 setRskAssmntTp(String value) {
this.rskAssmntTp = value;
return this;
}
/**
* Gets the value of the hghRskTx property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHghRskTx() {
return hghRskTx;
}
/**
* Sets the value of the hghRskTx property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public RiskAssessment2 setHghRskTx(Boolean value) {
this.hghRskTx = value;
return this;
}
/**
* Gets the value of the rsn property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the rsn property.
*
*
* For example, to add a new item, do as follows:
*
* getRsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the rsn property.
*/
public List getRsn() {
if (rsn == null) {
rsn = new ArrayList<>();
}
return this.rsn;
}
/**
* Gets the value of the rslt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRslt() {
return rslt;
}
/**
* Sets the value of the rslt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RiskAssessment2 setRslt(String value) {
this.rslt = value;
return this;
}
/**
* Gets the value of the rskCond property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the rskCond property.
*
*
* For example, to add a new item, do as follows:
*
* getRskCond().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalData1 }
*
*
* @return
* The value of the rskCond property.
*/
public List getRskCond() {
if (rskCond == null) {
rskCond = new ArrayList<>();
}
return this.rskCond;
}
/**
* Gets the value of the addtlRskData property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the addtlRskData property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlRskData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalRiskData1 }
*
*
* @return
* The value of the addtlRskData property.
*/
public List getAddtlRskData() {
if (addtlRskData == null) {
addtlRskData = new ArrayList<>();
}
return this.addtlRskData;
}
/**
* Gets the value of the rcmmnddActn property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the rcmmnddActn property.
*
*
* For example, to add a new item, do as follows:
*
* getRcmmnddActn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ActionType8Code }
*
*
* @return
* The value of the rcmmnddActn property.
*/
public List getRcmmnddActn() {
if (rcmmnddActn == null) {
rcmmnddActn = new ArrayList<>();
}
return this.rcmmnddActn;
}
/**
* Gets the value of the othrRcmmnddActn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOthrRcmmnddActn() {
return othrRcmmnddActn;
}
/**
* Sets the value of the othrRcmmnddActn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RiskAssessment2 setOthrRcmmnddActn(String value) {
this.othrRcmmnddActn = value;
return this;
}
/**
* Gets the value of the rcmmnddActnDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRcmmnddActnDtls() {
return rcmmnddActnDtls;
}
/**
* Sets the value of the rcmmnddActnDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RiskAssessment2 setRcmmnddActnDtls(String value) {
this.rcmmnddActnDtls = value;
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
/**
* Adds a new item to the rsn list.
* @see #getRsn()
*
*/
public RiskAssessment2 addRsn(String rsn) {
getRsn().add(rsn);
return this;
}
/**
* Adds a new item to the rskCond list.
* @see #getRskCond()
*
*/
public RiskAssessment2 addRskCond(AdditionalData1 rskCond) {
getRskCond().add(rskCond);
return this;
}
/**
* Adds a new item to the addtlRskData list.
* @see #getAddtlRskData()
*
*/
public RiskAssessment2 addAddtlRskData(AdditionalRiskData1 addtlRskData) {
getAddtlRskData().add(addtlRskData);
return this;
}
/**
* Adds a new item to the rcmmnddActn list.
* @see #getRcmmnddActn()
*
*/
public RiskAssessment2 addRcmmnddActn(ActionType8Code rcmmnddActn) {
getRcmmnddActn().add(rcmmnddActn);
return this;
}
}