All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.prowidesoftware.swift.model.mx.dic.CashSettlement1 Maven / Gradle / Ivy

The newest version!

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;


/**
 * Cash settlement parties and accounts.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashSettlement1", propOrder = {
    "cshAcctDtls",
    "othrCshSttlmDtls"
})
public class CashSettlement1 {

    @XmlElement(name = "CshAcctDtls")
    protected List cshAcctDtls;
    @XmlElement(name = "OthrCshSttlmDtls")
    protected List othrCshSttlmDtls;

    /**
     * Gets the value of the cshAcctDtls 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 cshAcctDtls property. * *

* For example, to add a new item, do as follows: *

     *    getCshAcctDtls().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CashAccount33 } * * * @return * The value of the cshAcctDtls property. */ public List getCshAcctDtls() { if (cshAcctDtls == null) { cshAcctDtls = new ArrayList<>(); } return this.cshAcctDtls; } /** * Gets the value of the othrCshSttlmDtls 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 othrCshSttlmDtls property. * *

* For example, to add a new item, do as follows: *

     *    getOthrCshSttlmDtls().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PaymentInstrument13 } * * * @return * The value of the othrCshSttlmDtls property. */ public List getOthrCshSttlmDtls() { if (othrCshSttlmDtls == null) { othrCshSttlmDtls = new ArrayList<>(); } return this.othrCshSttlmDtls; } @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 cshAcctDtls list. * @see #getCshAcctDtls() * */ public CashSettlement1 addCshAcctDtls(CashAccount33 cshAcctDtls) { getCshAcctDtls().add(cshAcctDtls); return this; } /** * Adds a new item to the othrCshSttlmDtls list. * @see #getOthrCshSttlmDtls() * */ public CashSettlement1 addOthrCshSttlmDtls(PaymentInstrument13 othrCshSttlmDtls) { getOthrCshSttlmDtls().add(othrCshSttlmDtls); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy