com.prowidesoftware.swift.model.mx.dic.PledgeeFormat1Choice 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;
/**
* Choice between formats for the entity to which the financial instruments are pledged.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PledgeeFormat1Choice", propOrder = {
"tpAndId",
"id",
"prtry"
})
public class PledgeeFormat1Choice {
@XmlElement(name = "TpAndId")
protected PledgeeTypeAndAnyBICIdentifier1 tpAndId;
@XmlElement(name = "Id")
protected PledgeeTypeAndText1 id;
@XmlElement(name = "Prtry")
protected GenericIdentification58 prtry;
/**
* Gets the value of the tpAndId property.
*
* @return
* possible object is
* {@link PledgeeTypeAndAnyBICIdentifier1 }
*
*/
public PledgeeTypeAndAnyBICIdentifier1 getTpAndId() {
return tpAndId;
}
/**
* Sets the value of the tpAndId property.
*
* @param value
* allowed object is
* {@link PledgeeTypeAndAnyBICIdentifier1 }
*
*/
public PledgeeFormat1Choice setTpAndId(PledgeeTypeAndAnyBICIdentifier1 value) {
this.tpAndId = value;
return this;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link PledgeeTypeAndText1 }
*
*/
public PledgeeTypeAndText1 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link PledgeeTypeAndText1 }
*
*/
public PledgeeFormat1Choice setId(PledgeeTypeAndText1 value) {
this.id = value;
return this;
}
/**
* Gets the value of the prtry property.
*
* @return
* possible object is
* {@link GenericIdentification58 }
*
*/
public GenericIdentification58 getPrtry() {
return prtry;
}
/**
* Sets the value of the prtry property.
*
* @param value
* allowed object is
* {@link GenericIdentification58 }
*
*/
public PledgeeFormat1Choice setPrtry(GenericIdentification58 value) {
this.prtry = 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