com.prowidesoftware.swift.model.mx.dic.ForeignExchangeTradeInstructionAmendmentV05 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.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;
/**
* Scope
* The ForeignExchangeTradeInstructionAmendment message is sent by a participant to a central settlement system to notify the amendment of the foreign exchange trade previously confirmed by the sender.
* Usage
* The ForeignExchangeTradeInstructionAmendment message is sent from a participant to a central settlement system to advise of the update of a previously sent notification. The "Related Reference" must be used to link it to the previous notification.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ForeignExchangeTradeInstructionAmendmentV05", propOrder = {
"tradInf",
"tradgSdId",
"ctrPtySdId",
"tradAmts",
"agrdRate",
"ndfConds",
"tradgSdSttlmInstrs",
"ctrPtySdSttlmInstrs",
"optnlGnlInf",
"rgltryRptg",
"splmtryData"
})
public class ForeignExchangeTradeInstructionAmendmentV05 {
@XmlElement(name = "TradInf", required = true)
protected TradeAgreement15 tradInf;
@XmlElement(name = "TradgSdId", required = true)
protected TradePartyIdentification8 tradgSdId;
@XmlElement(name = "CtrPtySdId", required = true)
protected TradePartyIdentification8 ctrPtySdId;
@XmlElement(name = "TradAmts", required = true)
protected AmountsAndValueDate6 tradAmts;
@XmlElement(name = "AgrdRate", required = true)
protected AgreedRate3 agrdRate;
@XmlElement(name = "NDFConds")
protected NonDeliverableForwardConditions1 ndfConds;
@XmlElement(name = "TradgSdSttlmInstrs")
protected SettlementParties120 tradgSdSttlmInstrs;
@XmlElement(name = "CtrPtySdSttlmInstrs")
protected SettlementParties120 ctrPtySdSttlmInstrs;
@XmlElement(name = "OptnlGnlInf")
protected GeneralInformation8 optnlGnlInf;
@XmlElement(name = "RgltryRptg")
protected RegulatoryReporting7 rgltryRptg;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the tradInf property.
*
* @return
* possible object is
* {@link TradeAgreement15 }
*
*/
public TradeAgreement15 getTradInf() {
return tradInf;
}
/**
* Sets the value of the tradInf property.
*
* @param value
* allowed object is
* {@link TradeAgreement15 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setTradInf(TradeAgreement15 value) {
this.tradInf = value;
return this;
}
/**
* Gets the value of the tradgSdId property.
*
* @return
* possible object is
* {@link TradePartyIdentification8 }
*
*/
public TradePartyIdentification8 getTradgSdId() {
return tradgSdId;
}
/**
* Sets the value of the tradgSdId property.
*
* @param value
* allowed object is
* {@link TradePartyIdentification8 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setTradgSdId(TradePartyIdentification8 value) {
this.tradgSdId = value;
return this;
}
/**
* Gets the value of the ctrPtySdId property.
*
* @return
* possible object is
* {@link TradePartyIdentification8 }
*
*/
public TradePartyIdentification8 getCtrPtySdId() {
return ctrPtySdId;
}
/**
* Sets the value of the ctrPtySdId property.
*
* @param value
* allowed object is
* {@link TradePartyIdentification8 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setCtrPtySdId(TradePartyIdentification8 value) {
this.ctrPtySdId = value;
return this;
}
/**
* Gets the value of the tradAmts property.
*
* @return
* possible object is
* {@link AmountsAndValueDate6 }
*
*/
public AmountsAndValueDate6 getTradAmts() {
return tradAmts;
}
/**
* Sets the value of the tradAmts property.
*
* @param value
* allowed object is
* {@link AmountsAndValueDate6 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setTradAmts(AmountsAndValueDate6 value) {
this.tradAmts = value;
return this;
}
/**
* Gets the value of the agrdRate property.
*
* @return
* possible object is
* {@link AgreedRate3 }
*
*/
public AgreedRate3 getAgrdRate() {
return agrdRate;
}
/**
* Sets the value of the agrdRate property.
*
* @param value
* allowed object is
* {@link AgreedRate3 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setAgrdRate(AgreedRate3 value) {
this.agrdRate = value;
return this;
}
/**
* Gets the value of the ndfConds property.
*
* @return
* possible object is
* {@link NonDeliverableForwardConditions1 }
*
*/
public NonDeliverableForwardConditions1 getNDFConds() {
return ndfConds;
}
/**
* Sets the value of the ndfConds property.
*
* @param value
* allowed object is
* {@link NonDeliverableForwardConditions1 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setNDFConds(NonDeliverableForwardConditions1 value) {
this.ndfConds = value;
return this;
}
/**
* Gets the value of the tradgSdSttlmInstrs property.
*
* @return
* possible object is
* {@link SettlementParties120 }
*
*/
public SettlementParties120 getTradgSdSttlmInstrs() {
return tradgSdSttlmInstrs;
}
/**
* Sets the value of the tradgSdSttlmInstrs property.
*
* @param value
* allowed object is
* {@link SettlementParties120 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setTradgSdSttlmInstrs(SettlementParties120 value) {
this.tradgSdSttlmInstrs = value;
return this;
}
/**
* Gets the value of the ctrPtySdSttlmInstrs property.
*
* @return
* possible object is
* {@link SettlementParties120 }
*
*/
public SettlementParties120 getCtrPtySdSttlmInstrs() {
return ctrPtySdSttlmInstrs;
}
/**
* Sets the value of the ctrPtySdSttlmInstrs property.
*
* @param value
* allowed object is
* {@link SettlementParties120 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setCtrPtySdSttlmInstrs(SettlementParties120 value) {
this.ctrPtySdSttlmInstrs = value;
return this;
}
/**
* Gets the value of the optnlGnlInf property.
*
* @return
* possible object is
* {@link GeneralInformation8 }
*
*/
public GeneralInformation8 getOptnlGnlInf() {
return optnlGnlInf;
}
/**
* Sets the value of the optnlGnlInf property.
*
* @param value
* allowed object is
* {@link GeneralInformation8 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setOptnlGnlInf(GeneralInformation8 value) {
this.optnlGnlInf = value;
return this;
}
/**
* Gets the value of the rgltryRptg property.
*
* @return
* possible object is
* {@link RegulatoryReporting7 }
*
*/
public RegulatoryReporting7 getRgltryRptg() {
return rgltryRptg;
}
/**
* Sets the value of the rgltryRptg property.
*
* @param value
* allowed object is
* {@link RegulatoryReporting7 }
*
*/
public ForeignExchangeTradeInstructionAmendmentV05 setRgltryRptg(RegulatoryReporting7 value) {
this.rgltryRptg = 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 ForeignExchangeTradeInstructionAmendmentV05 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}