com.prowidesoftware.swift.model.mx.dic.TransactionDetails130 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
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;
/**
* Specifies the details of the transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransactionDetails130", propOrder = {
"txActvty",
"sttlmTxOrCorpActnEvtTp",
"sctiesMvmntTp",
"pmt",
"sttlmParams",
"plcOfTrad",
"sfkpgPlc",
"plcOfClr",
"finInstrmId",
"pstngQty",
"pstngAmt",
"tradDt",
"xpctdSttlmDt",
"sttlmDt",
"lateDlvryDt",
"xpctdValDt",
"ackdStsTmStmp",
"mtchdStsTmStmp",
"dlvrgSttlmPties",
"rcvgSttlmPties",
"txAddtlDtls",
"splmtryData"
})
public class TransactionDetails130 {
@XmlElement(name = "TxActvty", required = true)
protected TransactionActivity4Choice txActvty;
@XmlElement(name = "SttlmTxOrCorpActnEvtTp")
protected SettlementOrCorporateActionEvent32Choice sttlmTxOrCorpActnEvtTp;
@XmlElement(name = "SctiesMvmntTp", required = true)
@XmlSchemaType(name = "string")
protected ReceiveDelivery1Code sctiesMvmntTp;
@XmlElement(name = "Pmt", required = true)
@XmlSchemaType(name = "string")
protected DeliveryReceiptType2Code pmt;
@XmlElement(name = "SttlmParams")
protected SettlementDetails161 sttlmParams;
@XmlElement(name = "PlcOfTrad")
protected PlaceOfTradeIdentification2 plcOfTrad;
@XmlElement(name = "SfkpgPlc")
protected SafeKeepingPlace4 sfkpgPlc;
@XmlElement(name = "PlcOfClr")
protected PlaceOfClearingIdentification2 plcOfClr;
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification20 finInstrmId;
@XmlElement(name = "PstngQty", required = true)
protected Quantity10Choice pstngQty;
@XmlElement(name = "PstngAmt")
protected AmountAndDirection67 pstngAmt;
@XmlElement(name = "TradDt")
protected TradeDate9Choice tradDt;
@XmlElement(name = "XpctdSttlmDt")
protected DateAndDateTime2Choice xpctdSttlmDt;
@XmlElement(name = "SttlmDt", required = true)
protected SettlementDate32Choice sttlmDt;
@XmlElement(name = "LateDlvryDt")
protected DateAndDateTime2Choice lateDlvryDt;
@XmlElement(name = "XpctdValDt")
protected DateAndDateTime2Choice xpctdValDt;
@XmlElement(name = "AckdStsTmStmp", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime ackdStsTmStmp;
@XmlElement(name = "MtchdStsTmStmp", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime mtchdStsTmStmp;
@XmlElement(name = "DlvrgSttlmPties")
protected SettlementParties90 dlvrgSttlmPties;
@XmlElement(name = "RcvgSttlmPties")
protected SettlementParties90 rcvgSttlmPties;
@XmlElement(name = "TxAddtlDtls")
protected String txAddtlDtls;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the txActvty property.
*
* @return
* possible object is
* {@link TransactionActivity4Choice }
*
*/
public TransactionActivity4Choice getTxActvty() {
return txActvty;
}
/**
* Sets the value of the txActvty property.
*
* @param value
* allowed object is
* {@link TransactionActivity4Choice }
*
*/
public TransactionDetails130 setTxActvty(TransactionActivity4Choice value) {
this.txActvty = value;
return this;
}
/**
* Gets the value of the sttlmTxOrCorpActnEvtTp property.
*
* @return
* possible object is
* {@link SettlementOrCorporateActionEvent32Choice }
*
*/
public SettlementOrCorporateActionEvent32Choice getSttlmTxOrCorpActnEvtTp() {
return sttlmTxOrCorpActnEvtTp;
}
/**
* Sets the value of the sttlmTxOrCorpActnEvtTp property.
*
* @param value
* allowed object is
* {@link SettlementOrCorporateActionEvent32Choice }
*
*/
public TransactionDetails130 setSttlmTxOrCorpActnEvtTp(SettlementOrCorporateActionEvent32Choice value) {
this.sttlmTxOrCorpActnEvtTp = value;
return this;
}
/**
* Gets the value of the sctiesMvmntTp property.
*
* @return
* possible object is
* {@link ReceiveDelivery1Code }
*
*/
public ReceiveDelivery1Code getSctiesMvmntTp() {
return sctiesMvmntTp;
}
/**
* Sets the value of the sctiesMvmntTp property.
*
* @param value
* allowed object is
* {@link ReceiveDelivery1Code }
*
*/
public TransactionDetails130 setSctiesMvmntTp(ReceiveDelivery1Code value) {
this.sctiesMvmntTp = value;
return this;
}
/**
* Gets the value of the pmt property.
*
* @return
* possible object is
* {@link DeliveryReceiptType2Code }
*
*/
public DeliveryReceiptType2Code getPmt() {
return pmt;
}
/**
* Sets the value of the pmt property.
*
* @param value
* allowed object is
* {@link DeliveryReceiptType2Code }
*
*/
public TransactionDetails130 setPmt(DeliveryReceiptType2Code value) {
this.pmt = value;
return this;
}
/**
* Gets the value of the sttlmParams property.
*
* @return
* possible object is
* {@link SettlementDetails161 }
*
*/
public SettlementDetails161 getSttlmParams() {
return sttlmParams;
}
/**
* Sets the value of the sttlmParams property.
*
* @param value
* allowed object is
* {@link SettlementDetails161 }
*
*/
public TransactionDetails130 setSttlmParams(SettlementDetails161 value) {
this.sttlmParams = value;
return this;
}
/**
* Gets the value of the plcOfTrad property.
*
* @return
* possible object is
* {@link PlaceOfTradeIdentification2 }
*
*/
public PlaceOfTradeIdentification2 getPlcOfTrad() {
return plcOfTrad;
}
/**
* Sets the value of the plcOfTrad property.
*
* @param value
* allowed object is
* {@link PlaceOfTradeIdentification2 }
*
*/
public TransactionDetails130 setPlcOfTrad(PlaceOfTradeIdentification2 value) {
this.plcOfTrad = value;
return this;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafeKeepingPlace4 }
*
*/
public SafeKeepingPlace4 getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafeKeepingPlace4 }
*
*/
public TransactionDetails130 setSfkpgPlc(SafeKeepingPlace4 value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the plcOfClr property.
*
* @return
* possible object is
* {@link PlaceOfClearingIdentification2 }
*
*/
public PlaceOfClearingIdentification2 getPlcOfClr() {
return plcOfClr;
}
/**
* Sets the value of the plcOfClr property.
*
* @param value
* allowed object is
* {@link PlaceOfClearingIdentification2 }
*
*/
public TransactionDetails130 setPlcOfClr(PlaceOfClearingIdentification2 value) {
this.plcOfClr = value;
return this;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification20 }
*
*/
public SecurityIdentification20 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification20 }
*
*/
public TransactionDetails130 setFinInstrmId(SecurityIdentification20 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the pstngQty property.
*
* @return
* possible object is
* {@link Quantity10Choice }
*
*/
public Quantity10Choice getPstngQty() {
return pstngQty;
}
/**
* Sets the value of the pstngQty property.
*
* @param value
* allowed object is
* {@link Quantity10Choice }
*
*/
public TransactionDetails130 setPstngQty(Quantity10Choice value) {
this.pstngQty = value;
return this;
}
/**
* Gets the value of the pstngAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection67 }
*
*/
public AmountAndDirection67 getPstngAmt() {
return pstngAmt;
}
/**
* Sets the value of the pstngAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection67 }
*
*/
public TransactionDetails130 setPstngAmt(AmountAndDirection67 value) {
this.pstngAmt = value;
return this;
}
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link TradeDate9Choice }
*
*/
public TradeDate9Choice getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link TradeDate9Choice }
*
*/
public TransactionDetails130 setTradDt(TradeDate9Choice value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the xpctdSttlmDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getXpctdSttlmDt() {
return xpctdSttlmDt;
}
/**
* Sets the value of the xpctdSttlmDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public TransactionDetails130 setXpctdSttlmDt(DateAndDateTime2Choice value) {
this.xpctdSttlmDt = value;
return this;
}
/**
* Gets the value of the sttlmDt property.
*
* @return
* possible object is
* {@link SettlementDate32Choice }
*
*/
public SettlementDate32Choice getSttlmDt() {
return sttlmDt;
}
/**
* Sets the value of the sttlmDt property.
*
* @param value
* allowed object is
* {@link SettlementDate32Choice }
*
*/
public TransactionDetails130 setSttlmDt(SettlementDate32Choice value) {
this.sttlmDt = value;
return this;
}
/**
* Gets the value of the lateDlvryDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getLateDlvryDt() {
return lateDlvryDt;
}
/**
* Sets the value of the lateDlvryDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public TransactionDetails130 setLateDlvryDt(DateAndDateTime2Choice value) {
this.lateDlvryDt = value;
return this;
}
/**
* Gets the value of the xpctdValDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getXpctdValDt() {
return xpctdValDt;
}
/**
* Sets the value of the xpctdValDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public TransactionDetails130 setXpctdValDt(DateAndDateTime2Choice value) {
this.xpctdValDt = value;
return this;
}
/**
* Gets the value of the ackdStsTmStmp property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getAckdStsTmStmp() {
return ackdStsTmStmp;
}
/**
* Sets the value of the ackdStsTmStmp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionDetails130 setAckdStsTmStmp(OffsetDateTime value) {
this.ackdStsTmStmp = value;
return this;
}
/**
* Gets the value of the mtchdStsTmStmp property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getMtchdStsTmStmp() {
return mtchdStsTmStmp;
}
/**
* Sets the value of the mtchdStsTmStmp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionDetails130 setMtchdStsTmStmp(OffsetDateTime value) {
this.mtchdStsTmStmp = value;
return this;
}
/**
* Gets the value of the dlvrgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties90 }
*
*/
public SettlementParties90 getDlvrgSttlmPties() {
return dlvrgSttlmPties;
}
/**
* Sets the value of the dlvrgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties90 }
*
*/
public TransactionDetails130 setDlvrgSttlmPties(SettlementParties90 value) {
this.dlvrgSttlmPties = value;
return this;
}
/**
* Gets the value of the rcvgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties90 }
*
*/
public SettlementParties90 getRcvgSttlmPties() {
return rcvgSttlmPties;
}
/**
* Sets the value of the rcvgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties90 }
*
*/
public TransactionDetails130 setRcvgSttlmPties(SettlementParties90 value) {
this.rcvgSttlmPties = value;
return this;
}
/**
* Gets the value of the txAddtlDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxAddtlDtls() {
return txAddtlDtls;
}
/**
* Sets the value of the txAddtlDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionDetails130 setTxAddtlDtls(String value) {
this.txAddtlDtls = value;
return this;
}
/**
* Gets the value of the splmtryData 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 splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
* @return
* The value of the splmtryData property.
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList<>();
}
return this.splmtryData;
}
@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 splmtryData list.
* @see #getSplmtryData()
*
*/
public TransactionDetails130 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}