com.prowidesoftware.swift.model.mx.dic.ForwardIntentToPayNotificationV01 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.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 ForwardIntentToPayNotification message is forwarded by the matching application from one primary bank to the other primary bank in order to provide details about a future payment.
* This message contains details about an intention to pay a certain amount, on a certain date, in relation to one or several transactions known to the matching application.
* Usage
* The ForwardIntentToPayNotification message is a copy of the IntentToPayNotification message received by the matching application and forwarded to the other primary bank for information. No response is expected.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ForwardIntentToPayNotificationV01", propOrder = {
"ntfctnId",
"txId",
"estblishdBaselnId",
"txSts",
"usrTxRef",
"buyrBk",
"sellrBk",
"inttToPay",
"reqForActn"
})
public class ForwardIntentToPayNotificationV01 {
@XmlElement(name = "NtfctnId", required = true)
protected MessageIdentification1 ntfctnId;
@XmlElement(name = "TxId", required = true)
protected SimpleIdentificationInformation txId;
@XmlElement(name = "EstblishdBaselnId", required = true)
protected DocumentIdentification3 estblishdBaselnId;
@XmlElement(name = "TxSts", required = true)
protected TransactionStatus4 txSts;
@XmlElement(name = "UsrTxRef")
protected List usrTxRef;
@XmlElement(name = "BuyrBk", required = true)
protected BICIdentification1 buyrBk;
@XmlElement(name = "SellrBk", required = true)
protected BICIdentification1 sellrBk;
@XmlElement(name = "InttToPay", required = true)
protected IntentToPay1 inttToPay;
@XmlElement(name = "ReqForActn")
protected PendingActivity2 reqForActn;
/**
* Gets the value of the ntfctnId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getNtfctnId() {
return ntfctnId;
}
/**
* Sets the value of the ntfctnId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public ForwardIntentToPayNotificationV01 setNtfctnId(MessageIdentification1 value) {
this.ntfctnId = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link SimpleIdentificationInformation }
*
*/
public SimpleIdentificationInformation getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link SimpleIdentificationInformation }
*
*/
public ForwardIntentToPayNotificationV01 setTxId(SimpleIdentificationInformation value) {
this.txId = value;
return this;
}
/**
* Gets the value of the estblishdBaselnId property.
*
* @return
* possible object is
* {@link DocumentIdentification3 }
*
*/
public DocumentIdentification3 getEstblishdBaselnId() {
return estblishdBaselnId;
}
/**
* Sets the value of the estblishdBaselnId property.
*
* @param value
* allowed object is
* {@link DocumentIdentification3 }
*
*/
public ForwardIntentToPayNotificationV01 setEstblishdBaselnId(DocumentIdentification3 value) {
this.estblishdBaselnId = value;
return this;
}
/**
* Gets the value of the txSts property.
*
* @return
* possible object is
* {@link TransactionStatus4 }
*
*/
public TransactionStatus4 getTxSts() {
return txSts;
}
/**
* Sets the value of the txSts property.
*
* @param value
* allowed object is
* {@link TransactionStatus4 }
*
*/
public ForwardIntentToPayNotificationV01 setTxSts(TransactionStatus4 value) {
this.txSts = value;
return this;
}
/**
* Gets the value of the usrTxRef 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 JAXB object.
* This is why there is not a set
method for the usrTxRef property.
*
*
* For example, to add a new item, do as follows:
*
* getUsrTxRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentIdentification5 }
*
*
*/
public List getUsrTxRef() {
if (usrTxRef == null) {
usrTxRef = new ArrayList();
}
return this.usrTxRef;
}
/**
* Gets the value of the buyrBk property.
*
* @return
* possible object is
* {@link BICIdentification1 }
*
*/
public BICIdentification1 getBuyrBk() {
return buyrBk;
}
/**
* Sets the value of the buyrBk property.
*
* @param value
* allowed object is
* {@link BICIdentification1 }
*
*/
public ForwardIntentToPayNotificationV01 setBuyrBk(BICIdentification1 value) {
this.buyrBk = value;
return this;
}
/**
* Gets the value of the sellrBk property.
*
* @return
* possible object is
* {@link BICIdentification1 }
*
*/
public BICIdentification1 getSellrBk() {
return sellrBk;
}
/**
* Sets the value of the sellrBk property.
*
* @param value
* allowed object is
* {@link BICIdentification1 }
*
*/
public ForwardIntentToPayNotificationV01 setSellrBk(BICIdentification1 value) {
this.sellrBk = value;
return this;
}
/**
* Gets the value of the inttToPay property.
*
* @return
* possible object is
* {@link IntentToPay1 }
*
*/
public IntentToPay1 getInttToPay() {
return inttToPay;
}
/**
* Sets the value of the inttToPay property.
*
* @param value
* allowed object is
* {@link IntentToPay1 }
*
*/
public ForwardIntentToPayNotificationV01 setInttToPay(IntentToPay1 value) {
this.inttToPay = value;
return this;
}
/**
* Gets the value of the reqForActn property.
*
* @return
* possible object is
* {@link PendingActivity2 }
*
*/
public PendingActivity2 getReqForActn() {
return reqForActn;
}
/**
* Sets the value of the reqForActn property.
*
* @param value
* allowed object is
* {@link PendingActivity2 }
*
*/
public ForwardIntentToPayNotificationV01 setReqForActn(PendingActivity2 value) {
this.reqForActn = 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 usrTxRef list.
* @see #getUsrTxRef()
*
*/
public ForwardIntentToPayNotificationV01 addUsrTxRef(DocumentIdentification5 usrTxRef) {
getUsrTxRef().add(usrTxRef);
return this;
}
}