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

com.prowidesoftware.swift.model.mx.dic.PartyIdentificationAndAccount119 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;


/**
 * Party and account information.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PartyIdentificationAndAccount119", propOrder = {
    "ptyId",
    "acctId"
})
public class PartyIdentificationAndAccount119 {

    @XmlElement(name = "PtyId", required = true)
    protected List ptyId;
    @XmlElement(name = "AcctId", required = true)
    protected List acctId;

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

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

     *    getPtyId().add(newItem);
     * 
* * *

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

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

     *    getAcctId().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AccountIdentification30 } * * * @return * The value of the acctId property. */ public List getAcctId() { if (acctId == null) { acctId = new ArrayList<>(); } return this.acctId; } @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 ptyId list. * @see #getPtyId() * */ public PartyIdentificationAndAccount119 addPtyId(PartyIdentification90 ptyId) { getPtyId().add(ptyId); return this; } /** * Adds a new item to the acctId list. * @see #getAcctId() * */ public PartyIdentificationAndAccount119 addAcctId(AccountIdentification30 acctId) { getAcctId().add(acctId); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy