com.prowidesoftware.swift.model.mx.dic.DeliverInformation15 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 = "DeliverInformation15", propOrder = {
"reqdSttlmDt",
"sttlmAmt",
"stmpDty",
"netAmt",
"sttlmPtiesDtls",
"chrgDtls",
"comssnDtls",
"taxDtls",
"fxDtls",
"physTrf",
"physTrfDtls",
"clntRef"
})
public class DeliverInformation15 {
@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 DeliveringPartiesAndAccount9 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 String clntRef;
/**
* 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 DeliverInformation15 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 DeliverInformation15 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 DeliverInformation15 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 DeliverInformation15 setNetAmt(ActiveCurrencyAndAmount value) {
this.netAmt = value;
return this;
}
/**
* Gets the value of the sttlmPtiesDtls property.
*
* @return
* possible object is
* {@link DeliveringPartiesAndAccount9 }
*
*/
public DeliveringPartiesAndAccount9 getSttlmPtiesDtls() {
return sttlmPtiesDtls;
}
/**
* Sets the value of the sttlmPtiesDtls property.
*
* @param value
* allowed object is
* {@link DeliveringPartiesAndAccount9 }
*
*/
public DeliverInformation15 setSttlmPtiesDtls(DeliveringPartiesAndAccount9 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 Charge27 }
*
*
* @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 Commission22 }
*
*
* @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 Tax25 }
*
*
* @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 ForeignExchangeTerms7 }
*
*
* @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 DeliverInformation15 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 DeliverInformation15 setPhysTrfDtls(DeliveryParameters4 value) {
this.physTrfDtls = value;
return this;
}
/**
* Gets the value of the clntRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClntRef() {
return clntRef;
}
/**
* Sets the value of the clntRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DeliverInformation15 setClntRef(String 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 chrgDtls list.
* @see #getChrgDtls()
*
*/
public DeliverInformation15 addChrgDtls(Charge27 chrgDtls) {
getChrgDtls().add(chrgDtls);
return this;
}
/**
* Adds a new item to the comssnDtls list.
* @see #getComssnDtls()
*
*/
public DeliverInformation15 addComssnDtls(Commission22 comssnDtls) {
getComssnDtls().add(comssnDtls);
return this;
}
/**
* Adds a new item to the taxDtls list.
* @see #getTaxDtls()
*
*/
public DeliverInformation15 addTaxDtls(Tax25 taxDtls) {
getTaxDtls().add(taxDtls);
return this;
}
/**
* Adds a new item to the fXDtls list.
* @see #getFXDtls()
*
*/
public DeliverInformation15 addFXDtls(ForeignExchangeTerms7 fXDtls) {
getFXDtls().add(fXDtls);
return this;
}
}