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

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

The newest version!

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

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;


/**
 * Specifies the identification attributes of an invoice which are required by the creditor for the activation of the debtor.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreditorInvoice5", propOrder = {
    "ltdPresntmntInd",
    "cstmrIdTp",
    "ctrctFrmtTp",
    "ctrctRefTp",
    "cdtrInstr",
    "actvtnReqDlvryPty"
})
public class CreditorInvoice5 {

    @XmlElement(name = "LtdPresntmntInd")
    protected Boolean ltdPresntmntInd;
    @XmlElement(name = "CstmrIdTp")
    protected CustomerTypeRequest2 cstmrIdTp;
    @XmlElement(name = "CtrctFrmtTp")
    protected List ctrctFrmtTp;
    @XmlElement(name = "CtrctRefTp")
    protected List ctrctRefTp;
    @XmlElement(name = "CdtrInstr")
    protected String cdtrInstr;
    @XmlElement(name = "ActvtnReqDlvryPty")
    protected RTPPartyIdentification2 actvtnReqDlvryPty;

    /**
     * Gets the value of the ltdPresntmntInd property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isLtdPresntmntInd() {
        return ltdPresntmntInd;
    }

    /**
     * Sets the value of the ltdPresntmntInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public CreditorInvoice5 setLtdPresntmntInd(Boolean value) {
        this.ltdPresntmntInd = value;
        return this;
    }

    /**
     * Gets the value of the cstmrIdTp property.
     * 
     * @return
     *     possible object is
     *     {@link CustomerTypeRequest2 }
     *     
     */
    public CustomerTypeRequest2 getCstmrIdTp() {
        return cstmrIdTp;
    }

    /**
     * Sets the value of the cstmrIdTp property.
     * 
     * @param value
     *     allowed object is
     *     {@link CustomerTypeRequest2 }
     *     
     */
    public CreditorInvoice5 setCstmrIdTp(CustomerTypeRequest2 value) {
        this.cstmrIdTp = value;
        return this;
    }

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

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

     *    getCtrctFrmtTp().add(newItem);
     * 
* * *

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

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

     *    getCtrctRefTp().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DocumentType1Choice } * * * @return * The value of the ctrctRefTp property. */ public List getCtrctRefTp() { if (ctrctRefTp == null) { ctrctRefTp = new ArrayList<>(); } return this.ctrctRefTp; } /** * Gets the value of the cdtrInstr property. * * @return * possible object is * {@link String } * */ public String getCdtrInstr() { return cdtrInstr; } /** * Sets the value of the cdtrInstr property. * * @param value * allowed object is * {@link String } * */ public CreditorInvoice5 setCdtrInstr(String value) { this.cdtrInstr = value; return this; } /** * Gets the value of the actvtnReqDlvryPty property. * * @return * possible object is * {@link RTPPartyIdentification2 } * */ public RTPPartyIdentification2 getActvtnReqDlvryPty() { return actvtnReqDlvryPty; } /** * Sets the value of the actvtnReqDlvryPty property. * * @param value * allowed object is * {@link RTPPartyIdentification2 } * */ public CreditorInvoice5 setActvtnReqDlvryPty(RTPPartyIdentification2 value) { this.actvtnReqDlvryPty = 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 ctrctFrmtTp list. * @see #getCtrctFrmtTp() * */ public CreditorInvoice5 addCtrctFrmtTp(DocumentFormat2Choice ctrctFrmtTp) { getCtrctFrmtTp().add(ctrctFrmtTp); return this; } /** * Adds a new item to the ctrctRefTp list. * @see #getCtrctRefTp() * */ public CreditorInvoice5 addCtrctRefTp(DocumentType1Choice ctrctRefTp) { getCtrctRefTp().add(ctrctRefTp); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy