com.prowidesoftware.swift.model.mx.dic.CashOption100 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;
/**
* Provides information about the cash option.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashOption100", propOrder = {
"cdtDbtInd",
"ctrctlPmtInd",
"nonElgblPrcdsInd",
"issrOfferrTaxbltyInd",
"incmTp",
"othrIncmTp",
"xmptnTp",
"ctryOfIncmSrc",
"cshAcctId",
"amtDtls",
"dtDtls",
"fxDtls",
"rateAndAmtDtls",
"pricDtls"
})
public class CashOption100 {
@XmlElement(name = "CdtDbtInd", required = true)
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "CtrctlPmtInd")
@XmlSchemaType(name = "string")
protected Payment2Code ctrctlPmtInd;
@XmlElement(name = "NonElgblPrcdsInd")
protected NonEligibleProceedsIndicator6Choice nonElgblPrcdsInd;
@XmlElement(name = "IssrOfferrTaxbltyInd")
protected IssuerOfferorTaxabilityIndicator1Choice issrOfferrTaxbltyInd;
@XmlElement(name = "IncmTp")
protected GenericIdentification47 incmTp;
@XmlElement(name = "OthrIncmTp")
protected List othrIncmTp;
@XmlElement(name = "XmptnTp")
protected List xmptnTp;
@XmlElement(name = "CtryOfIncmSrc")
protected String ctryOfIncmSrc;
@XmlElement(name = "CshAcctId")
protected CashAccountIdentification6Choice cshAcctId;
@XmlElement(name = "AmtDtls")
protected CorporateActionAmounts69 amtDtls;
@XmlElement(name = "DtDtls", required = true)
protected CorporateActionDate97 dtDtls;
@XmlElement(name = "FXDtls")
protected ForeignExchangeTerms28 fxDtls;
@XmlElement(name = "RateAndAmtDtls")
protected Rate38 rateAndAmtDtls;
@XmlElement(name = "PricDtls")
protected PriceDetails35 pricDtls;
/**
* Gets the value of the cdtDbtInd property.
*
* @return
* possible object is
* {@link CreditDebitCode }
*
*/
public CreditDebitCode getCdtDbtInd() {
return cdtDbtInd;
}
/**
* Sets the value of the cdtDbtInd property.
*
* @param value
* allowed object is
* {@link CreditDebitCode }
*
*/
public CashOption100 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the ctrctlPmtInd property.
*
* @return
* possible object is
* {@link Payment2Code }
*
*/
public Payment2Code getCtrctlPmtInd() {
return ctrctlPmtInd;
}
/**
* Sets the value of the ctrctlPmtInd property.
*
* @param value
* allowed object is
* {@link Payment2Code }
*
*/
public CashOption100 setCtrctlPmtInd(Payment2Code value) {
this.ctrctlPmtInd = value;
return this;
}
/**
* Gets the value of the nonElgblPrcdsInd property.
*
* @return
* possible object is
* {@link NonEligibleProceedsIndicator6Choice }
*
*/
public NonEligibleProceedsIndicator6Choice getNonElgblPrcdsInd() {
return nonElgblPrcdsInd;
}
/**
* Sets the value of the nonElgblPrcdsInd property.
*
* @param value
* allowed object is
* {@link NonEligibleProceedsIndicator6Choice }
*
*/
public CashOption100 setNonElgblPrcdsInd(NonEligibleProceedsIndicator6Choice value) {
this.nonElgblPrcdsInd = value;
return this;
}
/**
* Gets the value of the issrOfferrTaxbltyInd property.
*
* @return
* possible object is
* {@link IssuerOfferorTaxabilityIndicator1Choice }
*
*/
public IssuerOfferorTaxabilityIndicator1Choice getIssrOfferrTaxbltyInd() {
return issrOfferrTaxbltyInd;
}
/**
* Sets the value of the issrOfferrTaxbltyInd property.
*
* @param value
* allowed object is
* {@link IssuerOfferorTaxabilityIndicator1Choice }
*
*/
public CashOption100 setIssrOfferrTaxbltyInd(IssuerOfferorTaxabilityIndicator1Choice value) {
this.issrOfferrTaxbltyInd = value;
return this;
}
/**
* Gets the value of the incmTp property.
*
* @return
* possible object is
* {@link GenericIdentification47 }
*
*/
public GenericIdentification47 getIncmTp() {
return incmTp;
}
/**
* Sets the value of the incmTp property.
*
* @param value
* allowed object is
* {@link GenericIdentification47 }
*
*/
public CashOption100 setIncmTp(GenericIdentification47 value) {
this.incmTp = value;
return this;
}
/**
* Gets the value of the othrIncmTp 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 othrIncmTp property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrIncmTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GenericIdentification47 }
*
*
* @return
* The value of the othrIncmTp property.
*/
public List getOthrIncmTp() {
if (othrIncmTp == null) {
othrIncmTp = new ArrayList<>();
}
return this.othrIncmTp;
}
/**
* Gets the value of the xmptnTp 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 xmptnTp property.
*
*
* For example, to add a new item, do as follows:
*
* getXmptnTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GenericIdentification47 }
*
*
* @return
* The value of the xmptnTp property.
*/
public List getXmptnTp() {
if (xmptnTp == null) {
xmptnTp = new ArrayList<>();
}
return this.xmptnTp;
}
/**
* Gets the value of the ctryOfIncmSrc property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCtryOfIncmSrc() {
return ctryOfIncmSrc;
}
/**
* Sets the value of the ctryOfIncmSrc property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashOption100 setCtryOfIncmSrc(String value) {
this.ctryOfIncmSrc = value;
return this;
}
/**
* Gets the value of the cshAcctId property.
*
* @return
* possible object is
* {@link CashAccountIdentification6Choice }
*
*/
public CashAccountIdentification6Choice getCshAcctId() {
return cshAcctId;
}
/**
* Sets the value of the cshAcctId property.
*
* @param value
* allowed object is
* {@link CashAccountIdentification6Choice }
*
*/
public CashOption100 setCshAcctId(CashAccountIdentification6Choice value) {
this.cshAcctId = value;
return this;
}
/**
* Gets the value of the amtDtls property.
*
* @return
* possible object is
* {@link CorporateActionAmounts69 }
*
*/
public CorporateActionAmounts69 getAmtDtls() {
return amtDtls;
}
/**
* Sets the value of the amtDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionAmounts69 }
*
*/
public CashOption100 setAmtDtls(CorporateActionAmounts69 value) {
this.amtDtls = value;
return this;
}
/**
* Gets the value of the dtDtls property.
*
* @return
* possible object is
* {@link CorporateActionDate97 }
*
*/
public CorporateActionDate97 getDtDtls() {
return dtDtls;
}
/**
* Sets the value of the dtDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionDate97 }
*
*/
public CashOption100 setDtDtls(CorporateActionDate97 value) {
this.dtDtls = value;
return this;
}
/**
* Gets the value of the fxDtls property.
*
* @return
* possible object is
* {@link ForeignExchangeTerms28 }
*
*/
public ForeignExchangeTerms28 getFXDtls() {
return fxDtls;
}
/**
* Sets the value of the fxDtls property.
*
* @param value
* allowed object is
* {@link ForeignExchangeTerms28 }
*
*/
public CashOption100 setFXDtls(ForeignExchangeTerms28 value) {
this.fxDtls = value;
return this;
}
/**
* Gets the value of the rateAndAmtDtls property.
*
* @return
* possible object is
* {@link Rate38 }
*
*/
public Rate38 getRateAndAmtDtls() {
return rateAndAmtDtls;
}
/**
* Sets the value of the rateAndAmtDtls property.
*
* @param value
* allowed object is
* {@link Rate38 }
*
*/
public CashOption100 setRateAndAmtDtls(Rate38 value) {
this.rateAndAmtDtls = value;
return this;
}
/**
* Gets the value of the pricDtls property.
*
* @return
* possible object is
* {@link PriceDetails35 }
*
*/
public PriceDetails35 getPricDtls() {
return pricDtls;
}
/**
* Sets the value of the pricDtls property.
*
* @param value
* allowed object is
* {@link PriceDetails35 }
*
*/
public CashOption100 setPricDtls(PriceDetails35 value) {
this.pricDtls = 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);
}
/**
* Adds a new item to the othrIncmTp list.
* @see #getOthrIncmTp()
*
*/
public CashOption100 addOthrIncmTp(GenericIdentification47 othrIncmTp) {
getOthrIncmTp().add(othrIncmTp);
return this;
}
/**
* Adds a new item to the xmptnTp list.
* @see #getXmptnTp()
*
*/
public CashOption100 addXmptnTp(GenericIdentification47 xmptnTp) {
getXmptnTp().add(xmptnTp);
return this;
}
}