com.prowidesoftware.swift.model.mx.dic.ReceiveInformation16 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Parameters applied to the settlement of a security transfer.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ReceiveInformation16", propOrder = {
"trfee",
"trfeeRegdAcct",
"intrmyInf",
"reqdSttlmDt",
"sttlmAmt",
"stmpDty",
"netAmt",
"sttlmPtiesDtls",
"chrgDtls",
"comssnDtls",
"taxDtls",
"fxDtls",
"physTrf",
"physTrfDtls",
"clntRef"
})
public class ReceiveInformation16 {
@XmlElement(name = "Trfee")
protected PartyIdentification70Choice trfee;
@XmlElement(name = "TrfeeRegdAcct")
protected Account19 trfeeRegdAcct;
@XmlElement(name = "IntrmyInf")
protected List intrmyInf;
@XmlElement(name = "ReqdSttlmDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate reqdSttlmDt;
@XmlElement(name = "SttlmAmt")
protected ActiveCurrencyAndAmount sttlmAmt;
@XmlElement(name = "StmpDty")
@XmlSchemaType(name = "string")
protected StampDutyType2Code stmpDty;
@XmlElement(name = "NetAmt")
protected ActiveCurrencyAndAmount netAmt;
@XmlElement(name = "SttlmPtiesDtls")
protected ReceivingPartiesAndAccount13 sttlmPtiesDtls;
@XmlElement(name = "ChrgDtls")
protected List chrgDtls;
@XmlElement(name = "ComssnDtls")
protected List comssnDtls;
@XmlElement(name = "TaxDtls")
protected List taxDtls;
@XmlElement(name = "FXDtls")
protected List fxDtls;
@XmlElement(name = "PhysTrf")
@XmlSchemaType(name = "string")
protected PhysicalTransferType1Code physTrf;
@XmlElement(name = "PhysTrfDtls")
protected DeliveryParameters4 physTrfDtls;
@XmlElement(name = "ClntRef")
protected AdditionalReference7 clntRef;
/**
* Gets the value of the trfee property.
*
* @return
* possible object is
* {@link PartyIdentification70Choice }
*
*/
public PartyIdentification70Choice getTrfee() {
return trfee;
}
/**
* Sets the value of the trfee property.
*
* @param value
* allowed object is
* {@link PartyIdentification70Choice }
*
*/
public ReceiveInformation16 setTrfee(PartyIdentification70Choice value) {
this.trfee = value;
return this;
}
/**
* Gets the value of the trfeeRegdAcct property.
*
* @return
* possible object is
* {@link Account19 }
*
*/
public Account19 getTrfeeRegdAcct() {
return trfeeRegdAcct;
}
/**
* Sets the value of the trfeeRegdAcct property.
*
* @param value
* allowed object is
* {@link Account19 }
*
*/
public ReceiveInformation16 setTrfeeRegdAcct(Account19 value) {
this.trfeeRegdAcct = value;
return this;
}
/**
* Gets the value of the intrmyInf 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 intrmyInf property.
*
*
* For example, to add a new item, do as follows:
*
* getIntrmyInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary34 }
*
*
* @return
* The value of the intrmyInf property.
*/
public List getIntrmyInf() {
if (intrmyInf == null) {
intrmyInf = new ArrayList<>();
}
return this.intrmyInf;
}
/**
* Gets the value of the reqdSttlmDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getReqdSttlmDt() {
return reqdSttlmDt;
}
/**
* Sets the value of the reqdSttlmDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ReceiveInformation16 setReqdSttlmDt(LocalDate value) {
this.reqdSttlmDt = value;
return this;
}
/**
* Gets the value of the sttlmAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getSttlmAmt() {
return sttlmAmt;
}
/**
* Sets the value of the sttlmAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ReceiveInformation16 setSttlmAmt(ActiveCurrencyAndAmount value) {
this.sttlmAmt = value;
return this;
}
/**
* Gets the value of the stmpDty property.
*
* @return
* possible object is
* {@link StampDutyType2Code }
*
*/
public StampDutyType2Code getStmpDty() {
return stmpDty;
}
/**
* Sets the value of the stmpDty property.
*
* @param value
* allowed object is
* {@link StampDutyType2Code }
*
*/
public ReceiveInformation16 setStmpDty(StampDutyType2Code value) {
this.stmpDty = value;
return this;
}
/**
* Gets the value of the netAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getNetAmt() {
return netAmt;
}
/**
* Sets the value of the netAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ReceiveInformation16 setNetAmt(ActiveCurrencyAndAmount value) {
this.netAmt = value;
return this;
}
/**
* Gets the value of the sttlmPtiesDtls property.
*
* @return
* possible object is
* {@link ReceivingPartiesAndAccount13 }
*
*/
public ReceivingPartiesAndAccount13 getSttlmPtiesDtls() {
return sttlmPtiesDtls;
}
/**
* Sets the value of the sttlmPtiesDtls property.
*
* @param value
* allowed object is
* {@link ReceivingPartiesAndAccount13 }
*
*/
public ReceiveInformation16 setSttlmPtiesDtls(ReceivingPartiesAndAccount13 value) {
this.sttlmPtiesDtls = value;
return this;
}
/**
* Gets the value of the chrgDtls 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 chrgDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getChrgDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Charge29 }
*
*
* @return
* The value of the chrgDtls property.
*/
public List getChrgDtls() {
if (chrgDtls == null) {
chrgDtls = new ArrayList<>();
}
return this.chrgDtls;
}
/**
* Gets the value of the comssnDtls 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 comssnDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getComssnDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Commission23 }
*
*
* @return
* The value of the comssnDtls property.
*/
public List getComssnDtls() {
if (comssnDtls == null) {
comssnDtls = new ArrayList<>();
}
return this.comssnDtls;
}
/**
* Gets the value of the taxDtls 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 taxDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getTaxDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Tax28 }
*
*
* @return
* The value of the taxDtls property.
*/
public List getTaxDtls() {
if (taxDtls == null) {
taxDtls = new ArrayList<>();
}
return this.taxDtls;
}
/**
* 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 ForeignExchangeTerms26 }
*
*
* @return
* The value of the fxDtls property.
*/
public List getFXDtls() {
if (fxDtls == null) {
fxDtls = new ArrayList<>();
}
return this.fxDtls;
}
/**
* Gets the value of the physTrf property.
*
* @return
* possible object is
* {@link PhysicalTransferType1Code }
*
*/
public PhysicalTransferType1Code getPhysTrf() {
return physTrf;
}
/**
* Sets the value of the physTrf property.
*
* @param value
* allowed object is
* {@link PhysicalTransferType1Code }
*
*/
public ReceiveInformation16 setPhysTrf(PhysicalTransferType1Code value) {
this.physTrf = value;
return this;
}
/**
* Gets the value of the physTrfDtls property.
*
* @return
* possible object is
* {@link DeliveryParameters4 }
*
*/
public DeliveryParameters4 getPhysTrfDtls() {
return physTrfDtls;
}
/**
* Sets the value of the physTrfDtls property.
*
* @param value
* allowed object is
* {@link DeliveryParameters4 }
*
*/
public ReceiveInformation16 setPhysTrfDtls(DeliveryParameters4 value) {
this.physTrfDtls = value;
return this;
}
/**
* Gets the value of the clntRef property.
*
* @return
* possible object is
* {@link AdditionalReference7 }
*
*/
public AdditionalReference7 getClntRef() {
return clntRef;
}
/**
* Sets the value of the clntRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference7 }
*
*/
public ReceiveInformation16 setClntRef(AdditionalReference7 value) {
this.clntRef = 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 intrmyInf list.
* @see #getIntrmyInf()
*
*/
public ReceiveInformation16 addIntrmyInf(Intermediary34 intrmyInf) {
getIntrmyInf().add(intrmyInf);
return this;
}
/**
* Adds a new item to the chrgDtls list.
* @see #getChrgDtls()
*
*/
public ReceiveInformation16 addChrgDtls(Charge29 chrgDtls) {
getChrgDtls().add(chrgDtls);
return this;
}
/**
* Adds a new item to the comssnDtls list.
* @see #getComssnDtls()
*
*/
public ReceiveInformation16 addComssnDtls(Commission23 comssnDtls) {
getComssnDtls().add(comssnDtls);
return this;
}
/**
* Adds a new item to the taxDtls list.
* @see #getTaxDtls()
*
*/
public ReceiveInformation16 addTaxDtls(Tax28 taxDtls) {
getTaxDtls().add(taxDtls);
return this;
}
/**
* Adds a new item to the fXDtls list.
* @see #getFXDtls()
*
*/
public ReceiveInformation16 addFXDtls(ForeignExchangeTerms26 fXDtls) {
getFXDtls().add(fXDtls);
return this;
}
}