com.prowidesoftware.swift.model.mx.dic.CashOption80 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 = "CashOption80", propOrder = {
"cdtDbtInd",
"ctrctlPmtInd",
"issrOfferrTaxbltyInd",
"incmTp",
"othrIncmTp",
"xmptnTp",
"ctryOfIncmSrc",
"acct",
"cshPties",
"amtDtls",
"dtDtls",
"fxDtls",
"taxVchrDtls",
"rateAndAmtDtls",
"pricDtls"
})
public class CashOption80 {
@XmlElement(name = "CdtDbtInd", required = true)
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "CtrctlPmtInd")
@XmlSchemaType(name = "string")
protected Payment1Code ctrctlPmtInd;
@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 = "Acct")
protected Account9Choice acct;
@XmlElement(name = "CshPties")
protected CashParties37 cshPties;
@XmlElement(name = "AmtDtls", required = true)
protected CorporateActionAmounts57 amtDtls;
@XmlElement(name = "DtDtls", required = true)
protected CorporateActionDate65 dtDtls;
@XmlElement(name = "FXDtls")
protected List fxDtls;
@XmlElement(name = "TaxVchrDtls")
protected TaxVoucher5 taxVchrDtls;
@XmlElement(name = "RateAndAmtDtls")
protected Rate37 rateAndAmtDtls;
@XmlElement(name = "PricDtls")
protected PriceDetails30 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 CashOption80 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 CashOption80 setCtrctlPmtInd(Payment1Code value) {
this.ctrctlPmtInd = 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 CashOption80 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 CashOption80 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 CashOption80 setCtryOfIncmSrc(String value) {
this.ctryOfIncmSrc = value;
return this;
}
/**
* Gets the value of the acct property.
*
* @return
* possible object is
* {@link Account9Choice }
*
*/
public Account9Choice getAcct() {
return acct;
}
/**
* Sets the value of the acct property.
*
* @param value
* allowed object is
* {@link Account9Choice }
*
*/
public CashOption80 setAcct(Account9Choice value) {
this.acct = value;
return this;
}
/**
* Gets the value of the cshPties property.
*
* @return
* possible object is
* {@link CashParties37 }
*
*/
public CashParties37 getCshPties() {
return cshPties;
}
/**
* Sets the value of the cshPties property.
*
* @param value
* allowed object is
* {@link CashParties37 }
*
*/
public CashOption80 setCshPties(CashParties37 value) {
this.cshPties = value;
return this;
}
/**
* Gets the value of the amtDtls property.
*
* @return
* possible object is
* {@link CorporateActionAmounts57 }
*
*/
public CorporateActionAmounts57 getAmtDtls() {
return amtDtls;
}
/**
* Sets the value of the amtDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionAmounts57 }
*
*/
public CashOption80 setAmtDtls(CorporateActionAmounts57 value) {
this.amtDtls = value;
return this;
}
/**
* Gets the value of the dtDtls property.
*
* @return
* possible object is
* {@link CorporateActionDate65 }
*
*/
public CorporateActionDate65 getDtDtls() {
return dtDtls;
}
/**
* Sets the value of the dtDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionDate65 }
*
*/
public CashOption80 setDtDtls(CorporateActionDate65 value) {
this.dtDtls = value;
return this;
}
/**
* Gets the value of the fxDtls 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 fxDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getFXDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ForeignExchangeTerms27 }
*
*
* @return
* The value of the fxDtls property.
*/
public List getFXDtls() {
if (fxDtls == null) {
fxDtls = new ArrayList<>();
}
return this.fxDtls;
}
/**
* Gets the value of the taxVchrDtls property.
*
* @return
* possible object is
* {@link TaxVoucher5 }
*
*/
public TaxVoucher5 getTaxVchrDtls() {
return taxVchrDtls;
}
/**
* Sets the value of the taxVchrDtls property.
*
* @param value
* allowed object is
* {@link TaxVoucher5 }
*
*/
public CashOption80 setTaxVchrDtls(TaxVoucher5 value) {
this.taxVchrDtls = value;
return this;
}
/**
* Gets the value of the rateAndAmtDtls property.
*
* @return
* possible object is
* {@link Rate37 }
*
*/
public Rate37 getRateAndAmtDtls() {
return rateAndAmtDtls;
}
/**
* Sets the value of the rateAndAmtDtls property.
*
* @param value
* allowed object is
* {@link Rate37 }
*
*/
public CashOption80 setRateAndAmtDtls(Rate37 value) {
this.rateAndAmtDtls = value;
return this;
}
/**
* Gets the value of the pricDtls property.
*
* @return
* possible object is
* {@link PriceDetails30 }
*
*/
public PriceDetails30 getPricDtls() {
return pricDtls;
}
/**
* Sets the value of the pricDtls property.
*
* @param value
* allowed object is
* {@link PriceDetails30 }
*
*/
public CashOption80 setPricDtls(PriceDetails30 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 CashOption80 addOthrIncmTp(GenericIdentification47 othrIncmTp) {
getOthrIncmTp().add(othrIncmTp);
return this;
}
/**
* Adds a new item to the xmptnTp list.
* @see #getXmptnTp()
*
*/
public CashOption80 addXmptnTp(GenericIdentification47 xmptnTp) {
getXmptnTp().add(xmptnTp);
return this;
}
/**
* Adds a new item to the fXDtls list.
* @see #getFXDtls()
*
*/
public CashOption80 addFXDtls(ForeignExchangeTerms27 fXDtls) {
getFXDtls().add(fXDtls);
return this;
}
}