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

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

There is a newer version: SRU2024-10.2.6
Show newest version

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

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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;


/**
 * Agreement between the parties, stipulating the terms and conditions of the delivery of goods or services.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeContract1", propOrder = {
    "ctrctDocId",
    "amt",
    "buyr",
    "sellr",
    "mtrtyDt",
    "prlngtnFlg",
    "startDt",
    "sttlmCcy",
    "xchgRateInf",
    "pmtSchdl",
    "shipmntSchdl",
    "attchmnt"
})
public class TradeContract1 {

    @XmlElement(name = "CtrctDocId")
    protected DocumentIdentification22 ctrctDocId;
    @XmlElement(name = "Amt", required = true)
    protected ActiveCurrencyAndAmount amt;
    @XmlElement(name = "Buyr", required = true)
    protected List buyr;
    @XmlElement(name = "Sellr", required = true)
    protected List sellr;
    @XmlElement(name = "MtrtyDt", required = true)
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar mtrtyDt;
    @XmlElement(name = "PrlngtnFlg")
    protected boolean prlngtnFlg;
    @XmlElement(name = "StartDt", required = true)
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar startDt;
    @XmlElement(name = "SttlmCcy", required = true)
    protected String sttlmCcy;
    @XmlElement(name = "XchgRateInf")
    protected ExchangeRate1 xchgRateInf;
    @XmlElement(name = "PmtSchdl")
    protected InterestPaymentDateRange1 pmtSchdl;
    @XmlElement(name = "ShipmntSchdl")
    protected ShipmentSchedule2Choice shipmntSchdl;
    @XmlElement(name = "Attchmnt")
    protected List attchmnt;

    /**
     * Gets the value of the ctrctDocId property.
     * 
     * @return
     *     possible object is
     *     {@link DocumentIdentification22 }
     *     
     */
    public DocumentIdentification22 getCtrctDocId() {
        return ctrctDocId;
    }

    /**
     * Sets the value of the ctrctDocId property.
     * 
     * @param value
     *     allowed object is
     *     {@link DocumentIdentification22 }
     *     
     */
    public TradeContract1 setCtrctDocId(DocumentIdentification22 value) {
        this.ctrctDocId = value;
        return this;
    }

    /**
     * Gets the value of the amt property.
     * 
     * @return
     *     possible object is
     *     {@link ActiveCurrencyAndAmount }
     *     
     */
    public ActiveCurrencyAndAmount getAmt() {
        return amt;
    }

    /**
     * Sets the value of the amt property.
     * 
     * @param value
     *     allowed object is
     *     {@link ActiveCurrencyAndAmount }
     *     
     */
    public TradeContract1 setAmt(ActiveCurrencyAndAmount value) {
        this.amt = value;
        return this;
    }

    /**
     * Gets the value of the buyr 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 JAXB object. * This is why there is not a set method for the buyr property. * *

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

     *    getBuyr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TradeParty2 } * * */ public List getBuyr() { if (buyr == null) { buyr = new ArrayList(); } return this.buyr; } /** * Gets the value of the sellr 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 JAXB object. * This is why there is not a set method for the sellr property. * *

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

     *    getSellr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TradeParty2 } * * */ public List getSellr() { if (sellr == null) { sellr = new ArrayList(); } return this.sellr; } /** * Gets the value of the mtrtyDt property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getMtrtyDt() { return mtrtyDt; } /** * Sets the value of the mtrtyDt property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public TradeContract1 setMtrtyDt(XMLGregorianCalendar value) { this.mtrtyDt = value; return this; } /** * Gets the value of the prlngtnFlg property. * */ public boolean isPrlngtnFlg() { return prlngtnFlg; } /** * Sets the value of the prlngtnFlg property. * */ public TradeContract1 setPrlngtnFlg(boolean value) { this.prlngtnFlg = value; return this; } /** * Gets the value of the startDt property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getStartDt() { return startDt; } /** * Sets the value of the startDt property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public TradeContract1 setStartDt(XMLGregorianCalendar value) { this.startDt = value; return this; } /** * Gets the value of the sttlmCcy property. * * @return * possible object is * {@link String } * */ public String getSttlmCcy() { return sttlmCcy; } /** * Sets the value of the sttlmCcy property. * * @param value * allowed object is * {@link String } * */ public TradeContract1 setSttlmCcy(String value) { this.sttlmCcy = value; return this; } /** * Gets the value of the xchgRateInf property. * * @return * possible object is * {@link ExchangeRate1 } * */ public ExchangeRate1 getXchgRateInf() { return xchgRateInf; } /** * Sets the value of the xchgRateInf property. * * @param value * allowed object is * {@link ExchangeRate1 } * */ public TradeContract1 setXchgRateInf(ExchangeRate1 value) { this.xchgRateInf = value; return this; } /** * Gets the value of the pmtSchdl property. * * @return * possible object is * {@link InterestPaymentDateRange1 } * */ public InterestPaymentDateRange1 getPmtSchdl() { return pmtSchdl; } /** * Sets the value of the pmtSchdl property. * * @param value * allowed object is * {@link InterestPaymentDateRange1 } * */ public TradeContract1 setPmtSchdl(InterestPaymentDateRange1 value) { this.pmtSchdl = value; return this; } /** * Gets the value of the shipmntSchdl property. * * @return * possible object is * {@link ShipmentSchedule2Choice } * */ public ShipmentSchedule2Choice getShipmntSchdl() { return shipmntSchdl; } /** * Sets the value of the shipmntSchdl property. * * @param value * allowed object is * {@link ShipmentSchedule2Choice } * */ public TradeContract1 setShipmntSchdl(ShipmentSchedule2Choice value) { this.shipmntSchdl = value; return this; } /** * Gets the value of the attchmnt 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 JAXB object. * This is why there is not a set method for the attchmnt property. * *

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

     *    getAttchmnt().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DocumentGeneralInformation3 } * * */ public List getAttchmnt() { if (attchmnt == null) { attchmnt = new ArrayList(); } return this.attchmnt; } @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 buyr list. * @see #getBuyr() * */ public TradeContract1 addBuyr(TradeParty2 buyr) { getBuyr().add(buyr); return this; } /** * Adds a new item to the sellr list. * @see #getSellr() * */ public TradeContract1 addSellr(TradeParty2 sellr) { getSellr().add(sellr); return this; } /** * Adds a new item to the attchmnt list. * @see #getAttchmnt() * */ public TradeContract1 addAttchmnt(DocumentGeneralInformation3 attchmnt) { getAttchmnt().add(attchmnt); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy