com.prowidesoftware.swift.model.mx.dic.Party7Choice 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.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 = "Party7Choice", propOrder = {
"pty",
"agt"
})
public class Party7Choice {
@XmlElement(name = "Pty")
protected PartyIdentification32 pty;
@XmlElement(name = "Agt")
protected BranchAndFinancialInstitutionIdentification4 agt;
/**
* Gets the value of the pty property.
*
* @return
* possible object is
* {@link PartyIdentification32 }
*
*/
public PartyIdentification32 getPty() {
return pty;
}
/**
* Sets the value of the pty property.
*
* @param value
* allowed object is
* {@link PartyIdentification32 }
*
*/
public Party7Choice setPty(PartyIdentification32 value) {
this.pty = value;
return this;
}
/**
* Gets the value of the agt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public BranchAndFinancialInstitutionIdentification4 getAgt() {
return agt;
}
/**
* Sets the value of the agt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public Party7Choice setAgt(BranchAndFinancialInstitutionIdentification4 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