com.prowidesoftware.swift.model.mx.dic.Garnishment2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Provides remittance information about a payment for garnishment-related purposes.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Garnishment2", propOrder = {
"tp",
"grnshee",
"grnshmtAdmstr",
"refNb",
"dt",
"rmtdAmt",
"fmlyMdclInsrncInd",
"mplyeeTermntnInd"
})
public class Garnishment2 {
@XmlElement(name = "Tp", required = true)
protected GarnishmentType1 tp;
@XmlElement(name = "Grnshee")
protected PartyIdentification125 grnshee;
@XmlElement(name = "GrnshmtAdmstr")
protected PartyIdentification125 grnshmtAdmstr;
@XmlElement(name = "RefNb")
protected String refNb;
@XmlElement(name = "Dt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar dt;
@XmlElement(name = "RmtdAmt")
protected ActiveOrHistoricCurrencyAndAmount rmtdAmt;
@XmlElement(name = "FmlyMdclInsrncInd")
protected Boolean fmlyMdclInsrncInd;
@XmlElement(name = "MplyeeTermntnInd")
protected Boolean mplyeeTermntnInd;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link GarnishmentType1 }
*
*/
public GarnishmentType1 getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link GarnishmentType1 }
*
*/
public Garnishment2 setTp(GarnishmentType1 value) {
this.tp = value;
return this;
}
/**
* Gets the value of the grnshee property.
*
* @return
* possible object is
* {@link PartyIdentification125 }
*
*/
public PartyIdentification125 getGrnshee() {
return grnshee;
}
/**
* Sets the value of the grnshee property.
*
* @param value
* allowed object is
* {@link PartyIdentification125 }
*
*/
public Garnishment2 setGrnshee(PartyIdentification125 value) {
this.grnshee = value;
return this;
}
/**
* Gets the value of the grnshmtAdmstr property.
*
* @return
* possible object is
* {@link PartyIdentification125 }
*
*/
public PartyIdentification125 getGrnshmtAdmstr() {
return grnshmtAdmstr;
}
/**
* Sets the value of the grnshmtAdmstr property.
*
* @param value
* allowed object is
* {@link PartyIdentification125 }
*
*/
public Garnishment2 setGrnshmtAdmstr(PartyIdentification125 value) {
this.grnshmtAdmstr = value;
return this;
}
/**
* Gets the value of the refNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRefNb() {
return refNb;
}
/**
* Sets the value of the refNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Garnishment2 setRefNb(String value) {
this.refNb = value;
return this;
}
/**
* Gets the value of the dt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDt() {
return dt;
}
/**
* Sets the value of the dt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public Garnishment2 setDt(XMLGregorianCalendar value) {
this.dt = value;
return this;
}
/**
* Gets the value of the rmtdAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getRmtdAmt() {
return rmtdAmt;
}
/**
* Sets the value of the rmtdAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public Garnishment2 setRmtdAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.rmtdAmt = value;
return this;
}
/**
* Gets the value of the fmlyMdclInsrncInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isFmlyMdclInsrncInd() {
return fmlyMdclInsrncInd;
}
/**
* Sets the value of the fmlyMdclInsrncInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Garnishment2 setFmlyMdclInsrncInd(Boolean value) {
this.fmlyMdclInsrncInd = value;
return this;
}
/**
* Gets the value of the mplyeeTermntnInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMplyeeTermntnInd() {
return mplyeeTermntnInd;
}
/**
* Sets the value of the mplyeeTermntnInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Garnishment2 setMplyeeTermntnInd(Boolean value) {
this.mplyeeTermntnInd = 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