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

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

The newest version!

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

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


/**
 * Information specifying the mandate.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OperationMandate6", propOrder = {
    "modCd",
    "id",
    "aplblChanl",
    "reqrdSgntrNb",
    "sgntrOrdrInd",
    "mndtHldr",
    "bkOpr",
    "startDt",
    "endDt"
})
public class OperationMandate6 {

    @XmlElement(name = "ModCd")
    @XmlSchemaType(name = "string")
    protected Modification1Code modCd;
    @XmlElement(name = "Id", required = true)
    protected String id;
    @XmlElement(name = "AplblChanl", required = true)
    protected List aplblChanl;
    @XmlElement(name = "ReqrdSgntrNb", required = true)
    protected String reqrdSgntrNb;
    @XmlElement(name = "SgntrOrdrInd")
    protected boolean sgntrOrdrInd;
    @XmlElement(name = "MndtHldr")
    protected List mndtHldr;
    @XmlElement(name = "BkOpr", required = true)
    protected List bkOpr;
    @XmlElement(name = "StartDt", type = String.class)
    @XmlJavaTypeAdapter(IsoDateAdapter.class)
    @XmlSchemaType(name = "date")
    protected LocalDate startDt;
    @XmlElement(name = "EndDt", type = String.class)
    @XmlJavaTypeAdapter(IsoDateAdapter.class)
    @XmlSchemaType(name = "date")
    protected LocalDate endDt;

    /**
     * Gets the value of the modCd property.
     * 
     * @return
     *     possible object is
     *     {@link Modification1Code }
     *     
     */
    public Modification1Code getModCd() {
        return modCd;
    }

    /**
     * Sets the value of the modCd property.
     * 
     * @param value
     *     allowed object is
     *     {@link Modification1Code }
     *     
     */
    public OperationMandate6 setModCd(Modification1Code value) {
        this.modCd = value;
        return this;
    }

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

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

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

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

     *    getAplblChanl().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Channel2Choice } * * * @return * The value of the aplblChanl property. */ public List getAplblChanl() { if (aplblChanl == null) { aplblChanl = new ArrayList<>(); } return this.aplblChanl; } /** * Gets the value of the reqrdSgntrNb property. * * @return * possible object is * {@link String } * */ public String getReqrdSgntrNb() { return reqrdSgntrNb; } /** * Sets the value of the reqrdSgntrNb property. * * @param value * allowed object is * {@link String } * */ public OperationMandate6 setReqrdSgntrNb(String value) { this.reqrdSgntrNb = value; return this; } /** * Gets the value of the sgntrOrdrInd property. * */ public boolean isSgntrOrdrInd() { return sgntrOrdrInd; } /** * Sets the value of the sgntrOrdrInd property. * */ public OperationMandate6 setSgntrOrdrInd(boolean value) { this.sgntrOrdrInd = value; return this; } /** * Gets the value of the mndtHldr 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 mndtHldr property. * *

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

     *    getMndtHldr().add(newItem);
     * 
* * *

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

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

     *    getBkOpr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link BankTransactionCodeStructure4 } * * * @return * The value of the bkOpr property. */ public List getBkOpr() { if (bkOpr == null) { bkOpr = new ArrayList<>(); } return this.bkOpr; } /** * Gets the value of the startDt property. * * @return * possible object is * {@link String } * */ public LocalDate getStartDt() { return startDt; } /** * Sets the value of the startDt property. * * @param value * allowed object is * {@link String } * */ public OperationMandate6 setStartDt(LocalDate value) { this.startDt = value; return this; } /** * Gets the value of the endDt property. * * @return * possible object is * {@link String } * */ public LocalDate getEndDt() { return endDt; } /** * Sets the value of the endDt property. * * @param value * allowed object is * {@link String } * */ public OperationMandate6 setEndDt(LocalDate value) { this.endDt = 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 aplblChanl list. * @see #getAplblChanl() * */ public OperationMandate6 addAplblChanl(Channel2Choice aplblChanl) { getAplblChanl().add(aplblChanl); return this; } /** * Adds a new item to the mndtHldr list. * @see #getMndtHldr() * */ public OperationMandate6 addMndtHldr(PartyAndAuthorisation6 mndtHldr) { getMndtHldr().add(mndtHldr); return this; } /** * Adds a new item to the bkOpr list. * @see #getBkOpr() * */ public OperationMandate6 addBkOpr(BankTransactionCodeStructure4 bkOpr) { getBkOpr().add(bkOpr); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy