
com.prowidesoftware.swift.model.mx.dic.Adjustment7 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 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;
/**
* Modification on the value of goods and / or services. For example: rebate, discount, surcharge
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Adjustment7", propOrder = {
"tp",
"amtOrPctg",
"drctn"
})
public class Adjustment7 {
@XmlElement(name = "Tp", required = true)
protected AdjustmentType1Choice tp;
@XmlElement(name = "AmtOrPctg", required = true)
protected AmountOrPercentage2Choice amtOrPctg;
@XmlElement(name = "Drctn", required = true)
@XmlSchemaType(name = "string")
protected AdjustmentDirection1Code drctn;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link AdjustmentType1Choice }
*
*/
public AdjustmentType1Choice getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link AdjustmentType1Choice }
*
*/
public Adjustment7 setTp(AdjustmentType1Choice value) {
this.tp = value;
return this;
}
/**
* Gets the value of the amtOrPctg property.
*
* @return
* possible object is
* {@link AmountOrPercentage2Choice }
*
*/
public AmountOrPercentage2Choice getAmtOrPctg() {
return amtOrPctg;
}
/**
* Sets the value of the amtOrPctg property.
*
* @param value
* allowed object is
* {@link AmountOrPercentage2Choice }
*
*/
public Adjustment7 setAmtOrPctg(AmountOrPercentage2Choice value) {
this.amtOrPctg = value;
return this;
}
/**
* Gets the value of the drctn property.
*
* @return
* possible object is
* {@link AdjustmentDirection1Code }
*
*/
public AdjustmentDirection1Code getDrctn() {
return drctn;
}
/**
* Sets the value of the drctn property.
*
* @param value
* allowed object is
* {@link AdjustmentDirection1Code }
*
*/
public Adjustment7 setDrctn(AdjustmentDirection1Code value) {
this.drctn = 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