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

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


/**
 * Group of the statement header reporting the bank services billing and the billing statement.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StatementGroup1", propOrder = {
    "grpId",
    "sndr",
    "sndrIndvCtct",
    "rcvr",
    "rcvrIndvCtct",
    "bllgStmt"
})
public class StatementGroup1 {

    @XmlElement(name = "GrpId", required = true)
    protected String grpId;
    @XmlElement(name = "Sndr", required = true)
    protected PartyIdentification58 sndr;
    @XmlElement(name = "SndrIndvCtct")
    protected List sndrIndvCtct;
    @XmlElement(name = "Rcvr", required = true)
    protected PartyIdentification58 rcvr;
    @XmlElement(name = "RcvrIndvCtct")
    protected List rcvrIndvCtct;
    @XmlElement(name = "BllgStmt", required = true)
    protected List bllgStmt;

    /**
     * Gets the value of the grpId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getGrpId() {
        return grpId;
    }

    /**
     * Sets the value of the grpId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public StatementGroup1 setGrpId(String value) {
        this.grpId = value;
        return this;
    }

    /**
     * Gets the value of the sndr property.
     * 
     * @return
     *     possible object is
     *     {@link PartyIdentification58 }
     *     
     */
    public PartyIdentification58 getSndr() {
        return sndr;
    }

    /**
     * Sets the value of the sndr property.
     * 
     * @param value
     *     allowed object is
     *     {@link PartyIdentification58 }
     *     
     */
    public StatementGroup1 setSndr(PartyIdentification58 value) {
        this.sndr = value;
        return this;
    }

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

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

     *    getSndrIndvCtct().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ContactDetails3 } * * * @return * The value of the sndrIndvCtct property. */ public List getSndrIndvCtct() { if (sndrIndvCtct == null) { sndrIndvCtct = new ArrayList<>(); } return this.sndrIndvCtct; } /** * Gets the value of the rcvr property. * * @return * possible object is * {@link PartyIdentification58 } * */ public PartyIdentification58 getRcvr() { return rcvr; } /** * Sets the value of the rcvr property. * * @param value * allowed object is * {@link PartyIdentification58 } * */ public StatementGroup1 setRcvr(PartyIdentification58 value) { this.rcvr = value; return this; } /** * Gets the value of the rcvrIndvCtct 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 rcvrIndvCtct property. * *

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

     *    getRcvrIndvCtct().add(newItem);
     * 
* * *

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

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

     *    getBllgStmt().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link BillingStatement1 } * * * @return * The value of the bllgStmt property. */ public List getBllgStmt() { if (bllgStmt == null) { bllgStmt = new ArrayList<>(); } return this.bllgStmt; } @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 sndrIndvCtct list. * @see #getSndrIndvCtct() * */ public StatementGroup1 addSndrIndvCtct(ContactDetails3 sndrIndvCtct) { getSndrIndvCtct().add(sndrIndvCtct); return this; } /** * Adds a new item to the rcvrIndvCtct list. * @see #getRcvrIndvCtct() * */ public StatementGroup1 addRcvrIndvCtct(ContactDetails3 rcvrIndvCtct) { getRcvrIndvCtct().add(rcvrIndvCtct); return this; } /** * Adds a new item to the bllgStmt list. * @see #getBllgStmt() * */ public StatementGroup1 addBllgStmt(BillingStatement1 bllgStmt) { getBllgStmt().add(bllgStmt); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy