com.prowidesoftware.swift.model.mx.dic.ATMTransaction16 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.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;
/**
* Response to the deposit request.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ATMTransaction16", propOrder = {
"txId",
"rcncltnId",
"cmpltnReqrd",
"acctData",
"prtctdAcctData",
"ttlAuthrsdAmt",
"ttlReqdAmt",
"dtldReqdAmt",
"addtlChrg",
"authstnRslt",
"iccRltdData",
"cmd"
})
public class ATMTransaction16 {
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifier1 txId;
@XmlElement(name = "RcncltnId")
protected String rcncltnId;
@XmlElement(name = "CmpltnReqrd")
protected Boolean cmpltnReqrd;
@XmlElement(name = "AcctData")
protected CardAccount10 acctData;
@XmlElement(name = "PrtctdAcctData")
protected ContentInformationType10 prtctdAcctData;
@XmlElement(name = "TtlAuthrsdAmt", required = true)
protected AmountAndCurrency1 ttlAuthrsdAmt;
@XmlElement(name = "TtlReqdAmt")
protected BigDecimal ttlReqdAmt;
@XmlElement(name = "DtldReqdAmt")
protected List dtldReqdAmt;
@XmlElement(name = "AddtlChrg")
protected List addtlChrg;
@XmlElement(name = "AuthstnRslt")
protected AuthorisationResult13 authstnRslt;
@XmlElement(name = "ICCRltdData")
protected byte[] iccRltdData;
@XmlElement(name = "Cmd")
protected List cmd;
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link TransactionIdentifier1 }
*
*/
public TransactionIdentifier1 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentifier1 }
*
*/
public ATMTransaction16 setTxId(TransactionIdentifier1 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the rcncltnId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRcncltnId() {
return rcncltnId;
}
/**
* Sets the value of the rcncltnId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ATMTransaction16 setRcncltnId(String value) {
this.rcncltnId = value;
return this;
}
/**
* Gets the value of the cmpltnReqrd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCmpltnReqrd() {
return cmpltnReqrd;
}
/**
* Sets the value of the cmpltnReqrd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public ATMTransaction16 setCmpltnReqrd(Boolean value) {
this.cmpltnReqrd = value;
return this;
}
/**
* Gets the value of the acctData property.
*
* @return
* possible object is
* {@link CardAccount10 }
*
*/
public CardAccount10 getAcctData() {
return acctData;
}
/**
* Sets the value of the acctData property.
*
* @param value
* allowed object is
* {@link CardAccount10 }
*
*/
public ATMTransaction16 setAcctData(CardAccount10 value) {
this.acctData = value;
return this;
}
/**
* Gets the value of the prtctdAcctData property.
*
* @return
* possible object is
* {@link ContentInformationType10 }
*
*/
public ContentInformationType10 getPrtctdAcctData() {
return prtctdAcctData;
}
/**
* Sets the value of the prtctdAcctData property.
*
* @param value
* allowed object is
* {@link ContentInformationType10 }
*
*/
public ATMTransaction16 setPrtctdAcctData(ContentInformationType10 value) {
this.prtctdAcctData = value;
return this;
}
/**
* Gets the value of the ttlAuthrsdAmt property.
*
* @return
* possible object is
* {@link AmountAndCurrency1 }
*
*/
public AmountAndCurrency1 getTtlAuthrsdAmt() {
return ttlAuthrsdAmt;
}
/**
* Sets the value of the ttlAuthrsdAmt property.
*
* @param value
* allowed object is
* {@link AmountAndCurrency1 }
*
*/
public ATMTransaction16 setTtlAuthrsdAmt(AmountAndCurrency1 value) {
this.ttlAuthrsdAmt = value;
return this;
}
/**
* Gets the value of the ttlReqdAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTtlReqdAmt() {
return ttlReqdAmt;
}
/**
* Sets the value of the ttlReqdAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public ATMTransaction16 setTtlReqdAmt(BigDecimal value) {
this.ttlReqdAmt = value;
return this;
}
/**
* Gets the value of the dtldReqdAmt 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 JAXB object.
* This is why there is not a set
method for the dtldReqdAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getDtldReqdAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DetailedAmount16 }
*
*
*/
public List getDtldReqdAmt() {
if (dtldReqdAmt == null) {
dtldReqdAmt = new ArrayList();
}
return this.dtldReqdAmt;
}
/**
* Gets the value of the addtlChrg 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 JAXB object.
* This is why there is not a set
method for the addtlChrg property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlChrg().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DetailedAmount13 }
*
*
*/
public List getAddtlChrg() {
if (addtlChrg == null) {
addtlChrg = new ArrayList();
}
return this.addtlChrg;
}
/**
* Gets the value of the authstnRslt property.
*
* @return
* possible object is
* {@link AuthorisationResult13 }
*
*/
public AuthorisationResult13 getAuthstnRslt() {
return authstnRslt;
}
/**
* Sets the value of the authstnRslt property.
*
* @param value
* allowed object is
* {@link AuthorisationResult13 }
*
*/
public ATMTransaction16 setAuthstnRslt(AuthorisationResult13 value) {
this.authstnRslt = value;
return this;
}
/**
* Gets the value of the iccRltdData property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getICCRltdData() {
return iccRltdData;
}
/**
* Sets the value of the iccRltdData property.
*
* @param value
* allowed object is
* byte[]
*/
public ATMTransaction16 setICCRltdData(byte[] value) {
this.iccRltdData = value;
return this;
}
/**
* Gets the value of the cmd 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 JAXB object.
* This is why there is not a set
method for the cmd property.
*
*
* For example, to add a new item, do as follows:
*
* getCmd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ATMCommand7 }
*
*
*/
public List getCmd() {
if (cmd == null) {
cmd = new ArrayList();
}
return this.cmd;
}
@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 dtldReqdAmt list.
* @see #getDtldReqdAmt()
*
*/
public ATMTransaction16 addDtldReqdAmt(DetailedAmount16 dtldReqdAmt) {
getDtldReqdAmt().add(dtldReqdAmt);
return this;
}
/**
* Adds a new item to the addtlChrg list.
* @see #getAddtlChrg()
*
*/
public ATMTransaction16 addAddtlChrg(DetailedAmount13 addtlChrg) {
getAddtlChrg().add(addtlChrg);
return this;
}
/**
* Adds a new item to the cmd list.
* @see #getCmd()
*
*/
public ATMTransaction16 addCmd(ATMCommand7 cmd) {
getCmd().add(cmd);
return this;
}
}