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

com.prowidesoftware.swift.model.mx.dic.GroupHeader80 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 = "GroupHeader80", propOrder = {
    "msgId",
    "creDtTm",
    "authstn",
    "initgPty",
    "instgAgt",
    "instdAgt"
})
public class GroupHeader80 {

    @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 = "InitgPty")
    protected PartyIdentification135 initgPty;
    @XmlElement(name = "InstgAgt")
    protected BranchAndFinancialInstitutionIdentification6 instgAgt;
    @XmlElement(name = "InstdAgt")
    protected BranchAndFinancialInstitutionIdentification6 instdAgt;

    /**
     * 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 GroupHeader80 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 GroupHeader80 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 initgPty property. * * @return * possible object is * {@link PartyIdentification135 } * */ public PartyIdentification135 getInitgPty() { return initgPty; } /** * Sets the value of the initgPty property. * * @param value * allowed object is * {@link PartyIdentification135 } * */ public GroupHeader80 setInitgPty(PartyIdentification135 value) { this.initgPty = value; return this; } /** * Gets the value of the instgAgt property. * * @return * possible object is * {@link BranchAndFinancialInstitutionIdentification6 } * */ public BranchAndFinancialInstitutionIdentification6 getInstgAgt() { return instgAgt; } /** * Sets the value of the instgAgt property. * * @param value * allowed object is * {@link BranchAndFinancialInstitutionIdentification6 } * */ public GroupHeader80 setInstgAgt(BranchAndFinancialInstitutionIdentification6 value) { this.instgAgt = value; return this; } /** * Gets the value of the instdAgt property. * * @return * possible object is * {@link BranchAndFinancialInstitutionIdentification6 } * */ public BranchAndFinancialInstitutionIdentification6 getInstdAgt() { return instdAgt; } /** * Sets the value of the instdAgt property. * * @param value * allowed object is * {@link BranchAndFinancialInstitutionIdentification6 } * */ public GroupHeader80 setInstdAgt(BranchAndFinancialInstitutionIdentification6 value) { this.instdAgt = 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 GroupHeader80 addAuthstn(Authorisation1Choice authstn) { getAuthstn().add(authstn); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy