com.prowidesoftware.swift.model.mx.dic.Balance28 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Card account balance.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Balance28", propOrder = {
"tp",
"othrTp",
"amt",
"ccy",
"cdtDbt",
"crdhldrCcyInd",
"balDt"
})
public class Balance28 {
@XmlElement(name = "Tp", required = true)
@XmlSchemaType(name = "string")
protected BalanceType15Code tp;
@XmlElement(name = "OthrTp")
protected String othrTp;
@XmlElement(name = "Amt", required = true)
protected BigDecimal amt;
@XmlElement(name = "Ccy")
protected String ccy;
@XmlElement(name = "CdtDbt")
@XmlSchemaType(name = "string")
protected CreditDebit3Code cdtDbt;
@XmlElement(name = "CrdhldrCcyInd")
protected Boolean crdhldrCcyInd;
@XmlElement(name = "BalDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate balDt;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link BalanceType15Code }
*
*/
public BalanceType15Code getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link BalanceType15Code }
*
*/
public Balance28 setTp(BalanceType15Code value) {
this.tp = value;
return this;
}
/**
* Gets the value of the othrTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOthrTp() {
return othrTp;
}
/**
* Sets the value of the othrTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Balance28 setOthrTp(String value) {
this.othrTp = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Balance28 setAmt(BigDecimal value) {
this.amt = 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 Balance28 setCcy(String value) {
this.ccy = value;
return this;
}
/**
* Gets the value of the cdtDbt property.
*
* @return
* possible object is
* {@link CreditDebit3Code }
*
*/
public CreditDebit3Code getCdtDbt() {
return cdtDbt;
}
/**
* Sets the value of the cdtDbt property.
*
* @param value
* allowed object is
* {@link CreditDebit3Code }
*
*/
public Balance28 setCdtDbt(CreditDebit3Code value) {
this.cdtDbt = value;
return this;
}
/**
* Gets the value of the crdhldrCcyInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCrdhldrCcyInd() {
return crdhldrCcyInd;
}
/**
* Sets the value of the crdhldrCcyInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Balance28 setCrdhldrCcyInd(Boolean value) {
this.crdhldrCcyInd = value;
return this;
}
/**
* Gets the value of the balDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getBalDt() {
return balDt;
}
/**
* Sets the value of the balDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Balance28 setBalDt(LocalDate value) {
this.balDt = 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