com.prowidesoftware.swift.model.mx.dic.Party12Choice 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.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;
/**
* Identification of a person, an organisation or a financial institution.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Party12Choice", propOrder = {
"pty",
"agt"
})
public class Party12Choice {
@XmlElement(name = "Pty")
protected PartyIdentification43 pty;
@XmlElement(name = "Agt")
protected BranchAndFinancialInstitutionIdentification5 agt;
/**
* Gets the value of the pty property.
*
* @return
* possible object is
* {@link PartyIdentification43 }
*
*/
public PartyIdentification43 getPty() {
return pty;
}
/**
* Sets the value of the pty property.
*
* @param value
* allowed object is
* {@link PartyIdentification43 }
*
*/
public Party12Choice setPty(PartyIdentification43 value) {
this.pty = value;
return this;
}
/**
* Gets the value of the agt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getAgt() {
return agt;
}
/**
* Sets the value of the agt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public Party12Choice setAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.agt = 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