com.prowidesoftware.swift.model.mx.dic.CashOption68 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 = "CashOption68", propOrder = {
"cdtDbtInd",
"ctrctlPmtInd",
"nonElgblPrcdsInd",
"issrOfferrTaxbltyInd",
"incmTp",
"xmptnTp",
"ctryOfIncmSrc",
"cshAcctId",
"amtDtls",
"dtDtls",
"fxDtls",
"rateAndAmtDtls",
"pricDtls"
})
public class CashOption68 {
@XmlElement(name = "CdtDbtInd", required = true)
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "CtrctlPmtInd")
@XmlSchemaType(name = "string")
protected Payment1Code ctrctlPmtInd;
@XmlElement(name = "NonElgblPrcdsInd")
protected NonEligibleProceedsIndicator4Choice nonElgblPrcdsInd;
@XmlElement(name = "IssrOfferrTaxbltyInd")
protected IssuerOfferorTaxabilityIndicator1Choice issrOfferrTaxbltyInd;
@XmlElement(name = "IncmTp")
protected GenericIdentification47 incmTp;
@XmlElement(name = "XmptnTp")
protected List xmptnTp;
@XmlElement(name = "CtryOfIncmSrc")
protected String ctryOfIncmSrc;
@XmlElement(name = "CshAcctId")
protected CashAccountIdentification6Choice cshAcctId;
@XmlElement(name = "AmtDtls")
protected CorporateActionAmounts52 amtDtls;
@XmlElement(name = "DtDtls", required = true)
protected CorporateActionDate72 dtDtls;
@XmlElement(name = "FXDtls")
protected ForeignExchangeTerms28 fxDtls;
@XmlElement(name = "RateAndAmtDtls")
protected RateDetails34 rateAndAmtDtls;
@XmlElement(name = "PricDtls")
protected PriceDetails25 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 CashOption68 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the ctrctlPmtInd property.
*
* @return
* possible object is
* {@link Payment1Code }
*
*/
public Payment1Code getCtrctlPmtInd() {
return ctrctlPmtInd;
}
/**
* Sets the value of the ctrctlPmtInd property.
*
* @param value
* allowed object is
* {@link Payment1Code }
*
*/
public CashOption68 setCtrctlPmtInd(Payment1Code value) {
this.ctrctlPmtInd = value;
return this;
}
/**
* Gets the value of the nonElgblPrcdsInd property.
*
* @return
* possible object is
* {@link NonEligibleProceedsIndicator4Choice }
*
*/
public NonEligibleProceedsIndicator4Choice getNonElgblPrcdsInd() {
return nonElgblPrcdsInd;
}
/**
* Sets the value of the nonElgblPrcdsInd property.
*
* @param value
* allowed object is
* {@link NonEligibleProceedsIndicator4Choice }
*
*/
public CashOption68 setNonElgblPrcdsInd(NonEligibleProceedsIndicator4Choice 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 CashOption68 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 CashOption68 setIncmTp(GenericIdentification47 value) {
this.incmTp = value;
return this;
}
/**
* 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 CashOption68 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 CashOption68 setCshAcctId(CashAccountIdentification6Choice value) {
this.cshAcctId = value;
return this;
}
/**
* Gets the value of the amtDtls property.
*
* @return
* possible object is
* {@link CorporateActionAmounts52 }
*
*/
public CorporateActionAmounts52 getAmtDtls() {
return amtDtls;
}
/**
* Sets the value of the amtDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionAmounts52 }
*
*/
public CashOption68 setAmtDtls(CorporateActionAmounts52 value) {
this.amtDtls = value;
return this;
}
/**
* Gets the value of the dtDtls property.
*
* @return
* possible object is
* {@link CorporateActionDate72 }
*
*/
public CorporateActionDate72 getDtDtls() {
return dtDtls;
}
/**
* Sets the value of the dtDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionDate72 }
*
*/
public CashOption68 setDtDtls(CorporateActionDate72 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 CashOption68 setFXDtls(ForeignExchangeTerms28 value) {
this.fxDtls = value;
return this;
}
/**
* Gets the value of the rateAndAmtDtls property.
*
* @return
* possible object is
* {@link RateDetails34 }
*
*/
public RateDetails34 getRateAndAmtDtls() {
return rateAndAmtDtls;
}
/**
* Sets the value of the rateAndAmtDtls property.
*
* @param value
* allowed object is
* {@link RateDetails34 }
*
*/
public CashOption68 setRateAndAmtDtls(RateDetails34 value) {
this.rateAndAmtDtls = value;
return this;
}
/**
* Gets the value of the pricDtls property.
*
* @return
* possible object is
* {@link PriceDetails25 }
*
*/
public PriceDetails25 getPricDtls() {
return pricDtls;
}
/**
* Sets the value of the pricDtls property.
*
* @param value
* allowed object is
* {@link PriceDetails25 }
*
*/
public CashOption68 setPricDtls(PriceDetails25 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 xmptnTp list.
* @see #getXmptnTp()
*
*/
public CashOption68 addXmptnTp(GenericIdentification47 xmptnTp) {
getXmptnTp().add(xmptnTp);
return this;
}
}