com.prowidesoftware.swift.model.mx.dic.QuoteStatus2 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
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;
/**
* Identifies the status of a quote and if required, the rejection reason, and the parties and the details of the quote.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QuoteStatus2", propOrder = {
"qtSts",
"rjctnRsn",
"qtSetDtls",
"rltdPties"
})
public class QuoteStatus2 {
@XmlElement(name = "QtSts", required = true)
@XmlSchemaType(name = "string")
protected QuoteStatus1Code qtSts;
@XmlElement(name = "RjctnRsn")
@XmlSchemaType(name = "string")
protected RejectionReason3Code rjctnRsn;
@XmlElement(name = "QtSetDtls")
protected List qtSetDtls;
@XmlElement(name = "RltdPties")
protected List rltdPties;
/**
* Gets the value of the qtSts property.
*
* @return
* possible object is
* {@link QuoteStatus1Code }
*
*/
public QuoteStatus1Code getQtSts() {
return qtSts;
}
/**
* Sets the value of the qtSts property.
*
* @param value
* allowed object is
* {@link QuoteStatus1Code }
*
*/
public QuoteStatus2 setQtSts(QuoteStatus1Code value) {
this.qtSts = value;
return this;
}
/**
* Gets the value of the rjctnRsn property.
*
* @return
* possible object is
* {@link RejectionReason3Code }
*
*/
public RejectionReason3Code getRjctnRsn() {
return rjctnRsn;
}
/**
* Sets the value of the rjctnRsn property.
*
* @param value
* allowed object is
* {@link RejectionReason3Code }
*
*/
public QuoteStatus2 setRjctnRsn(RejectionReason3Code value) {
this.rjctnRsn = value;
return this;
}
/**
* Gets the value of the qtSetDtls property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the qtSetDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getQtSetDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QuoteSet2 }
*
*
* @return
* The value of the qtSetDtls property.
*/
public List getQtSetDtls() {
if (qtSetDtls == null) {
qtSetDtls = new ArrayList<>();
}
return this.qtSetDtls;
}
/**
* Gets the value of the rltdPties property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the rltdPties property.
*
*
* For example, to add a new item, do as follows:
*
* getRltdPties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary14 }
*
*
* @return
* The value of the rltdPties property.
*/
public List getRltdPties() {
if (rltdPties == null) {
rltdPties = new ArrayList<>();
}
return this.rltdPties;
}
@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);
}
/**
* Adds a new item to the qtSetDtls list.
* @see #getQtSetDtls()
*
*/
public QuoteStatus2 addQtSetDtls(QuoteSet2 qtSetDtls) {
getQtSetDtls().add(qtSetDtls);
return this;
}
/**
* Adds a new item to the rltdPties list.
* @see #getRltdPties()
*
*/
public QuoteStatus2 addRltdPties(Intermediary14 rltdPties) {
getRltdPties().add(rltdPties);
return this;
}
}