com.prowidesoftware.swift.model.mx.dic.IntraBalanceMovementPendingReportV01 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;
/**
* This IntraBalanceMovementPendingReport message is sent from a settlement infrastructure to an account owner/request to report the intra-balance movement instructions, previously sent by the account owner, that have a pending status.
*
* The message may also be used to:
* - re-send a message sent by the account owner to the account servicer (the sub-function of the message is "Duplicate")
* - provide a third party with a copy of a message being sent by the account owner for information (the sub-function of the message is "Copy")
* - - re-send to a third party a copy of a message being sent by the account owner for information (the sub-function of the message is "Copy Duplicate").
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IntraBalanceMovementPendingReportV01", propOrder = {
"id",
"pgntn",
"rptGnlDtls",
"cshAcct",
"cshAcctOwnr",
"cshAcctSvcr",
"mvmnts"
})
public class IntraBalanceMovementPendingReportV01 {
@XmlElement(name = "Id")
protected DocumentIdentification51 id;
@XmlElement(name = "Pgntn", required = true)
protected Pagination1 pgntn;
@XmlElement(name = "RptGnlDtls", required = true)
protected IntraBalanceReport6 rptGnlDtls;
@XmlElement(name = "CshAcct", required = true)
protected CashAccount38 cshAcct;
@XmlElement(name = "CshAcctOwnr")
protected SystemPartyIdentification8 cshAcctOwnr;
@XmlElement(name = "CshAcctSvcr")
protected BranchAndFinancialInstitutionIdentification6 cshAcctSvcr;
@XmlElement(name = "Mvmnts")
protected List mvmnts;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link DocumentIdentification51 }
*
*/
public DocumentIdentification51 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link DocumentIdentification51 }
*
*/
public IntraBalanceMovementPendingReportV01 setId(DocumentIdentification51 value) {
this.id = value;
return this;
}
/**
* Gets the value of the pgntn property.
*
* @return
* possible object is
* {@link Pagination1 }
*
*/
public Pagination1 getPgntn() {
return pgntn;
}
/**
* Sets the value of the pgntn property.
*
* @param value
* allowed object is
* {@link Pagination1 }
*
*/
public IntraBalanceMovementPendingReportV01 setPgntn(Pagination1 value) {
this.pgntn = value;
return this;
}
/**
* Gets the value of the rptGnlDtls property.
*
* @return
* possible object is
* {@link IntraBalanceReport6 }
*
*/
public IntraBalanceReport6 getRptGnlDtls() {
return rptGnlDtls;
}
/**
* Sets the value of the rptGnlDtls property.
*
* @param value
* allowed object is
* {@link IntraBalanceReport6 }
*
*/
public IntraBalanceMovementPendingReportV01 setRptGnlDtls(IntraBalanceReport6 value) {
this.rptGnlDtls = value;
return this;
}
/**
* Gets the value of the cshAcct property.
*
* @return
* possible object is
* {@link CashAccount38 }
*
*/
public CashAccount38 getCshAcct() {
return cshAcct;
}
/**
* Sets the value of the cshAcct property.
*
* @param value
* allowed object is
* {@link CashAccount38 }
*
*/
public IntraBalanceMovementPendingReportV01 setCshAcct(CashAccount38 value) {
this.cshAcct = value;
return this;
}
/**
* Gets the value of the cshAcctOwnr property.
*
* @return
* possible object is
* {@link SystemPartyIdentification8 }
*
*/
public SystemPartyIdentification8 getCshAcctOwnr() {
return cshAcctOwnr;
}
/**
* Sets the value of the cshAcctOwnr property.
*
* @param value
* allowed object is
* {@link SystemPartyIdentification8 }
*
*/
public IntraBalanceMovementPendingReportV01 setCshAcctOwnr(SystemPartyIdentification8 value) {
this.cshAcctOwnr = value;
return this;
}
/**
* Gets the value of the cshAcctSvcr property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getCshAcctSvcr() {
return cshAcctSvcr;
}
/**
* Sets the value of the cshAcctSvcr property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public IntraBalanceMovementPendingReportV01 setCshAcctSvcr(BranchAndFinancialInstitutionIdentification6 value) {
this.cshAcctSvcr = value;
return this;
}
/**
* Gets the value of the mvmnts 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 mvmnts property.
*
*
* For example, to add a new item, do as follows:
*
* getMvmnts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IntraBalancePending5 }
*
*
* @return
* The value of the mvmnts property.
*/
public List getMvmnts() {
if (mvmnts == null) {
mvmnts = new ArrayList<>();
}
return this.mvmnts;
}
@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 mvmnts list.
* @see #getMvmnts()
*
*/
public IntraBalanceMovementPendingReportV01 addMvmnts(IntraBalancePending5 mvmnts) {
getMvmnts().add(mvmnts);
return this;
}
}