
com.prowidesoftware.swift.model.mx.dic.CustomerAccount2 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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.XmlSchemaType;
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;
/**
* Account owned by a customer.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CustomerAccount2", propOrder = {
"id",
"nm",
"sts",
"tp",
"ccy",
"minMnthlyPmtVal",
"maxMnthlyPmtVal",
"minMnthlyRcvdVal",
"maxMnthlyRcvdVal",
"minMnthlyTxNb",
"maxMnthlyTxNb",
"minAvrgBal",
"maxAvrgBal",
"acctPurp",
"minFlrNtfctnAmt",
"maxFlrNtfctnAmt",
"minClngNtfctnAmt",
"maxClngNtfctnAmt",
"stmtCycl",
"rstrctn",
"clsgDt",
"opngDt",
"refAcctId",
"prtry",
"acctOwnr"
})
public class CustomerAccount2 {
@XmlElement(name = "Id")
protected AccountIdentification4Choice id;
@XmlElement(name = "Nm")
protected String nm;
@XmlElement(name = "Sts")
@XmlSchemaType(name = "string")
protected AccountStatus3Code sts;
@XmlElement(name = "Tp")
protected CashAccountType2 tp;
@XmlElement(name = "Ccy")
protected String ccy;
@XmlElement(name = "MinMnthlyPmtVal")
protected BigDecimal minMnthlyPmtVal;
@XmlElement(name = "MaxMnthlyPmtVal")
protected BigDecimal maxMnthlyPmtVal;
@XmlElement(name = "MinMnthlyRcvdVal")
protected BigDecimal minMnthlyRcvdVal;
@XmlElement(name = "MaxMnthlyRcvdVal")
protected BigDecimal maxMnthlyRcvdVal;
@XmlElement(name = "MinMnthlyTxNb")
protected String minMnthlyTxNb;
@XmlElement(name = "MaxMnthlyTxNb")
protected String maxMnthlyTxNb;
@XmlElement(name = "MinAvrgBal")
protected BigDecimal minAvrgBal;
@XmlElement(name = "MaxAvrgBal")
protected BigDecimal maxAvrgBal;
@XmlElement(name = "AcctPurp")
protected String acctPurp;
@XmlElement(name = "MinFlrNtfctnAmt")
protected BigDecimal minFlrNtfctnAmt;
@XmlElement(name = "MaxFlrNtfctnAmt")
protected BigDecimal maxFlrNtfctnAmt;
@XmlElement(name = "MinClngNtfctnAmt")
protected BigDecimal minClngNtfctnAmt;
@XmlElement(name = "MaxClngNtfctnAmt")
protected BigDecimal maxClngNtfctnAmt;
@XmlElement(name = "StmtCycl")
@XmlSchemaType(name = "string")
protected Frequency3Code stmtCycl;
@XmlElement(name = "Rstrctn")
protected List rstrctn;
@XmlElement(name = "ClsgDt")
protected DateSearchChoice clsgDt;
@XmlElement(name = "OpngDt")
protected DateSearchChoice opngDt;
@XmlElement(name = "RefAcctId")
protected AccountIdentification4Choice refAcctId;
@XmlElement(name = "Prtry")
protected List prtry;
@XmlElement(name = "AcctOwnr")
protected OrganisationIdentification6 acctOwnr;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link AccountIdentification4Choice }
*
*/
public AccountIdentification4Choice getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link AccountIdentification4Choice }
*
*/
public CustomerAccount2 setId(AccountIdentification4Choice value) {
this.id = value;
return this;
}
/**
* Gets the value of the nm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNm() {
return nm;
}
/**
* Sets the value of the nm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CustomerAccount2 setNm(String value) {
this.nm = value;
return this;
}
/**
* Gets the value of the sts property.
*
* @return
* possible object is
* {@link AccountStatus3Code }
*
*/
public AccountStatus3Code getSts() {
return sts;
}
/**
* Sets the value of the sts property.
*
* @param value
* allowed object is
* {@link AccountStatus3Code }
*
*/
public CustomerAccount2 setSts(AccountStatus3Code value) {
this.sts = value;
return this;
}
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link CashAccountType2 }
*
*/
public CashAccountType2 getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link CashAccountType2 }
*
*/
public CustomerAccount2 setTp(CashAccountType2 value) {
this.tp = value;
return this;
}
/**
* Gets the value of the ccy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCcy() {
return ccy;
}
/**
* Sets the value of the ccy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CustomerAccount2 setCcy(String value) {
this.ccy = value;
return this;
}
/**
* Gets the value of the minMnthlyPmtVal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMinMnthlyPmtVal() {
return minMnthlyPmtVal;
}
/**
* Sets the value of the minMnthlyPmtVal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMinMnthlyPmtVal(BigDecimal value) {
this.minMnthlyPmtVal = value;
return this;
}
/**
* Gets the value of the maxMnthlyPmtVal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMaxMnthlyPmtVal() {
return maxMnthlyPmtVal;
}
/**
* Sets the value of the maxMnthlyPmtVal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMaxMnthlyPmtVal(BigDecimal value) {
this.maxMnthlyPmtVal = value;
return this;
}
/**
* Gets the value of the minMnthlyRcvdVal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMinMnthlyRcvdVal() {
return minMnthlyRcvdVal;
}
/**
* Sets the value of the minMnthlyRcvdVal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMinMnthlyRcvdVal(BigDecimal value) {
this.minMnthlyRcvdVal = value;
return this;
}
/**
* Gets the value of the maxMnthlyRcvdVal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMaxMnthlyRcvdVal() {
return maxMnthlyRcvdVal;
}
/**
* Sets the value of the maxMnthlyRcvdVal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMaxMnthlyRcvdVal(BigDecimal value) {
this.maxMnthlyRcvdVal = value;
return this;
}
/**
* Gets the value of the minMnthlyTxNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMinMnthlyTxNb() {
return minMnthlyTxNb;
}
/**
* Sets the value of the minMnthlyTxNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CustomerAccount2 setMinMnthlyTxNb(String value) {
this.minMnthlyTxNb = value;
return this;
}
/**
* Gets the value of the maxMnthlyTxNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMaxMnthlyTxNb() {
return maxMnthlyTxNb;
}
/**
* Sets the value of the maxMnthlyTxNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CustomerAccount2 setMaxMnthlyTxNb(String value) {
this.maxMnthlyTxNb = value;
return this;
}
/**
* Gets the value of the minAvrgBal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMinAvrgBal() {
return minAvrgBal;
}
/**
* Sets the value of the minAvrgBal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMinAvrgBal(BigDecimal value) {
this.minAvrgBal = value;
return this;
}
/**
* Gets the value of the maxAvrgBal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMaxAvrgBal() {
return maxAvrgBal;
}
/**
* Sets the value of the maxAvrgBal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMaxAvrgBal(BigDecimal value) {
this.maxAvrgBal = value;
return this;
}
/**
* Gets the value of the acctPurp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctPurp() {
return acctPurp;
}
/**
* Sets the value of the acctPurp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CustomerAccount2 setAcctPurp(String value) {
this.acctPurp = value;
return this;
}
/**
* Gets the value of the minFlrNtfctnAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMinFlrNtfctnAmt() {
return minFlrNtfctnAmt;
}
/**
* Sets the value of the minFlrNtfctnAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMinFlrNtfctnAmt(BigDecimal value) {
this.minFlrNtfctnAmt = value;
return this;
}
/**
* Gets the value of the maxFlrNtfctnAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMaxFlrNtfctnAmt() {
return maxFlrNtfctnAmt;
}
/**
* Sets the value of the maxFlrNtfctnAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMaxFlrNtfctnAmt(BigDecimal value) {
this.maxFlrNtfctnAmt = value;
return this;
}
/**
* Gets the value of the minClngNtfctnAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMinClngNtfctnAmt() {
return minClngNtfctnAmt;
}
/**
* Sets the value of the minClngNtfctnAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMinClngNtfctnAmt(BigDecimal value) {
this.minClngNtfctnAmt = value;
return this;
}
/**
* Gets the value of the maxClngNtfctnAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMaxClngNtfctnAmt() {
return maxClngNtfctnAmt;
}
/**
* Sets the value of the maxClngNtfctnAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CustomerAccount2 setMaxClngNtfctnAmt(BigDecimal value) {
this.maxClngNtfctnAmt = value;
return this;
}
/**
* Gets the value of the stmtCycl property.
*
* @return
* possible object is
* {@link Frequency3Code }
*
*/
public Frequency3Code getStmtCycl() {
return stmtCycl;
}
/**
* Sets the value of the stmtCycl property.
*
* @param value
* allowed object is
* {@link Frequency3Code }
*
*/
public CustomerAccount2 setStmtCycl(Frequency3Code value) {
this.stmtCycl = value;
return this;
}
/**
* Gets the value of the rstrctn 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 rstrctn property.
*
*
* For example, to add a new item, do as follows:
*
* getRstrctn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Restriction1 }
*
*
*/
public List getRstrctn() {
if (rstrctn == null) {
rstrctn = new ArrayList();
}
return this.rstrctn;
}
/**
* Gets the value of the clsgDt property.
*
* @return
* possible object is
* {@link DateSearchChoice }
*
*/
public DateSearchChoice getClsgDt() {
return clsgDt;
}
/**
* Sets the value of the clsgDt property.
*
* @param value
* allowed object is
* {@link DateSearchChoice }
*
*/
public CustomerAccount2 setClsgDt(DateSearchChoice value) {
this.clsgDt = value;
return this;
}
/**
* Gets the value of the opngDt property.
*
* @return
* possible object is
* {@link DateSearchChoice }
*
*/
public DateSearchChoice getOpngDt() {
return opngDt;
}
/**
* Sets the value of the opngDt property.
*
* @param value
* allowed object is
* {@link DateSearchChoice }
*
*/
public CustomerAccount2 setOpngDt(DateSearchChoice value) {
this.opngDt = value;
return this;
}
/**
* Gets the value of the refAcctId property.
*
* @return
* possible object is
* {@link AccountIdentification4Choice }
*
*/
public AccountIdentification4Choice getRefAcctId() {
return refAcctId;
}
/**
* Sets the value of the refAcctId property.
*
* @param value
* allowed object is
* {@link AccountIdentification4Choice }
*
*/
public CustomerAccount2 setRefAcctId(AccountIdentification4Choice value) {
this.refAcctId = value;
return this;
}
/**
* Gets the value of the prtry 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 prtry property.
*
*
* For example, to add a new item, do as follows:
*
* getPrtry().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GenericIdentification1 }
*
*
*/
public List getPrtry() {
if (prtry == null) {
prtry = new ArrayList();
}
return this.prtry;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link OrganisationIdentification6 }
*
*/
public OrganisationIdentification6 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link OrganisationIdentification6 }
*
*/
public CustomerAccount2 setAcctOwnr(OrganisationIdentification6 value) {
this.acctOwnr = 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 rstrctn list.
* @see #getRstrctn()
*
*/
public CustomerAccount2 addRstrctn(Restriction1 rstrctn) {
getRstrctn().add(rstrctn);
return this;
}
/**
* Adds a new item to the prtry list.
* @see #getPrtry()
*
*/
public CustomerAccount2 addPrtry(GenericIdentification1 prtry) {
getPrtry().add(prtry);
return this;
}
}