
com.prowidesoftware.swift.model.mx.dic.ATMTransaction2 Maven / Gradle / Ivy
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 withdrawal transaction request.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ATMTransaction2", propOrder = {
"txId",
"rcncltnId",
"cmpltnReqrd",
"acctData",
"prtctdAcctData",
"ttlAuthrsdAmt",
"ttlReqdAmt",
"dtldReqdAmt",
"ccyConvs",
"addtlChrg",
"lmts",
"mixTp",
"mix",
"authstnRslt",
"iccRltdData",
"cmd"
})
public class ATMTransaction2 {
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifier1 txId;
@XmlElement(name = "RcncltnId")
protected String rcncltnId;
@XmlElement(name = "CmpltnReqrd")
protected Boolean cmpltnReqrd;
@XmlElement(name = "AcctData")
protected CardAccount4 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 DetailedAmount12 dtldReqdAmt;
@XmlElement(name = "CcyConvs")
protected CurrencyConversion4 ccyConvs;
@XmlElement(name = "AddtlChrg")
protected List addtlChrg;
@XmlElement(name = "Lmts")
protected ATMTransactionAmounts2 lmts;
@XmlElement(name = "MixTp")
protected String mixTp;
@XmlElement(name = "Mix")
protected List mix;
@XmlElement(name = "AuthstnRslt", required = true)
protected AuthorisationResult9 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 ATMTransaction2 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 ATMTransaction2 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 ATMTransaction2 setCmpltnReqrd(Boolean value) {
this.cmpltnReqrd = value;
return this;
}
/**
* Gets the value of the acctData property.
*
* @return
* possible object is
* {@link CardAccount4 }
*
*/
public CardAccount4 getAcctData() {
return acctData;
}
/**
* Sets the value of the acctData property.
*
* @param value
* allowed object is
* {@link CardAccount4 }
*
*/
public ATMTransaction2 setAcctData(CardAccount4 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 ATMTransaction2 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 ATMTransaction2 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 ATMTransaction2 setTtlReqdAmt(BigDecimal value) {
this.ttlReqdAmt = value;
return this;
}
/**
* Gets the value of the dtldReqdAmt property.
*
* @return
* possible object is
* {@link DetailedAmount12 }
*
*/
public DetailedAmount12 getDtldReqdAmt() {
return dtldReqdAmt;
}
/**
* Sets the value of the dtldReqdAmt property.
*
* @param value
* allowed object is
* {@link DetailedAmount12 }
*
*/
public ATMTransaction2 setDtldReqdAmt(DetailedAmount12 value) {
this.dtldReqdAmt = value;
return this;
}
/**
* Gets the value of the ccyConvs property.
*
* @return
* possible object is
* {@link CurrencyConversion4 }
*
*/
public CurrencyConversion4 getCcyConvs() {
return ccyConvs;
}
/**
* Sets the value of the ccyConvs property.
*
* @param value
* allowed object is
* {@link CurrencyConversion4 }
*
*/
public ATMTransaction2 setCcyConvs(CurrencyConversion4 value) {
this.ccyConvs = value;
return this;
}
/**
* 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 lmts property.
*
* @return
* possible object is
* {@link ATMTransactionAmounts2 }
*
*/
public ATMTransactionAmounts2 getLmts() {
return lmts;
}
/**
* Sets the value of the lmts property.
*
* @param value
* allowed object is
* {@link ATMTransactionAmounts2 }
*
*/
public ATMTransaction2 setLmts(ATMTransactionAmounts2 value) {
this.lmts = value;
return this;
}
/**
* Gets the value of the mixTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMixTp() {
return mixTp;
}
/**
* Sets the value of the mixTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ATMTransaction2 setMixTp(String value) {
this.mixTp = value;
return this;
}
/**
* Gets the value of the mix 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 mix property.
*
*
* For example, to add a new item, do as follows:
*
* getMix().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ATMMediaMix1 }
*
*
*/
public List getMix() {
if (mix == null) {
mix = new ArrayList();
}
return this.mix;
}
/**
* Gets the value of the authstnRslt property.
*
* @return
* possible object is
* {@link AuthorisationResult9 }
*
*/
public AuthorisationResult9 getAuthstnRslt() {
return authstnRslt;
}
/**
* Sets the value of the authstnRslt property.
*
* @param value
* allowed object is
* {@link AuthorisationResult9 }
*
*/
public ATMTransaction2 setAuthstnRslt(AuthorisationResult9 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 ATMTransaction2 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 ATMCommand1 }
*
*
*/
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 addtlChrg list.
* @see #getAddtlChrg()
*
*/
public ATMTransaction2 addAddtlChrg(DetailedAmount13 addtlChrg) {
getAddtlChrg().add(addtlChrg);
return this;
}
/**
* Adds a new item to the mix list.
* @see #getMix()
*
*/
public ATMTransaction2 addMix(ATMMediaMix1 mix) {
getMix().add(mix);
return this;
}
/**
* Adds a new item to the cmd list.
* @see #getCmd()
*
*/
public ATMTransaction2 addCmd(ATMCommand1 cmd) {
getCmd().add(cmd);
return this;
}
}