com.prowidesoftware.swift.model.mx.dic.IntraBalanceCancellation7 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;
/**
* Provides the cancellation requests data in the report.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IntraBalanceCancellation7", propOrder = {
"cshAcct",
"cshAcctOwnr",
"cshAcctSvcr",
"prcgSts",
"cxl"
})
public class IntraBalanceCancellation7 {
@XmlElement(name = "CshAcct")
protected CashAccount40 cshAcct;
@XmlElement(name = "CshAcctOwnr")
protected SystemPartyIdentification8 cshAcctOwnr;
@XmlElement(name = "CshAcctSvcr")
protected BranchAndFinancialInstitutionIdentification8 cshAcctSvcr;
@XmlElement(name = "PrcgSts")
protected ProcessingStatus69Choice prcgSts;
@XmlElement(name = "Cxl", required = true)
protected List cxl;
/**
* 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 IntraBalanceCancellation7 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 IntraBalanceCancellation7 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 IntraBalanceCancellation7 setCshAcctSvcr(BranchAndFinancialInstitutionIdentification8 value) {
this.cshAcctSvcr = value;
return this;
}
/**
* Gets the value of the prcgSts property.
*
* @return
* possible object is
* {@link ProcessingStatus69Choice }
*
*/
public ProcessingStatus69Choice getPrcgSts() {
return prcgSts;
}
/**
* Sets the value of the prcgSts property.
*
* @param value
* allowed object is
* {@link ProcessingStatus69Choice }
*
*/
public IntraBalanceCancellation7 setPrcgSts(ProcessingStatus69Choice value) {
this.prcgSts = value;
return this;
}
/**
* Gets the value of the cxl 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 cxl property.
*
*
* For example, to add a new item, do as follows:
*
* getCxl().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IntraBalanceCancellation8 }
*
*
* @return
* The value of the cxl property.
*/
public List getCxl() {
if (cxl == null) {
cxl = new ArrayList<>();
}
return this.cxl;
}
@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 cxl list.
* @see #getCxl()
*
*/
public IntraBalanceCancellation7 addCxl(IntraBalanceCancellation8 cxl) {
getCxl().add(cxl);
return this;
}
}