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

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


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;


/**
 * Contains all needed party details for tax agency (sender of the TaxReport) and tax authority (receiver of the TaxReport) and the details of the reported sales transaction and calculated tax related that specific business transaction.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TaxReport1", propOrder = {
    "taxRptHdr",
    "sellr",
    "buyr",
    "tradSttlm",
    "othrPty",
    "addtlInf",
    "addtlRef",
    "splmtryData"
})
public class TaxReport1 {

    @XmlElement(name = "TaxRptHdr", required = true)
    protected GroupHeader69 taxRptHdr;
    @XmlElement(name = "Sellr", required = true)
    protected PartyIdentification72 sellr;
    @XmlElement(name = "Buyr")
    protected PartyIdentification72 buyr;
    @XmlElement(name = "TradSttlm", required = true)
    protected TradeSettlement2 tradSttlm;
    @XmlElement(name = "OthrPty")
    protected List othrPty;
    @XmlElement(name = "AddtlInf")
    protected List addtlInf;
    @XmlElement(name = "AddtlRef")
    protected List addtlRef;
    @XmlElement(name = "SplmtryData")
    protected List splmtryData;

    /**
     * Gets the value of the taxRptHdr property.
     * 
     * @return
     *     possible object is
     *     {@link GroupHeader69 }
     *     
     */
    public GroupHeader69 getTaxRptHdr() {
        return taxRptHdr;
    }

    /**
     * Sets the value of the taxRptHdr property.
     * 
     * @param value
     *     allowed object is
     *     {@link GroupHeader69 }
     *     
     */
    public TaxReport1 setTaxRptHdr(GroupHeader69 value) {
        this.taxRptHdr = value;
        return this;
    }

    /**
     * Gets the value of the sellr property.
     * 
     * @return
     *     possible object is
     *     {@link PartyIdentification72 }
     *     
     */
    public PartyIdentification72 getSellr() {
        return sellr;
    }

    /**
     * Sets the value of the sellr property.
     * 
     * @param value
     *     allowed object is
     *     {@link PartyIdentification72 }
     *     
     */
    public TaxReport1 setSellr(PartyIdentification72 value) {
        this.sellr = value;
        return this;
    }

    /**
     * Gets the value of the buyr property.
     * 
     * @return
     *     possible object is
     *     {@link PartyIdentification72 }
     *     
     */
    public PartyIdentification72 getBuyr() {
        return buyr;
    }

    /**
     * Sets the value of the buyr property.
     * 
     * @param value
     *     allowed object is
     *     {@link PartyIdentification72 }
     *     
     */
    public TaxReport1 setBuyr(PartyIdentification72 value) {
        this.buyr = value;
        return this;
    }

    /**
     * Gets the value of the tradSttlm property.
     * 
     * @return
     *     possible object is
     *     {@link TradeSettlement2 }
     *     
     */
    public TradeSettlement2 getTradSttlm() {
        return tradSttlm;
    }

    /**
     * Sets the value of the tradSttlm property.
     * 
     * @param value
     *     allowed object is
     *     {@link TradeSettlement2 }
     *     
     */
    public TaxReport1 setTradSttlm(TradeSettlement2 value) {
        this.tradSttlm = value;
        return this;
    }

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

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

     *    getOthrPty().add(newItem);
     * 
* * *

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

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

     *    getAddtlInf().add(newItem);
     * 
* * *

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

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

     *    getAddtlRef().add(newItem);
     * 
* * *

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

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

     *    getSplmtryData().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SupplementaryData1 } * * * @return * The value of the splmtryData property. */ public List getSplmtryData() { if (splmtryData == null) { splmtryData = new ArrayList<>(); } return this.splmtryData; } @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 othrPty list. * @see #getOthrPty() * */ public TaxReport1 addOthrPty(PartyIdentification72 othrPty) { getOthrPty().add(othrPty); return this; } /** * Adds a new item to the addtlInf list. * @see #getAddtlInf() * */ public TaxReport1 addAddtlInf(AdditionalInformation1 addtlInf) { getAddtlInf().add(addtlInf); return this; } /** * Adds a new item to the addtlRef list. * @see #getAddtlRef() * */ public TaxReport1 addAddtlRef(DocumentGeneralInformation2 addtlRef) { getAddtlRef().add(addtlRef); return this; } /** * Adds a new item to the splmtryData list. * @see #getSplmtryData() * */ public TaxReport1 addSplmtryData(SupplementaryData1 splmtryData) { getSplmtryData().add(splmtryData); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy