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

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

There is a newer version: SRU2024-10.2.4
Show newest version

package com.prowidesoftware.swift.model.mx.dic;

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;


/**
 * Numerical representation of the net increases and decreases in an account at a specific point in time. A cash balance is calculated from a sum of cash credits minus a sum of cash debits.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BalanceDetails2", propOrder = {
    "balTp",
    "ctrPtyTp",
    "ctrPtyId",
    "balValDt"
})
public class BalanceDetails2 {

    @XmlElement(name = "BalTp")
    @XmlSchemaType(name = "string")
    protected List balTp;
    @XmlElement(name = "CtrPtyTp", required = true)
    @XmlSchemaType(name = "string")
    protected BalanceCounterparty1Code ctrPtyTp;
    @XmlElement(name = "CtrPtyId")
    protected List ctrPtyId;
    @XmlElement(name = "BalValDt")
    protected List balValDt;

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

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

     *    getBalTp().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link BalanceType4Code } * * */ public List getBalTp() { if (balTp == null) { balTp = new ArrayList(); } return this.balTp; } /** * Gets the value of the ctrPtyTp property. * * @return * possible object is * {@link BalanceCounterparty1Code } * */ public BalanceCounterparty1Code getCtrPtyTp() { return ctrPtyTp; } /** * Sets the value of the ctrPtyTp property. * * @param value * allowed object is * {@link BalanceCounterparty1Code } * */ public BalanceDetails2 setCtrPtyTp(BalanceCounterparty1Code value) { this.ctrPtyTp = value; return this; } /** * Gets the value of the ctrPtyId 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 ctrPtyId property. * *

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

     *    getCtrPtyId().add(newItem);
     * 
* * *

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

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

     *    getBalValDt().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DateAndDateTimeSearchChoice } * * */ public List getBalValDt() { if (balValDt == null) { balValDt = new ArrayList(); } return this.balValDt; } @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 balTp list. * @see #getBalTp() * */ public BalanceDetails2 addBalTp(BalanceType4Code balTp) { getBalTp().add(balTp); return this; } /** * Adds a new item to the ctrPtyId list. * @see #getCtrPtyId() * */ public BalanceDetails2 addCtrPtyId(MemberIdentificationChoice ctrPtyId) { getCtrPtyId().add(ctrPtyId); return this; } /** * Adds a new item to the balValDt list. * @see #getBalValDt() * */ public BalanceDetails2 addBalValDt(DateAndDateTimeSearchChoice balValDt) { getBalValDt().add(balValDt); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy