com.prowidesoftware.swift.model.mx.dic.ATMService21 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.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;
/**
* Service provided by the ATM inside the session.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ATMService21", propOrder = {
"svcRef",
"atmSvcCd",
"hstSvcCd",
"svcTp",
"svcVarntId"
})
public class ATMService21 {
@XmlElement(name = "SvcRef")
protected String svcRef;
@XmlElement(name = "ATMSvcCd")
protected String atmSvcCd;
@XmlElement(name = "HstSvcCd")
protected String hstSvcCd;
@XmlElement(name = "SvcTp", required = true)
@XmlSchemaType(name = "string")
protected ATMServiceType5Code svcTp;
@XmlElement(name = "SvcVarntId")
protected List svcVarntId;
/**
* Gets the value of the svcRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSvcRef() {
return svcRef;
}
/**
* Sets the value of the svcRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ATMService21 setSvcRef(String value) {
this.svcRef = value;
return this;
}
/**
* Gets the value of the atmSvcCd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getATMSvcCd() {
return atmSvcCd;
}
/**
* Sets the value of the atmSvcCd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ATMService21 setATMSvcCd(String value) {
this.atmSvcCd = value;
return this;
}
/**
* Gets the value of the hstSvcCd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHstSvcCd() {
return hstSvcCd;
}
/**
* Sets the value of the hstSvcCd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ATMService21 setHstSvcCd(String value) {
this.hstSvcCd = value;
return this;
}
/**
* Gets the value of the svcTp property.
*
* @return
* possible object is
* {@link ATMServiceType5Code }
*
*/
public ATMServiceType5Code getSvcTp() {
return svcTp;
}
/**
* Sets the value of the svcTp property.
*
* @param value
* allowed object is
* {@link ATMServiceType5Code }
*
*/
public ATMService21 setSvcTp(ATMServiceType5Code value) {
this.svcTp = value;
return this;
}
/**
* Gets the value of the svcVarntId 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 svcVarntId property.
*
*
* For example, to add a new item, do as follows:
*
* getSvcVarntId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the svcVarntId property.
*/
public List getSvcVarntId() {
if (svcVarntId == null) {
svcVarntId = new ArrayList<>();
}
return this.svcVarntId;
}
@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 svcVarntId list.
* @see #getSvcVarntId()
*
*/
public ATMService21 addSvcVarntId(String svcVarntId) {
getSvcVarntId().add(svcVarntId);
return this;
}
}