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

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


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 = "OperationMandate1", propOrder = {
    "id",
    "reqrdSgntrNb",
    "sgntrOrdrInd",
    "mndtHldr",
    "bkOpr",
    "startDt",
    "endDt"
})
public class OperationMandate1 {

    @XmlElement(name = "Id", required = true)
    protected String id;
    @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 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 OperationMandate1 setId(String value) {
        this.id = value;
        return this;
    }

    /**
     * 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 OperationMandate1 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 OperationMandate1 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 PartyAndCertificate1 } * * * @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 OperationMandate1 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 OperationMandate1 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 mndtHldr list. * @see #getMndtHldr() * */ public OperationMandate1 addMndtHldr(PartyAndCertificate1 mndtHldr) { getMndtHldr().add(mndtHldr); return this; } /** * Adds a new item to the bkOpr list. * @see #getBkOpr() * */ public OperationMandate1 addBkOpr(BankTransactionCodeStructure4 bkOpr) { getBkOpr().add(bkOpr); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy