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

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

The newest version!

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

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
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;


/**
 * The message PartyRegistrationAndGuaranteeRequest is sent by a factoring client either to a financial service or a guarantee issuer. The message can also be sent from a financial service to a guarantee issuer. Furthermore, the message can be sent to an interested party for example a fiscal authority. When the message is sent to a guarantee issuer, the factoring client or financial service provider requests a guarantee for the factoring agreement concerning the indicated trade party. When the message is sent to a financial service, the financial client requests an agreement to execute assignments of financial items. The financial client may request the guarantee amount to be obtained in case of insolvency of the trade partner for a corresponding account receivable directly from the financial service. Alternatively and depending on the contractual and product definition, the financial client may be required to include a copy of a guarantee status received from a guarantee issuer.
 * The message can carry digital signatures if required by context.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PartyRegistrationAndGuaranteeRequestV01", propOrder = {
    "hdr",
    "agrmtList",
    "agrmtCnt",
    "itmCnt",
    "ctrlSum",
    "attchdMsg"
})
public class PartyRegistrationAndGuaranteeRequestV01 {

    @XmlElement(name = "Hdr", required = true)
    protected BusinessLetter1 hdr;
    @XmlElement(name = "AgrmtList", required = true)
    protected List agrmtList;
    @XmlElement(name = "AgrmtCnt")
    protected String agrmtCnt;
    @XmlElement(name = "ItmCnt")
    protected String itmCnt;
    @XmlElement(name = "CtrlSum")
    protected BigDecimal ctrlSum;
    @XmlElement(name = "AttchdMsg")
    protected List attchdMsg;

    /**
     * Gets the value of the hdr property.
     * 
     * @return
     *     possible object is
     *     {@link BusinessLetter1 }
     *     
     */
    public BusinessLetter1 getHdr() {
        return hdr;
    }

    /**
     * Sets the value of the hdr property.
     * 
     * @param value
     *     allowed object is
     *     {@link BusinessLetter1 }
     *     
     */
    public PartyRegistrationAndGuaranteeRequestV01 setHdr(BusinessLetter1 value) {
        this.hdr = value;
        return this;
    }

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

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

     *    getAgrmtList().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FinancingAgreementList1Tsin00900101 } * * * @return * The value of the agrmtList property. */ public List getAgrmtList() { if (agrmtList == null) { agrmtList = new ArrayList<>(); } return this.agrmtList; } /** * Gets the value of the agrmtCnt property. * * @return * possible object is * {@link String } * */ public String getAgrmtCnt() { return agrmtCnt; } /** * Sets the value of the agrmtCnt property. * * @param value * allowed object is * {@link String } * */ public PartyRegistrationAndGuaranteeRequestV01 setAgrmtCnt(String value) { this.agrmtCnt = value; return this; } /** * Gets the value of the itmCnt property. * * @return * possible object is * {@link String } * */ public String getItmCnt() { return itmCnt; } /** * Sets the value of the itmCnt property. * * @param value * allowed object is * {@link String } * */ public PartyRegistrationAndGuaranteeRequestV01 setItmCnt(String value) { this.itmCnt = 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 PartyRegistrationAndGuaranteeRequestV01 setCtrlSum(BigDecimal value) { this.ctrlSum = value; return this; } /** * Gets the value of the attchdMsg 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 attchdMsg property. * *

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

     *    getAttchdMsg().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link EncapsulatedBusinessMessage1 } * * * @return * The value of the attchdMsg property. */ public List getAttchdMsg() { if (attchdMsg == null) { attchdMsg = new ArrayList<>(); } return this.attchdMsg; } @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 agrmtList list. * @see #getAgrmtList() * */ public PartyRegistrationAndGuaranteeRequestV01 addAgrmtList(FinancingAgreementList1Tsin00900101 agrmtList) { getAgrmtList().add(agrmtList); return this; } /** * Adds a new item to the attchdMsg list. * @see #getAttchdMsg() * */ public PartyRegistrationAndGuaranteeRequestV01 addAttchdMsg(EncapsulatedBusinessMessage1 attchdMsg) { getAttchdMsg().add(attchdMsg); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy