com.prowidesoftware.swift.model.mx.dic.IntraBalanceMovementPostingReportV02 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 IntraBalanceMovementPostingReport message is sent from a settlement infrastructure to an account owner/requestor to report the intra-balance movement instructions, previously sent by the account owner, that have a settled 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 = "IntraBalanceMovementPostingReportV02", propOrder = {
"id",
"pgntn",
"rptGnlDtls",
"cshAcct",
"cshAcctOwnr",
"cshAcctSvcr",
"subBal"
})
public class IntraBalanceMovementPostingReportV02 {
@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 CashAccount40 cshAcct;
@XmlElement(name = "CshAcctOwnr")
protected SystemPartyIdentification8 cshAcctOwnr;
@XmlElement(name = "CshAcctSvcr")
protected BranchAndFinancialInstitutionIdentification8 cshAcctSvcr;
@XmlElement(name = "SubBal")
protected List subBal;
/**
* 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 IntraBalanceMovementPostingReportV02 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 IntraBalanceMovementPostingReportV02 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 IntraBalanceMovementPostingReportV02 setRptGnlDtls(IntraBalanceReport6 value) {
this.rptGnlDtls = value;
return this;
}
/**
* Gets the value of the cshAcct property.
*
* @return
* possible object is
* {@link CashAccount40 }
*
*/
public CashAccount40 getCshAcct() {
return cshAcct;
}
/**
* Sets the value of the cshAcct property.
*
* @param value
* allowed object is
* {@link CashAccount40 }
*
*/
public IntraBalanceMovementPostingReportV02 setCshAcct(CashAccount40 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 IntraBalanceMovementPostingReportV02 setCshAcctOwnr(SystemPartyIdentification8 value) {
this.cshAcctOwnr = value;
return this;
}
/**
* Gets the value of the cshAcctSvcr property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification8 }
*
*/
public BranchAndFinancialInstitutionIdentification8 getCshAcctSvcr() {
return cshAcctSvcr;
}
/**
* Sets the value of the cshAcctSvcr property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification8 }
*
*/
public IntraBalanceMovementPostingReportV02 setCshAcctSvcr(BranchAndFinancialInstitutionIdentification8 value) {
this.cshAcctSvcr = value;
return this;
}
/**
* Gets the value of the subBal 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 subBal property.
*
*
* For example, to add a new item, do as follows:
*
* getSubBal().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IntraBalancePosting5 }
*
*
* @return
* The value of the subBal property.
*/
public List getSubBal() {
if (subBal == null) {
subBal = new ArrayList<>();
}
return this.subBal;
}
@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 subBal list.
* @see #getSubBal()
*
*/
public IntraBalanceMovementPostingReportV02 addSubBal(IntraBalancePosting5 subBal) {
getSubBal().add(subBal);
return this;
}
}