com.prowidesoftware.swift.model.mx.dic.SwitchExecution7 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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;
/**
* Execution of a switch order.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SwitchExecution7", propOrder = {
"amdmntInd",
"mstrRef",
"plcOfTrad",
"ordrDtTm",
"rcvdDtTm",
"dealRef",
"ordrRef",
"clntRef",
"invstmtAcctDtls",
"rltdPtyDtls",
"cxlRght",
"reqdFutrTradDt",
"sttlmAmt",
"cshSttlmDt",
"sttlmMtd",
"addtlAmt",
"bestExctn",
"redLegDtls",
"sbcptLegDtls",
"cshSttlmDtls",
"fxDtls",
"finAdvc",
"ngtdTrad",
"lateRpt",
"cstmrCndctClssfctn",
"txChanlTp",
"sgntrTp",
"ordrWvrDtls"
})
public class SwitchExecution7 {
@XmlElement(name = "AmdmntInd")
protected Boolean amdmntInd;
@XmlElement(name = "MstrRef")
protected String mstrRef;
@XmlElement(name = "PlcOfTrad")
protected PlaceOfTradeIdentification1Choice plcOfTrad;
@XmlElement(name = "OrdrDtTm", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime ordrDtTm;
@XmlElement(name = "RcvdDtTm", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime rcvdDtTm;
@XmlElement(name = "DealRef", required = true)
protected String dealRef;
@XmlElement(name = "OrdrRef", required = true)
protected String ordrRef;
@XmlElement(name = "ClntRef")
protected String clntRef;
@XmlElement(name = "InvstmtAcctDtls")
protected InvestmentAccount58 invstmtAcctDtls;
@XmlElement(name = "RltdPtyDtls")
protected List rltdPtyDtls;
@XmlElement(name = "CxlRght")
protected CancellationRight1Choice cxlRght;
@XmlElement(name = "ReqdFutrTradDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate reqdFutrTradDt;
@XmlElement(name = "SttlmAmt")
protected ActiveCurrencyAndAmount sttlmAmt;
@XmlElement(name = "CshSttlmDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate cshSttlmDt;
@XmlElement(name = "SttlmMtd")
@XmlSchemaType(name = "string")
protected DeliveryReceiptType2Code sttlmMtd;
@XmlElement(name = "AddtlAmt")
protected AdditionalAmount1Choice addtlAmt;
@XmlElement(name = "BestExctn")
@XmlSchemaType(name = "string")
protected BestExecution1Code bestExctn;
@XmlElement(name = "RedLegDtls", required = true)
protected List redLegDtls;
@XmlElement(name = "SbcptLegDtls", required = true)
protected List sbcptLegDtls;
@XmlElement(name = "CshSttlmDtls")
protected PaymentTransaction71 cshSttlmDtls;
@XmlElement(name = "FXDtls")
protected List fxDtls;
@XmlElement(name = "FinAdvc")
@XmlSchemaType(name = "string")
protected FinancialAdvice1Code finAdvc;
@XmlElement(name = "NgtdTrad")
@XmlSchemaType(name = "string")
protected NegotiatedTrade1Code ngtdTrad;
@XmlElement(name = "LateRpt")
@XmlSchemaType(name = "string")
protected LateReport1Code lateRpt;
@XmlElement(name = "CstmrCndctClssfctn")
protected CustomerConductClassification1Choice cstmrCndctClssfctn;
@XmlElement(name = "TxChanlTp")
protected TransactionChannelType1Choice txChanlTp;
@XmlElement(name = "SgntrTp")
protected SignatureType1Choice sgntrTp;
@XmlElement(name = "OrdrWvrDtls")
protected OrderWaiver1 ordrWvrDtls;
/**
* Gets the value of the amdmntInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAmdmntInd() {
return amdmntInd;
}
/**
* Sets the value of the amdmntInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public SwitchExecution7 setAmdmntInd(Boolean value) {
this.amdmntInd = value;
return this;
}
/**
* Gets the value of the mstrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMstrRef() {
return mstrRef;
}
/**
* Sets the value of the mstrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchExecution7 setMstrRef(String value) {
this.mstrRef = value;
return this;
}
/**
* Gets the value of the plcOfTrad property.
*
* @return
* possible object is
* {@link PlaceOfTradeIdentification1Choice }
*
*/
public PlaceOfTradeIdentification1Choice getPlcOfTrad() {
return plcOfTrad;
}
/**
* Sets the value of the plcOfTrad property.
*
* @param value
* allowed object is
* {@link PlaceOfTradeIdentification1Choice }
*
*/
public SwitchExecution7 setPlcOfTrad(PlaceOfTradeIdentification1Choice value) {
this.plcOfTrad = value;
return this;
}
/**
* Gets the value of the ordrDtTm property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getOrdrDtTm() {
return ordrDtTm;
}
/**
* Sets the value of the ordrDtTm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchExecution7 setOrdrDtTm(OffsetDateTime value) {
this.ordrDtTm = value;
return this;
}
/**
* Gets the value of the rcvdDtTm property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getRcvdDtTm() {
return rcvdDtTm;
}
/**
* Sets the value of the rcvdDtTm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchExecution7 setRcvdDtTm(OffsetDateTime value) {
this.rcvdDtTm = value;
return this;
}
/**
* Gets the value of the dealRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDealRef() {
return dealRef;
}
/**
* Sets the value of the dealRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchExecution7 setDealRef(String value) {
this.dealRef = value;
return this;
}
/**
* Gets the value of the ordrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrdrRef() {
return ordrRef;
}
/**
* Sets the value of the ordrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchExecution7 setOrdrRef(String value) {
this.ordrRef = 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 SwitchExecution7 setClntRef(String value) {
this.clntRef = value;
return this;
}
/**
* Gets the value of the invstmtAcctDtls property.
*
* @return
* possible object is
* {@link InvestmentAccount58 }
*
*/
public InvestmentAccount58 getInvstmtAcctDtls() {
return invstmtAcctDtls;
}
/**
* Sets the value of the invstmtAcctDtls property.
*
* @param value
* allowed object is
* {@link InvestmentAccount58 }
*
*/
public SwitchExecution7 setInvstmtAcctDtls(InvestmentAccount58 value) {
this.invstmtAcctDtls = value;
return this;
}
/**
* Gets the value of the rltdPtyDtls 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 rltdPtyDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getRltdPtyDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary39 }
*
*
* @return
* The value of the rltdPtyDtls property.
*/
public List getRltdPtyDtls() {
if (rltdPtyDtls == null) {
rltdPtyDtls = new ArrayList<>();
}
return this.rltdPtyDtls;
}
/**
* Gets the value of the cxlRght property.
*
* @return
* possible object is
* {@link CancellationRight1Choice }
*
*/
public CancellationRight1Choice getCxlRght() {
return cxlRght;
}
/**
* Sets the value of the cxlRght property.
*
* @param value
* allowed object is
* {@link CancellationRight1Choice }
*
*/
public SwitchExecution7 setCxlRght(CancellationRight1Choice value) {
this.cxlRght = value;
return this;
}
/**
* Gets the value of the reqdFutrTradDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getReqdFutrTradDt() {
return reqdFutrTradDt;
}
/**
* Sets the value of the reqdFutrTradDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchExecution7 setReqdFutrTradDt(LocalDate value) {
this.reqdFutrTradDt = 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 SwitchExecution7 setSttlmAmt(ActiveCurrencyAndAmount value) {
this.sttlmAmt = value;
return this;
}
/**
* Gets the value of the cshSttlmDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getCshSttlmDt() {
return cshSttlmDt;
}
/**
* Sets the value of the cshSttlmDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchExecution7 setCshSttlmDt(LocalDate value) {
this.cshSttlmDt = value;
return this;
}
/**
* Gets the value of the sttlmMtd property.
*
* @return
* possible object is
* {@link DeliveryReceiptType2Code }
*
*/
public DeliveryReceiptType2Code getSttlmMtd() {
return sttlmMtd;
}
/**
* Sets the value of the sttlmMtd property.
*
* @param value
* allowed object is
* {@link DeliveryReceiptType2Code }
*
*/
public SwitchExecution7 setSttlmMtd(DeliveryReceiptType2Code value) {
this.sttlmMtd = value;
return this;
}
/**
* Gets the value of the addtlAmt property.
*
* @return
* possible object is
* {@link AdditionalAmount1Choice }
*
*/
public AdditionalAmount1Choice getAddtlAmt() {
return addtlAmt;
}
/**
* Sets the value of the addtlAmt property.
*
* @param value
* allowed object is
* {@link AdditionalAmount1Choice }
*
*/
public SwitchExecution7 setAddtlAmt(AdditionalAmount1Choice value) {
this.addtlAmt = value;
return this;
}
/**
* Gets the value of the bestExctn property.
*
* @return
* possible object is
* {@link BestExecution1Code }
*
*/
public BestExecution1Code getBestExctn() {
return bestExctn;
}
/**
* Sets the value of the bestExctn property.
*
* @param value
* allowed object is
* {@link BestExecution1Code }
*
*/
public SwitchExecution7 setBestExctn(BestExecution1Code value) {
this.bestExctn = value;
return this;
}
/**
* Gets the value of the redLegDtls 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 redLegDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getRedLegDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SwitchRedemptionLegExecution4 }
*
*
* @return
* The value of the redLegDtls property.
*/
public List getRedLegDtls() {
if (redLegDtls == null) {
redLegDtls = new ArrayList<>();
}
return this.redLegDtls;
}
/**
* Gets the value of the sbcptLegDtls 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 sbcptLegDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getSbcptLegDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SwitchSubscriptionLegExecution4 }
*
*
* @return
* The value of the sbcptLegDtls property.
*/
public List getSbcptLegDtls() {
if (sbcptLegDtls == null) {
sbcptLegDtls = new ArrayList<>();
}
return this.sbcptLegDtls;
}
/**
* Gets the value of the cshSttlmDtls property.
*
* @return
* possible object is
* {@link PaymentTransaction71 }
*
*/
public PaymentTransaction71 getCshSttlmDtls() {
return cshSttlmDtls;
}
/**
* Sets the value of the cshSttlmDtls property.
*
* @param value
* allowed object is
* {@link PaymentTransaction71 }
*
*/
public SwitchExecution7 setCshSttlmDtls(PaymentTransaction71 value) {
this.cshSttlmDtls = 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 ForeignExchangeTerms33 }
*
*
* @return
* The value of the fxDtls property.
*/
public List getFXDtls() {
if (fxDtls == null) {
fxDtls = new ArrayList<>();
}
return this.fxDtls;
}
/**
* Gets the value of the finAdvc property.
*
* @return
* possible object is
* {@link FinancialAdvice1Code }
*
*/
public FinancialAdvice1Code getFinAdvc() {
return finAdvc;
}
/**
* Sets the value of the finAdvc property.
*
* @param value
* allowed object is
* {@link FinancialAdvice1Code }
*
*/
public SwitchExecution7 setFinAdvc(FinancialAdvice1Code value) {
this.finAdvc = value;
return this;
}
/**
* Gets the value of the ngtdTrad property.
*
* @return
* possible object is
* {@link NegotiatedTrade1Code }
*
*/
public NegotiatedTrade1Code getNgtdTrad() {
return ngtdTrad;
}
/**
* Sets the value of the ngtdTrad property.
*
* @param value
* allowed object is
* {@link NegotiatedTrade1Code }
*
*/
public SwitchExecution7 setNgtdTrad(NegotiatedTrade1Code value) {
this.ngtdTrad = value;
return this;
}
/**
* Gets the value of the lateRpt property.
*
* @return
* possible object is
* {@link LateReport1Code }
*
*/
public LateReport1Code getLateRpt() {
return lateRpt;
}
/**
* Sets the value of the lateRpt property.
*
* @param value
* allowed object is
* {@link LateReport1Code }
*
*/
public SwitchExecution7 setLateRpt(LateReport1Code value) {
this.lateRpt = value;
return this;
}
/**
* Gets the value of the cstmrCndctClssfctn property.
*
* @return
* possible object is
* {@link CustomerConductClassification1Choice }
*
*/
public CustomerConductClassification1Choice getCstmrCndctClssfctn() {
return cstmrCndctClssfctn;
}
/**
* Sets the value of the cstmrCndctClssfctn property.
*
* @param value
* allowed object is
* {@link CustomerConductClassification1Choice }
*
*/
public SwitchExecution7 setCstmrCndctClssfctn(CustomerConductClassification1Choice value) {
this.cstmrCndctClssfctn = value;
return this;
}
/**
* Gets the value of the txChanlTp property.
*
* @return
* possible object is
* {@link TransactionChannelType1Choice }
*
*/
public TransactionChannelType1Choice getTxChanlTp() {
return txChanlTp;
}
/**
* Sets the value of the txChanlTp property.
*
* @param value
* allowed object is
* {@link TransactionChannelType1Choice }
*
*/
public SwitchExecution7 setTxChanlTp(TransactionChannelType1Choice value) {
this.txChanlTp = value;
return this;
}
/**
* Gets the value of the sgntrTp property.
*
* @return
* possible object is
* {@link SignatureType1Choice }
*
*/
public SignatureType1Choice getSgntrTp() {
return sgntrTp;
}
/**
* Sets the value of the sgntrTp property.
*
* @param value
* allowed object is
* {@link SignatureType1Choice }
*
*/
public SwitchExecution7 setSgntrTp(SignatureType1Choice value) {
this.sgntrTp = value;
return this;
}
/**
* Gets the value of the ordrWvrDtls property.
*
* @return
* possible object is
* {@link OrderWaiver1 }
*
*/
public OrderWaiver1 getOrdrWvrDtls() {
return ordrWvrDtls;
}
/**
* Sets the value of the ordrWvrDtls property.
*
* @param value
* allowed object is
* {@link OrderWaiver1 }
*
*/
public SwitchExecution7 setOrdrWvrDtls(OrderWaiver1 value) {
this.ordrWvrDtls = 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 rltdPtyDtls list.
* @see #getRltdPtyDtls()
*
*/
public SwitchExecution7 addRltdPtyDtls(Intermediary39 rltdPtyDtls) {
getRltdPtyDtls().add(rltdPtyDtls);
return this;
}
/**
* Adds a new item to the redLegDtls list.
* @see #getRedLegDtls()
*
*/
public SwitchExecution7 addRedLegDtls(SwitchRedemptionLegExecution4 redLegDtls) {
getRedLegDtls().add(redLegDtls);
return this;
}
/**
* Adds a new item to the sbcptLegDtls list.
* @see #getSbcptLegDtls()
*
*/
public SwitchExecution7 addSbcptLegDtls(SwitchSubscriptionLegExecution4 sbcptLegDtls) {
getSbcptLegDtls().add(sbcptLegDtls);
return this;
}
/**
* Adds a new item to the fXDtls list.
* @see #getFXDtls()
*
*/
public SwitchExecution7 addFXDtls(ForeignExchangeTerms33 fXDtls) {
getFXDtls().add(fXDtls);
return this;
}
}