network.oxalis.peppol.ubl2.jaxb.cac.TaxTotalType Maven / Gradle / Ivy
Show all versions of peppol-ubl21 Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.08.26 at 01:27:09 PM UTC
//
package network.oxalis.peppol.ubl2.jaxb.cac;
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.XmlType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import network.oxalis.peppol.ubl2.jaxb.cbc.RoundingAmountType;
import network.oxalis.peppol.ubl2.jaxb.cbc.TaxAmountType;
import network.oxalis.peppol.ubl2.jaxb.cbc.TaxEvidenceIndicatorType;
import network.oxalis.peppol.ubl2.jaxb.cbc.TaxIncludedIndicatorType;
/**
* Java class for TaxTotalType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TaxTotalType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxAmount"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RoundingAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxEvidenceIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxIncludedIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxSubtotal" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TaxTotalType", propOrder = {
"taxAmount",
"roundingAmount",
"taxEvidenceIndicator",
"taxIncludedIndicator",
"taxSubtotal"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaxTotalType {
@XmlElement(name = "TaxAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected TaxAmountType taxAmount;
@XmlElement(name = "RoundingAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected RoundingAmountType roundingAmount;
@XmlElement(name = "TaxEvidenceIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TaxEvidenceIndicatorType taxEvidenceIndicator;
@XmlElement(name = "TaxIncludedIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TaxIncludedIndicatorType taxIncludedIndicator;
@XmlElement(name = "TaxSubtotal")
protected List taxSubtotal;
/**
* Gets the value of the taxAmount property.
*
* @return
* possible object is
* {@link TaxAmountType }
*
*/
public TaxAmountType getTaxAmount() {
return taxAmount;
}
/**
* Sets the value of the taxAmount property.
*
* @param value
* allowed object is
* {@link TaxAmountType }
*
*/
public void setTaxAmount(TaxAmountType value) {
this.taxAmount = value;
}
/**
* Gets the value of the roundingAmount property.
*
* @return
* possible object is
* {@link RoundingAmountType }
*
*/
public RoundingAmountType getRoundingAmount() {
return roundingAmount;
}
/**
* Sets the value of the roundingAmount property.
*
* @param value
* allowed object is
* {@link RoundingAmountType }
*
*/
public void setRoundingAmount(RoundingAmountType value) {
this.roundingAmount = value;
}
/**
* Gets the value of the taxEvidenceIndicator property.
*
* @return
* possible object is
* {@link TaxEvidenceIndicatorType }
*
*/
public TaxEvidenceIndicatorType getTaxEvidenceIndicator() {
return taxEvidenceIndicator;
}
/**
* Sets the value of the taxEvidenceIndicator property.
*
* @param value
* allowed object is
* {@link TaxEvidenceIndicatorType }
*
*/
public void setTaxEvidenceIndicator(TaxEvidenceIndicatorType value) {
this.taxEvidenceIndicator = value;
}
/**
* Gets the value of the taxIncludedIndicator property.
*
* @return
* possible object is
* {@link TaxIncludedIndicatorType }
*
*/
public TaxIncludedIndicatorType getTaxIncludedIndicator() {
return taxIncludedIndicator;
}
/**
* Sets the value of the taxIncludedIndicator property.
*
* @param value
* allowed object is
* {@link TaxIncludedIndicatorType }
*
*/
public void setTaxIncludedIndicator(TaxIncludedIndicatorType value) {
this.taxIncludedIndicator = value;
}
/**
* Gets the value of the taxSubtotal 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 taxSubtotal property.
*
*
* For example, to add a new item, do as follows:
*
* getTaxSubtotal().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TaxSubtotalType }
*
*
*/
public List getTaxSubtotal() {
if (taxSubtotal == null) {
taxSubtotal = new ArrayList();
}
return this.taxSubtotal;
}
}