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

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

The newest version!

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

import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
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;


/**
 * Set of characteristics shared by all individual transactions included in the message.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GroupHeader62", propOrder = {
    "msgId",
    "creDtTm",
    "authstn",
    "cpyInd",
    "initgPty",
    "msgRcpt",
    "fwdgAgt"
})
public class GroupHeader62 {

    @XmlElement(name = "MsgId", required = true)
    protected String msgId;
    @XmlElement(name = "CreDtTm", required = true, type = String.class)
    @XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
    @XmlSchemaType(name = "dateTime")
    protected OffsetDateTime creDtTm;
    @XmlElement(name = "Authstn")
    protected List authstn;
    @XmlElement(name = "CpyInd")
    @XmlSchemaType(name = "string")
    protected CopyDuplicate1Code cpyInd;
    @XmlElement(name = "InitgPty", required = true)
    protected PartyIdentification43 initgPty;
    @XmlElement(name = "MsgRcpt")
    protected PartyIdentification43 msgRcpt;
    @XmlElement(name = "FwdgAgt")
    protected BranchAndFinancialInstitutionIdentification5 fwdgAgt;

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

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

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

    /**
     * Sets the value of the creDtTm property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public GroupHeader62 setCreDtTm(OffsetDateTime value) {
        this.creDtTm = value;
        return this;
    }

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

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

     *    getAuthstn().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Authorisation1Choice } * * * @return * The value of the authstn property. */ public List getAuthstn() { if (authstn == null) { authstn = new ArrayList<>(); } return this.authstn; } /** * Gets the value of the cpyInd property. * * @return * possible object is * {@link CopyDuplicate1Code } * */ public CopyDuplicate1Code getCpyInd() { return cpyInd; } /** * Sets the value of the cpyInd property. * * @param value * allowed object is * {@link CopyDuplicate1Code } * */ public GroupHeader62 setCpyInd(CopyDuplicate1Code value) { this.cpyInd = value; return this; } /** * Gets the value of the initgPty property. * * @return * possible object is * {@link PartyIdentification43 } * */ public PartyIdentification43 getInitgPty() { return initgPty; } /** * Sets the value of the initgPty property. * * @param value * allowed object is * {@link PartyIdentification43 } * */ public GroupHeader62 setInitgPty(PartyIdentification43 value) { this.initgPty = value; return this; } /** * Gets the value of the msgRcpt property. * * @return * possible object is * {@link PartyIdentification43 } * */ public PartyIdentification43 getMsgRcpt() { return msgRcpt; } /** * Sets the value of the msgRcpt property. * * @param value * allowed object is * {@link PartyIdentification43 } * */ public GroupHeader62 setMsgRcpt(PartyIdentification43 value) { this.msgRcpt = value; return this; } /** * Gets the value of the fwdgAgt property. * * @return * possible object is * {@link BranchAndFinancialInstitutionIdentification5 } * */ public BranchAndFinancialInstitutionIdentification5 getFwdgAgt() { return fwdgAgt; } /** * Sets the value of the fwdgAgt property. * * @param value * allowed object is * {@link BranchAndFinancialInstitutionIdentification5 } * */ public GroupHeader62 setFwdgAgt(BranchAndFinancialInstitutionIdentification5 value) { this.fwdgAgt = 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 authstn list. * @see #getAuthstn() * */ public GroupHeader62 addAuthstn(Authorisation1Choice authstn) { getAuthstn().add(authstn); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy