com.prowidesoftware.swift.model.mx.dic.ATMTransaction22 Maven / Gradle / Ivy
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;
/**
* Response to the PIN management transaction. request.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ATMTransaction22", propOrder = {
"txId",
"rcncltnId",
"cmpltnReqrd",
"txRspn",
"actn",
"iccRltdData",
"cmd"
})
public class ATMTransaction22 {
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifier1 txId;
@XmlElement(name = "RcncltnId")
protected String rcncltnId;
@XmlElement(name = "CmpltnReqrd")
protected Boolean cmpltnReqrd;
@XmlElement(name = "TxRspn", required = true)
protected ResponseType7 txRspn;
@XmlElement(name = "Actn")
protected List actn;
@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 ATMTransaction22 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 ATMTransaction22 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 ATMTransaction22 setCmpltnReqrd(Boolean value) {
this.cmpltnReqrd = value;
return this;
}
/**
* Gets the value of the txRspn property.
*
* @return
* possible object is
* {@link ResponseType7 }
*
*/
public ResponseType7 getTxRspn() {
return txRspn;
}
/**
* Sets the value of the txRspn property.
*
* @param value
* allowed object is
* {@link ResponseType7 }
*
*/
public ATMTransaction22 setTxRspn(ResponseType7 value) {
this.txRspn = value;
return this;
}
/**
* Gets the value of the actn 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 actn property.
*
*
* For example, to add a new item, do as follows:
*
* getActn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Action7 }
*
*
* @return
* The value of the actn property.
*/
public List getActn() {
if (actn == null) {
actn = new ArrayList<>();
}
return this.actn;
}
/**
* 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 ATMTransaction22 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the cmd property.
*/
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 actn list.
* @see #getActn()
*
*/
public ATMTransaction22 addActn(Action7 actn) {
getActn().add(actn);
return this;
}
/**
* Adds a new item to the cmd list.
* @see #getCmd()
*
*/
public ATMTransaction22 addCmd(ATMCommand7 cmd) {
getCmd().add(cmd);
return this;
}
}