com.prowidesoftware.swift.model.mx.dic.ATMReconciliationAdvice2 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.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;
/**
* Information related to the reconciliation of an ATM.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ATMReconciliationAdvice2", propOrder = {
"envt",
"cmdRslt",
"cmdCntxt",
"tx"
})
public class ATMReconciliationAdvice2 {
@XmlElement(name = "Envt", required = true)
protected ATMEnvironment10 envt;
@XmlElement(name = "CmdRslt")
protected List cmdRslt;
@XmlElement(name = "CmdCntxt")
protected ATMCommand9 cmdCntxt;
@XmlElement(name = "Tx", required = true)
protected ATMTransaction25 tx;
/**
* Gets the value of the envt property.
*
* @return
* possible object is
* {@link ATMEnvironment10 }
*
*/
public ATMEnvironment10 getEnvt() {
return envt;
}
/**
* Sets the value of the envt property.
*
* @param value
* allowed object is
* {@link ATMEnvironment10 }
*
*/
public ATMReconciliationAdvice2 setEnvt(ATMEnvironment10 value) {
this.envt = value;
return this;
}
/**
* Gets the value of the cmdRslt 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 cmdRslt property.
*
*
* For example, to add a new item, do as follows:
*
* getCmdRslt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ATMCommand8 }
*
*
* @return
* The value of the cmdRslt property.
*/
public List getCmdRslt() {
if (cmdRslt == null) {
cmdRslt = new ArrayList<>();
}
return this.cmdRslt;
}
/**
* Gets the value of the cmdCntxt property.
*
* @return
* possible object is
* {@link ATMCommand9 }
*
*/
public ATMCommand9 getCmdCntxt() {
return cmdCntxt;
}
/**
* Sets the value of the cmdCntxt property.
*
* @param value
* allowed object is
* {@link ATMCommand9 }
*
*/
public ATMReconciliationAdvice2 setCmdCntxt(ATMCommand9 value) {
this.cmdCntxt = value;
return this;
}
/**
* Gets the value of the tx property.
*
* @return
* possible object is
* {@link ATMTransaction25 }
*
*/
public ATMTransaction25 getTx() {
return tx;
}
/**
* Sets the value of the tx property.
*
* @param value
* allowed object is
* {@link ATMTransaction25 }
*
*/
public ATMReconciliationAdvice2 setTx(ATMTransaction25 value) {
this.tx = 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 cmdRslt list.
* @see #getCmdRslt()
*
*/
public ATMReconciliationAdvice2 addCmdRslt(ATMCommand8 cmdRslt) {
getCmdRslt().add(cmdRslt);
return this;
}
}