com.prowidesoftware.swift.model.mx.dic.ApprovalEntity2 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;
/**
* Entity that has delivered or declined the card payment authorisation (the party may be unidentified).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ApprovalEntity2", propOrder = {
"id",
"tp",
"othrTp",
"assgnr",
"ctry",
"shrtNm"
})
public class ApprovalEntity2 {
@XmlElement(name = "Id")
protected String id;
@XmlElement(name = "Tp", required = true)
@XmlSchemaType(name = "string")
protected PartyType26Code tp;
@XmlElement(name = "OthrTp")
protected String othrTp;
@XmlElement(name = "Assgnr")
@XmlSchemaType(name = "string")
protected PartyType9Code assgnr;
@XmlElement(name = "Ctry")
protected String ctry;
@XmlElement(name = "ShrtNm")
protected String shrtNm;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ApprovalEntity2 setId(String value) {
this.id = value;
return this;
}
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link PartyType26Code }
*
*/
public PartyType26Code getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link PartyType26Code }
*
*/
public ApprovalEntity2 setTp(PartyType26Code 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 ApprovalEntity2 setOthrTp(String value) {
this.othrTp = value;
return this;
}
/**
* Gets the value of the assgnr property.
*
* @return
* possible object is
* {@link PartyType9Code }
*
*/
public PartyType9Code getAssgnr() {
return assgnr;
}
/**
* Sets the value of the assgnr property.
*
* @param value
* allowed object is
* {@link PartyType9Code }
*
*/
public ApprovalEntity2 setAssgnr(PartyType9Code value) {
this.assgnr = value;
return this;
}
/**
* Gets the value of the ctry property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCtry() {
return ctry;
}
/**
* Sets the value of the ctry property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ApprovalEntity2 setCtry(String value) {
this.ctry = value;
return this;
}
/**
* Gets the value of the shrtNm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShrtNm() {
return shrtNm;
}
/**
* Sets the value of the shrtNm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ApprovalEntity2 setShrtNm(String value) {
this.shrtNm = 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