com.prowidesoftware.swift.model.mx.dic.CashOption64 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
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 = "CashOption64", propOrder = {
"cdtDbtInd",
"ctrctlPmtInd",
"issrOfferrTaxbltyInd",
"incmTp",
"xmptnTp",
"ctryOfIncmSrc",
"acct",
"cshPties",
"amtDtls",
"dtDtls",
"fxDtls",
"taxVchrDtls",
"rateAndAmtDtls",
"pricDtls"
})
public class CashOption64 {
@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 GenericIdentification30 incmTp;
@XmlElement(name = "XmptnTp")
protected List xmptnTp;
@XmlElement(name = "CtryOfIncmSrc")
protected String ctryOfIncmSrc;
@XmlElement(name = "Acct")
protected Account8Choice acct;
@XmlElement(name = "CshPties")
protected CashParties34 cshPties;
@XmlElement(name = "AmtDtls", required = true)
protected CorporateActionAmounts50 amtDtls;
@XmlElement(name = "DtDtls", required = true)
protected CorporateActionDate65 dtDtls;
@XmlElement(name = "FXDtls")
protected ForeignExchangeTerms23 fxDtls;
@XmlElement(name = "TaxVchrDtls")
protected TaxVoucher4 taxVchrDtls;
@XmlElement(name = "RateAndAmtDtls")
protected RateDetails32 rateAndAmtDtls;
@XmlElement(name = "PricDtls")
protected PriceDetails23 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 CashOption64 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 CashOption64 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 CashOption64 setIssrOfferrTaxbltyInd(IssuerOfferorTaxabilityIndicator1Choice value) {
this.issrOfferrTaxbltyInd = value;
return this;
}
/**
* Gets the value of the incmTp property.
*
* @return
* possible object is
* {@link GenericIdentification30 }
*
*/
public GenericIdentification30 getIncmTp() {
return incmTp;
}
/**
* Sets the value of the incmTp property.
*
* @param value
* allowed object is
* {@link GenericIdentification30 }
*
*/
public CashOption64 setIncmTp(GenericIdentification30 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 GenericIdentification30 }
*
*
* @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 CashOption64 setCtryOfIncmSrc(String value) {
this.ctryOfIncmSrc = value;
return this;
}
/**
* Gets the value of the acct property.
*
* @return
* possible object is
* {@link Account8Choice }
*
*/
public Account8Choice getAcct() {
return acct;
}
/**
* Sets the value of the acct property.
*
* @param value
* allowed object is
* {@link Account8Choice }
*
*/
public CashOption64 setAcct(Account8Choice value) {
this.acct = value;
return this;
}
/**
* Gets the value of the cshPties property.
*
* @return
* possible object is
* {@link CashParties34 }
*
*/
public CashParties34 getCshPties() {
return cshPties;
}
/**
* Sets the value of the cshPties property.
*
* @param value
* allowed object is
* {@link CashParties34 }
*
*/
public CashOption64 setCshPties(CashParties34 value) {
this.cshPties = value;
return this;
}
/**
* Gets the value of the amtDtls property.
*
* @return
* possible object is
* {@link CorporateActionAmounts50 }
*
*/
public CorporateActionAmounts50 getAmtDtls() {
return amtDtls;
}
/**
* Sets the value of the amtDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionAmounts50 }
*
*/
public CashOption64 setAmtDtls(CorporateActionAmounts50 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 CashOption64 setDtDtls(CorporateActionDate65 value) {
this.dtDtls = value;
return this;
}
/**
* Gets the value of the fxDtls property.
*
* @return
* possible object is
* {@link ForeignExchangeTerms23 }
*
*/
public ForeignExchangeTerms23 getFXDtls() {
return fxDtls;
}
/**
* Sets the value of the fxDtls property.
*
* @param value
* allowed object is
* {@link ForeignExchangeTerms23 }
*
*/
public CashOption64 setFXDtls(ForeignExchangeTerms23 value) {
this.fxDtls = value;
return this;
}
/**
* Gets the value of the taxVchrDtls property.
*
* @return
* possible object is
* {@link TaxVoucher4 }
*
*/
public TaxVoucher4 getTaxVchrDtls() {
return taxVchrDtls;
}
/**
* Sets the value of the taxVchrDtls property.
*
* @param value
* allowed object is
* {@link TaxVoucher4 }
*
*/
public CashOption64 setTaxVchrDtls(TaxVoucher4 value) {
this.taxVchrDtls = value;
return this;
}
/**
* Gets the value of the rateAndAmtDtls property.
*
* @return
* possible object is
* {@link RateDetails32 }
*
*/
public RateDetails32 getRateAndAmtDtls() {
return rateAndAmtDtls;
}
/**
* Sets the value of the rateAndAmtDtls property.
*
* @param value
* allowed object is
* {@link RateDetails32 }
*
*/
public CashOption64 setRateAndAmtDtls(RateDetails32 value) {
this.rateAndAmtDtls = value;
return this;
}
/**
* Gets the value of the pricDtls property.
*
* @return
* possible object is
* {@link PriceDetails23 }
*
*/
public PriceDetails23 getPricDtls() {
return pricDtls;
}
/**
* Sets the value of the pricDtls property.
*
* @param value
* allowed object is
* {@link PriceDetails23 }
*
*/
public CashOption64 setPricDtls(PriceDetails23 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 CashOption64 addXmptnTp(GenericIdentification30 xmptnTp) {
getXmptnTp().add(xmptnTp);
return this;
}
}