com.prowidesoftware.swift.model.mx.dic.CashInForecast5 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;
/**
* Cash movements into a fund as a result of investment funds transactions, eg, subscriptions or switch-in.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashInForecast5", propOrder = {
"cshSttlmDt",
"subTtlAmt",
"subTtlUnitsNb",
"xcptnlCshFlowInd",
"cshInBrkdwnDtls",
"addtlBal"
})
public class CashInForecast5 {
@XmlElement(name = "CshSttlmDt", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate cshSttlmDt;
@XmlElement(name = "SubTtlAmt")
protected ActiveOrHistoricCurrencyAndAmount subTtlAmt;
@XmlElement(name = "SubTtlUnitsNb")
protected FinancialInstrumentQuantity1 subTtlUnitsNb;
@XmlElement(name = "XcptnlCshFlowInd")
protected Boolean xcptnlCshFlowInd;
@XmlElement(name = "CshInBrkdwnDtls")
protected List cshInBrkdwnDtls;
@XmlElement(name = "AddtlBal")
protected FundBalance1 addtlBal;
/**
* Gets the value of the cshSttlmDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getCshSttlmDt() {
return cshSttlmDt;
}
/**
* Sets the value of the cshSttlmDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashInForecast5 setCshSttlmDt(LocalDate value) {
this.cshSttlmDt = value;
return this;
}
/**
* Gets the value of the subTtlAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getSubTtlAmt() {
return subTtlAmt;
}
/**
* Sets the value of the subTtlAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public CashInForecast5 setSubTtlAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.subTtlAmt = value;
return this;
}
/**
* Gets the value of the subTtlUnitsNb property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public FinancialInstrumentQuantity1 getSubTtlUnitsNb() {
return subTtlUnitsNb;
}
/**
* Sets the value of the subTtlUnitsNb property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public CashInForecast5 setSubTtlUnitsNb(FinancialInstrumentQuantity1 value) {
this.subTtlUnitsNb = value;
return this;
}
/**
* Gets the value of the xcptnlCshFlowInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isXcptnlCshFlowInd() {
return xcptnlCshFlowInd;
}
/**
* Sets the value of the xcptnlCshFlowInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public CashInForecast5 setXcptnlCshFlowInd(Boolean value) {
this.xcptnlCshFlowInd = value;
return this;
}
/**
* Gets the value of the cshInBrkdwnDtls 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 cshInBrkdwnDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getCshInBrkdwnDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FundCashInBreakdown3 }
*
*
* @return
* The value of the cshInBrkdwnDtls property.
*/
public List getCshInBrkdwnDtls() {
if (cshInBrkdwnDtls == null) {
cshInBrkdwnDtls = new ArrayList<>();
}
return this.cshInBrkdwnDtls;
}
/**
* Gets the value of the addtlBal property.
*
* @return
* possible object is
* {@link FundBalance1 }
*
*/
public FundBalance1 getAddtlBal() {
return addtlBal;
}
/**
* Sets the value of the addtlBal property.
*
* @param value
* allowed object is
* {@link FundBalance1 }
*
*/
public CashInForecast5 setAddtlBal(FundBalance1 value) {
this.addtlBal = 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 cshInBrkdwnDtls list.
* @see #getCshInBrkdwnDtls()
*
*/
public CashInForecast5 addCshInBrkdwnDtls(FundCashInBreakdown3 cshInBrkdwnDtls) {
getCshInBrkdwnDtls().add(cshInBrkdwnDtls);
return this;
}
}