network.oxalis.peppol.ubl2.jaxb.cac.DutyType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of peppol-ubl21 Show documentation
Show all versions of peppol-ubl21 Show documentation
Universal Business Language (UBL) 2.1 artifact for Peppol
The newest version!
//
// 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 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.AmountType;
import network.oxalis.peppol.ubl2.jaxb.cbc.DutyCodeType;
/**
* Java class for DutyType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DutyType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Amount"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Duty" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DutyCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxCategory" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DutyType", propOrder = {
"amount",
"duty",
"dutyCode",
"taxCategory"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DutyType {
@XmlElement(name = "Amount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected AmountType amount;
@XmlElement(name = "Duty", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected network.oxalis.peppol.ubl2.jaxb.cbc.DutyType duty;
@XmlElement(name = "DutyCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected DutyCodeType dutyCode;
@XmlElement(name = "TaxCategory")
protected TaxCategoryType taxCategory;
/**
* Gets the value of the amount property.
*
* @return
* possible object is
* {@link AmountType }
*
*/
public AmountType getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
* @param value
* allowed object is
* {@link AmountType }
*
*/
public void setAmount(AmountType value) {
this.amount = value;
}
/**
* Gets the value of the duty property.
*
* @return
* possible object is
* {@link network.oxalis.peppol.ubl2.jaxb.cbc.DutyType }
*
*/
public network.oxalis.peppol.ubl2.jaxb.cbc.DutyType getDuty() {
return duty;
}
/**
* Sets the value of the duty property.
*
* @param value
* allowed object is
* {@link network.oxalis.peppol.ubl2.jaxb.cbc.DutyType }
*
*/
public void setDuty(network.oxalis.peppol.ubl2.jaxb.cbc.DutyType value) {
this.duty = value;
}
/**
* Gets the value of the dutyCode property.
*
* @return
* possible object is
* {@link DutyCodeType }
*
*/
public DutyCodeType getDutyCode() {
return dutyCode;
}
/**
* Sets the value of the dutyCode property.
*
* @param value
* allowed object is
* {@link DutyCodeType }
*
*/
public void setDutyCode(DutyCodeType value) {
this.dutyCode = value;
}
/**
* Gets the value of the taxCategory property.
*
* @return
* possible object is
* {@link TaxCategoryType }
*
*/
public TaxCategoryType getTaxCategory() {
return taxCategory;
}
/**
* Sets the value of the taxCategory property.
*
* @param value
* allowed object is
* {@link TaxCategoryType }
*
*/
public void setTaxCategory(TaxCategoryType value) {
this.taxCategory = value;
}
}