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

com.prowidesoftware.swift.model.mx.dic.Transfer21 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;


/**
 * Parameters applied to the settlement of a security transfer.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Transfer21", propOrder = {
    "trfRef",
    "clntRef",
    "ctrPtyRef",
    "bizFlowTp",
    "trfRsn",
    "trfDt",
    "reqdSttlmDt",
    "hldgsPlanTp",
    "finInstrmDtls",
    "ttlUnitsNb",
    "ownAcctTrfInd",
    "nonStdSttlmInf",
    "rcvgAgtDtls",
    "dlvrgAgtDtls"
})
public class Transfer21 {

    @XmlElement(name = "TrfRef", required = true)
    protected String trfRef;
    @XmlElement(name = "ClntRef")
    protected String clntRef;
    @XmlElement(name = "CtrPtyRef")
    protected AdditionalReference2 ctrPtyRef;
    @XmlElement(name = "BizFlowTp")
    @XmlSchemaType(name = "string")
    protected BusinessFlowType1Code bizFlowTp;
    @XmlElement(name = "TrfRsn")
    protected TransferReason1 trfRsn;
    @XmlElement(name = "TrfDt")
    protected DateFormat1Choice trfDt;
    @XmlElement(name = "ReqdSttlmDt", type = String.class)
    @XmlJavaTypeAdapter(IsoDateAdapter.class)
    @XmlSchemaType(name = "date")
    protected LocalDate reqdSttlmDt;
    @XmlElement(name = "HldgsPlanTp")
    @XmlSchemaType(name = "string")
    protected List hldgsPlanTp;
    @XmlElement(name = "FinInstrmDtls", required = true)
    protected FinancialInstrument13 finInstrmDtls;
    @XmlElement(name = "TtlUnitsNb", required = true)
    protected FinancialInstrumentQuantity1 ttlUnitsNb;
    @XmlElement(name = "OwnAcctTrfInd")
    protected Boolean ownAcctTrfInd;
    @XmlElement(name = "NonStdSttlmInf")
    protected String nonStdSttlmInf;
    @XmlElement(name = "RcvgAgtDtls")
    protected PartyIdentificationAndAccount93 rcvgAgtDtls;
    @XmlElement(name = "DlvrgAgtDtls")
    protected PartyIdentificationAndAccount93 dlvrgAgtDtls;

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

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

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

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

    /**
     * Gets the value of the ctrPtyRef property.
     * 
     * @return
     *     possible object is
     *     {@link AdditionalReference2 }
     *     
     */
    public AdditionalReference2 getCtrPtyRef() {
        return ctrPtyRef;
    }

    /**
     * Sets the value of the ctrPtyRef property.
     * 
     * @param value
     *     allowed object is
     *     {@link AdditionalReference2 }
     *     
     */
    public Transfer21 setCtrPtyRef(AdditionalReference2 value) {
        this.ctrPtyRef = value;
        return this;
    }

    /**
     * Gets the value of the bizFlowTp property.
     * 
     * @return
     *     possible object is
     *     {@link BusinessFlowType1Code }
     *     
     */
    public BusinessFlowType1Code getBizFlowTp() {
        return bizFlowTp;
    }

    /**
     * Sets the value of the bizFlowTp property.
     * 
     * @param value
     *     allowed object is
     *     {@link BusinessFlowType1Code }
     *     
     */
    public Transfer21 setBizFlowTp(BusinessFlowType1Code value) {
        this.bizFlowTp = value;
        return this;
    }

    /**
     * Gets the value of the trfRsn property.
     * 
     * @return
     *     possible object is
     *     {@link TransferReason1 }
     *     
     */
    public TransferReason1 getTrfRsn() {
        return trfRsn;
    }

    /**
     * Sets the value of the trfRsn property.
     * 
     * @param value
     *     allowed object is
     *     {@link TransferReason1 }
     *     
     */
    public Transfer21 setTrfRsn(TransferReason1 value) {
        this.trfRsn = value;
        return this;
    }

    /**
     * Gets the value of the trfDt property.
     * 
     * @return
     *     possible object is
     *     {@link DateFormat1Choice }
     *     
     */
    public DateFormat1Choice getTrfDt() {
        return trfDt;
    }

    /**
     * Sets the value of the trfDt property.
     * 
     * @param value
     *     allowed object is
     *     {@link DateFormat1Choice }
     *     
     */
    public Transfer21 setTrfDt(DateFormat1Choice value) {
        this.trfDt = value;
        return this;
    }

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

    /**
     * Sets the value of the reqdSttlmDt property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public Transfer21 setReqdSttlmDt(LocalDate value) {
        this.reqdSttlmDt = value;
        return this;
    }

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

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

     *    getHldgsPlanTp().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HoldingsPlanType1Code } * * * @return * The value of the hldgsPlanTp property. */ public List getHldgsPlanTp() { if (hldgsPlanTp == null) { hldgsPlanTp = new ArrayList<>(); } return this.hldgsPlanTp; } /** * Gets the value of the finInstrmDtls property. * * @return * possible object is * {@link FinancialInstrument13 } * */ public FinancialInstrument13 getFinInstrmDtls() { return finInstrmDtls; } /** * Sets the value of the finInstrmDtls property. * * @param value * allowed object is * {@link FinancialInstrument13 } * */ public Transfer21 setFinInstrmDtls(FinancialInstrument13 value) { this.finInstrmDtls = value; return this; } /** * Gets the value of the ttlUnitsNb property. * * @return * possible object is * {@link FinancialInstrumentQuantity1 } * */ public FinancialInstrumentQuantity1 getTtlUnitsNb() { return ttlUnitsNb; } /** * Sets the value of the ttlUnitsNb property. * * @param value * allowed object is * {@link FinancialInstrumentQuantity1 } * */ public Transfer21 setTtlUnitsNb(FinancialInstrumentQuantity1 value) { this.ttlUnitsNb = value; return this; } /** * Gets the value of the ownAcctTrfInd property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOwnAcctTrfInd() { return ownAcctTrfInd; } /** * Sets the value of the ownAcctTrfInd property. * * @param value * allowed object is * {@link Boolean } * */ public Transfer21 setOwnAcctTrfInd(Boolean value) { this.ownAcctTrfInd = value; return this; } /** * Gets the value of the nonStdSttlmInf property. * * @return * possible object is * {@link String } * */ public String getNonStdSttlmInf() { return nonStdSttlmInf; } /** * Sets the value of the nonStdSttlmInf property. * * @param value * allowed object is * {@link String } * */ public Transfer21 setNonStdSttlmInf(String value) { this.nonStdSttlmInf = value; return this; } /** * Gets the value of the rcvgAgtDtls property. * * @return * possible object is * {@link PartyIdentificationAndAccount93 } * */ public PartyIdentificationAndAccount93 getRcvgAgtDtls() { return rcvgAgtDtls; } /** * Sets the value of the rcvgAgtDtls property. * * @param value * allowed object is * {@link PartyIdentificationAndAccount93 } * */ public Transfer21 setRcvgAgtDtls(PartyIdentificationAndAccount93 value) { this.rcvgAgtDtls = value; return this; } /** * Gets the value of the dlvrgAgtDtls property. * * @return * possible object is * {@link PartyIdentificationAndAccount93 } * */ public PartyIdentificationAndAccount93 getDlvrgAgtDtls() { return dlvrgAgtDtls; } /** * Sets the value of the dlvrgAgtDtls property. * * @param value * allowed object is * {@link PartyIdentificationAndAccount93 } * */ public Transfer21 setDlvrgAgtDtls(PartyIdentificationAndAccount93 value) { this.dlvrgAgtDtls = 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 hldgsPlanTp list. * @see #getHldgsPlanTp() * */ public Transfer21 addHldgsPlanTp(HoldingsPlanType1Code hldgsPlanTp) { getHldgsPlanTp().add(hldgsPlanTp); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy