com.prowidesoftware.swift.model.mx.dic.CashAccount5 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
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;
/**
* Account to or from which a cash entry is made.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashAccount5", propOrder = {
"id",
"nm",
"tp",
"ccy",
"sts"
})
public class CashAccount5 {
@XmlElement(name = "Id", required = true)
protected CashAccountIdentification1Choice id;
@XmlElement(name = "Nm", required = true)
protected String nm;
@XmlElement(name = "Tp")
@XmlSchemaType(name = "string")
protected CashAccountType1Code tp;
@XmlElement(name = "Ccy", required = true)
protected String ccy;
@XmlElement(name = "Sts", required = true)
@XmlSchemaType(name = "string")
protected AccountStatus1Code sts;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link CashAccountIdentification1Choice }
*
*/
public CashAccountIdentification1Choice getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link CashAccountIdentification1Choice }
*
*/
public CashAccount5 setId(CashAccountIdentification1Choice value) {
this.id = value;
return this;
}
/**
* Gets the value of the nm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNm() {
return nm;
}
/**
* Sets the value of the nm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashAccount5 setNm(String value) {
this.nm = value;
return this;
}
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link CashAccountType1Code }
*
*/
public CashAccountType1Code getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link CashAccountType1Code }
*
*/
public CashAccount5 setTp(CashAccountType1Code value) {
this.tp = value;
return this;
}
/**
* Gets the value of the ccy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCcy() {
return ccy;
}
/**
* Sets the value of the ccy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashAccount5 setCcy(String value) {
this.ccy = value;
return this;
}
/**
* Gets the value of the sts property.
*
* @return
* possible object is
* {@link AccountStatus1Code }
*
*/
public AccountStatus1Code getSts() {
return sts;
}
/**
* Sets the value of the sts property.
*
* @param value
* allowed object is
* {@link AccountStatus1Code }
*
*/
public CashAccount5 setSts(AccountStatus1Code value) {
this.sts = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy