com.prowidesoftware.swift.model.mx.dic.OriginalNotificationReference3 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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;
/**
* Provides details on the account notification.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OriginalNotificationReference3", propOrder = {
"acct",
"acctOwnr",
"acctSvcr",
"rltdAcct",
"ttlAmt",
"xpctdValDt",
"dbtr",
"dbtrAgt",
"intrmyAgt",
"orgnlItmAndSts"
})
public class OriginalNotificationReference3 {
@XmlElement(name = "Acct")
protected CashAccount24 acct;
@XmlElement(name = "AcctOwnr")
protected Party12Choice acctOwnr;
@XmlElement(name = "AcctSvcr")
protected BranchAndFinancialInstitutionIdentification5 acctSvcr;
@XmlElement(name = "RltdAcct")
protected CashAccount24 rltdAcct;
@XmlElement(name = "TtlAmt")
protected ActiveOrHistoricCurrencyAndAmount ttlAmt;
@XmlElement(name = "XpctdValDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate xpctdValDt;
@XmlElement(name = "Dbtr")
protected Party12Choice dbtr;
@XmlElement(name = "DbtrAgt")
protected BranchAndFinancialInstitutionIdentification5 dbtrAgt;
@XmlElement(name = "IntrmyAgt")
protected BranchAndFinancialInstitutionIdentification5 intrmyAgt;
@XmlElement(name = "OrgnlItmAndSts", required = true)
protected List orgnlItmAndSts;
/**
* Gets the value of the acct property.
*
* @return
* possible object is
* {@link CashAccount24 }
*
*/
public CashAccount24 getAcct() {
return acct;
}
/**
* Sets the value of the acct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public OriginalNotificationReference3 setAcct(CashAccount24 value) {
this.acct = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link Party12Choice }
*
*/
public Party12Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link Party12Choice }
*
*/
public OriginalNotificationReference3 setAcctOwnr(Party12Choice value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the acctSvcr property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getAcctSvcr() {
return acctSvcr;
}
/**
* Sets the value of the acctSvcr property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public OriginalNotificationReference3 setAcctSvcr(BranchAndFinancialInstitutionIdentification5 value) {
this.acctSvcr = value;
return this;
}
/**
* Gets the value of the rltdAcct property.
*
* @return
* possible object is
* {@link CashAccount24 }
*
*/
public CashAccount24 getRltdAcct() {
return rltdAcct;
}
/**
* Sets the value of the rltdAcct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public OriginalNotificationReference3 setRltdAcct(CashAccount24 value) {
this.rltdAcct = value;
return this;
}
/**
* Gets the value of the ttlAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getTtlAmt() {
return ttlAmt;
}
/**
* Sets the value of the ttlAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public OriginalNotificationReference3 setTtlAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.ttlAmt = value;
return this;
}
/**
* Gets the value of the xpctdValDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getXpctdValDt() {
return xpctdValDt;
}
/**
* Sets the value of the xpctdValDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public OriginalNotificationReference3 setXpctdValDt(LocalDate value) {
this.xpctdValDt = value;
return this;
}
/**
* Gets the value of the dbtr property.
*
* @return
* possible object is
* {@link Party12Choice }
*
*/
public Party12Choice getDbtr() {
return dbtr;
}
/**
* Sets the value of the dbtr property.
*
* @param value
* allowed object is
* {@link Party12Choice }
*
*/
public OriginalNotificationReference3 setDbtr(Party12Choice value) {
this.dbtr = value;
return this;
}
/**
* Gets the value of the dbtrAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getDbtrAgt() {
return dbtrAgt;
}
/**
* Sets the value of the dbtrAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public OriginalNotificationReference3 setDbtrAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.dbtrAgt = value;
return this;
}
/**
* Gets the value of the intrmyAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getIntrmyAgt() {
return intrmyAgt;
}
/**
* Sets the value of the intrmyAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public OriginalNotificationReference3 setIntrmyAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.intrmyAgt = value;
return this;
}
/**
* Gets the value of the orgnlItmAndSts 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 orgnlItmAndSts property.
*
*
* For example, to add a new item, do as follows:
*
* getOrgnlItmAndSts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OriginalItemAndStatus3 }
*
*
* @return
* The value of the orgnlItmAndSts property.
*/
public List getOrgnlItmAndSts() {
if (orgnlItmAndSts == null) {
orgnlItmAndSts = new ArrayList<>();
}
return this.orgnlItmAndSts;
}
@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 orgnlItmAndSts list.
* @see #getOrgnlItmAndSts()
*
*/
public OriginalNotificationReference3 addOrgnlItmAndSts(OriginalItemAndStatus3 orgnlItmAndSts) {
getOrgnlItmAndSts().add(orgnlItmAndSts);
return this;
}
}