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

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

The newest version!

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

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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 = "GroupHeader54", propOrder = {
    "msgId",
    "creDtTm",
    "authstn",
    "btchBookg",
    "nbOfTxs",
    "ctrlSum",
    "grpRtr",
    "ttlRtrdIntrBkSttlmAmt",
    "intrBkSttlmDt",
    "sttlmInf",
    "instgAgt",
    "instdAgt"
})
public class GroupHeader54 {

    @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 = "BtchBookg")
    protected Boolean btchBookg;
    @XmlElement(name = "NbOfTxs", required = true)
    protected String nbOfTxs;
    @XmlElement(name = "CtrlSum")
    protected BigDecimal ctrlSum;
    @XmlElement(name = "GrpRtr")
    protected Boolean grpRtr;
    @XmlElement(name = "TtlRtrdIntrBkSttlmAmt")
    protected ActiveCurrencyAndAmount ttlRtrdIntrBkSttlmAmt;
    @XmlElement(name = "IntrBkSttlmDt", type = String.class)
    @XmlJavaTypeAdapter(IsoDateAdapter.class)
    @XmlSchemaType(name = "date")
    protected LocalDate intrBkSttlmDt;
    @XmlElement(name = "SttlmInf", required = true)
    protected SettlementInstruction1 sttlmInf;
    @XmlElement(name = "InstgAgt")
    protected BranchAndFinancialInstitutionIdentification5 instgAgt;
    @XmlElement(name = "InstdAgt")
    protected BranchAndFinancialInstitutionIdentification5 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 GroupHeader54 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 GroupHeader54 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 btchBookg property. * * @return * possible object is * {@link Boolean } * */ public Boolean isBtchBookg() { return btchBookg; } /** * Sets the value of the btchBookg property. * * @param value * allowed object is * {@link Boolean } * */ public GroupHeader54 setBtchBookg(Boolean value) { this.btchBookg = value; return this; } /** * Gets the value of the nbOfTxs property. * * @return * possible object is * {@link String } * */ public String getNbOfTxs() { return nbOfTxs; } /** * Sets the value of the nbOfTxs property. * * @param value * allowed object is * {@link String } * */ public GroupHeader54 setNbOfTxs(String value) { this.nbOfTxs = value; return this; } /** * Gets the value of the ctrlSum property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getCtrlSum() { return ctrlSum; } /** * Sets the value of the ctrlSum property. * * @param value * allowed object is * {@link BigDecimal } * */ public GroupHeader54 setCtrlSum(BigDecimal value) { this.ctrlSum = value; return this; } /** * Gets the value of the grpRtr property. * * @return * possible object is * {@link Boolean } * */ public Boolean isGrpRtr() { return grpRtr; } /** * Sets the value of the grpRtr property. * * @param value * allowed object is * {@link Boolean } * */ public GroupHeader54 setGrpRtr(Boolean value) { this.grpRtr = value; return this; } /** * Gets the value of the ttlRtrdIntrBkSttlmAmt property. * * @return * possible object is * {@link ActiveCurrencyAndAmount } * */ public ActiveCurrencyAndAmount getTtlRtrdIntrBkSttlmAmt() { return ttlRtrdIntrBkSttlmAmt; } /** * Sets the value of the ttlRtrdIntrBkSttlmAmt property. * * @param value * allowed object is * {@link ActiveCurrencyAndAmount } * */ public GroupHeader54 setTtlRtrdIntrBkSttlmAmt(ActiveCurrencyAndAmount value) { this.ttlRtrdIntrBkSttlmAmt = value; return this; } /** * Gets the value of the intrBkSttlmDt property. * * @return * possible object is * {@link String } * */ public LocalDate getIntrBkSttlmDt() { return intrBkSttlmDt; } /** * Sets the value of the intrBkSttlmDt property. * * @param value * allowed object is * {@link String } * */ public GroupHeader54 setIntrBkSttlmDt(LocalDate value) { this.intrBkSttlmDt = value; return this; } /** * Gets the value of the sttlmInf property. * * @return * possible object is * {@link SettlementInstruction1 } * */ public SettlementInstruction1 getSttlmInf() { return sttlmInf; } /** * Sets the value of the sttlmInf property. * * @param value * allowed object is * {@link SettlementInstruction1 } * */ public GroupHeader54 setSttlmInf(SettlementInstruction1 value) { this.sttlmInf = value; return this; } /** * Gets the value of the instgAgt property. * * @return * possible object is * {@link BranchAndFinancialInstitutionIdentification5 } * */ public BranchAndFinancialInstitutionIdentification5 getInstgAgt() { return instgAgt; } /** * Sets the value of the instgAgt property. * * @param value * allowed object is * {@link BranchAndFinancialInstitutionIdentification5 } * */ public GroupHeader54 setInstgAgt(BranchAndFinancialInstitutionIdentification5 value) { this.instgAgt = value; return this; } /** * Gets the value of the instdAgt property. * * @return * possible object is * {@link BranchAndFinancialInstitutionIdentification5 } * */ public BranchAndFinancialInstitutionIdentification5 getInstdAgt() { return instdAgt; } /** * Sets the value of the instdAgt property. * * @param value * allowed object is * {@link BranchAndFinancialInstitutionIdentification5 } * */ public GroupHeader54 setInstdAgt(BranchAndFinancialInstitutionIdentification5 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 GroupHeader54 addAuthstn(Authorisation1Choice authstn) { getAuthstn().add(authstn); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy