com.prowidesoftware.swift.model.mx.dic.Quantity52Choice 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
The newest version!
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;
/**
* Choice between different formats of securities quantity.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Quantity52Choice", propOrder = {
"cd",
"orgnlAndCurFaceAmt",
"qty"
})
public class Quantity52Choice {
@XmlElement(name = "Cd")
@XmlSchemaType(name = "string")
protected Quantity1Code cd;
@XmlElement(name = "OrgnlAndCurFaceAmt")
protected OriginalAndCurrentQuantities1 orgnlAndCurFaceAmt;
@XmlElement(name = "Qty")
protected FinancialInstrumentQuantity33Choice qty;
/**
* Gets the value of the cd property.
*
* @return
* possible object is
* {@link Quantity1Code }
*
*/
public Quantity1Code getCd() {
return cd;
}
/**
* Sets the value of the cd property.
*
* @param value
* allowed object is
* {@link Quantity1Code }
*
*/
public Quantity52Choice setCd(Quantity1Code value) {
this.cd = value;
return this;
}
/**
* Gets the value of the orgnlAndCurFaceAmt property.
*
* @return
* possible object is
* {@link OriginalAndCurrentQuantities1 }
*
*/
public OriginalAndCurrentQuantities1 getOrgnlAndCurFaceAmt() {
return orgnlAndCurFaceAmt;
}
/**
* Sets the value of the orgnlAndCurFaceAmt property.
*
* @param value
* allowed object is
* {@link OriginalAndCurrentQuantities1 }
*
*/
public Quantity52Choice setOrgnlAndCurFaceAmt(OriginalAndCurrentQuantities1 value) {
this.orgnlAndCurFaceAmt = value;
return this;
}
/**
* Gets the value of the qty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity33Choice }
*
*/
public FinancialInstrumentQuantity33Choice getQty() {
return qty;
}
/**
* Sets the value of the qty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity33Choice }
*
*/
public Quantity52Choice setQty(FinancialInstrumentQuantity33Choice value) {
this.qty = 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