Class TaxCategoryType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.TaxCategoryType
-
public class TaxCategoryType extends Object
Java class for TaxCategoryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TaxCategoryType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Name" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Percent" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BaseUnitMeasure" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PerUnitAmount" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxExemptionReasonCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxExemptionReason" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TierRange" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TierRatePercent" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxScheme"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BaseUnitMeasureTypebaseUnitMeasureprotected IDTypeidprotected NameTypenameprotected PercentTypepercentprotected PerUnitAmountTypeperUnitAmountprotected List<TaxExemptionReasonType>taxExemptionReasonprotected TaxExemptionReasonCodeTypetaxExemptionReasonCodeprotected TaxSchemeTypetaxSchemeprotected TierRangeTypetierRangeprotected TierRatePercentTypetierRatePercent
-
Constructor Summary
Constructors Constructor Description TaxCategoryType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseUnitMeasureTypegetBaseUnitMeasure()Gets the value of the baseUnitMeasure property.IDTypegetID()Gets the value of the id property.NameTypegetName()Gets the value of the name property.PercentTypegetPercent()Gets the value of the percent property.PerUnitAmountTypegetPerUnitAmount()Gets the value of the perUnitAmount property.List<TaxExemptionReasonType>getTaxExemptionReason()Gets the value of the taxExemptionReason property.TaxExemptionReasonCodeTypegetTaxExemptionReasonCode()Gets the value of the taxExemptionReasonCode property.TaxSchemeTypegetTaxScheme()Gets the value of the taxScheme property.TierRangeTypegetTierRange()Gets the value of the tierRange property.TierRatePercentTypegetTierRatePercent()Gets the value of the tierRatePercent property.voidsetBaseUnitMeasure(BaseUnitMeasureType value)Sets the value of the baseUnitMeasure property.voidsetID(IDType value)Sets the value of the id property.voidsetName(NameType value)Sets the value of the name property.voidsetPercent(PercentType value)Sets the value of the percent property.voidsetPerUnitAmount(PerUnitAmountType value)Sets the value of the perUnitAmount property.voidsetTaxExemptionReasonCode(TaxExemptionReasonCodeType value)Sets the value of the taxExemptionReasonCode property.voidsetTaxScheme(TaxSchemeType value)Sets the value of the taxScheme property.voidsetTierRange(TierRangeType value)Sets the value of the tierRange property.voidsetTierRatePercent(TierRatePercentType value)Sets the value of the tierRatePercent property.
-
-
-
Field Detail
-
id
protected IDType id
-
name
protected NameType name
-
percent
protected PercentType percent
-
baseUnitMeasure
protected BaseUnitMeasureType baseUnitMeasure
-
perUnitAmount
protected PerUnitAmountType perUnitAmount
-
taxExemptionReasonCode
protected TaxExemptionReasonCodeType taxExemptionReasonCode
-
taxExemptionReason
protected List<TaxExemptionReasonType> taxExemptionReason
-
tierRange
protected TierRangeType tierRange
-
tierRatePercent
protected TierRatePercentType tierRatePercent
-
taxScheme
protected TaxSchemeType taxScheme
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getName
public NameType getName()
Gets the value of the name property.- Returns:
- possible object is
NameType
-
setName
public void setName(NameType value)
Sets the value of the name property.- Parameters:
value- allowed object isNameType
-
getPercent
public PercentType getPercent()
Gets the value of the percent property.- Returns:
- possible object is
PercentType
-
setPercent
public void setPercent(PercentType value)
Sets the value of the percent property.- Parameters:
value- allowed object isPercentType
-
getBaseUnitMeasure
public BaseUnitMeasureType getBaseUnitMeasure()
Gets the value of the baseUnitMeasure property.- Returns:
- possible object is
BaseUnitMeasureType
-
setBaseUnitMeasure
public void setBaseUnitMeasure(BaseUnitMeasureType value)
Sets the value of the baseUnitMeasure property.- Parameters:
value- allowed object isBaseUnitMeasureType
-
getPerUnitAmount
public PerUnitAmountType getPerUnitAmount()
Gets the value of the perUnitAmount property.- Returns:
- possible object is
PerUnitAmountType
-
setPerUnitAmount
public void setPerUnitAmount(PerUnitAmountType value)
Sets the value of the perUnitAmount property.- Parameters:
value- allowed object isPerUnitAmountType
-
getTaxExemptionReasonCode
public TaxExemptionReasonCodeType getTaxExemptionReasonCode()
Gets the value of the taxExemptionReasonCode property.- Returns:
- possible object is
TaxExemptionReasonCodeType
-
setTaxExemptionReasonCode
public void setTaxExemptionReasonCode(TaxExemptionReasonCodeType value)
Sets the value of the taxExemptionReasonCode property.- Parameters:
value- allowed object isTaxExemptionReasonCodeType
-
getTaxExemptionReason
public List<TaxExemptionReasonType> getTaxExemptionReason()
Gets the value of the taxExemptionReason 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
setmethod for the taxExemptionReason property.For example, to add a new item, do as follows:
getTaxExemptionReason().add(newItem);Objects of the following type(s) are allowed in the list
TaxExemptionReasonType
-
getTierRange
public TierRangeType getTierRange()
Gets the value of the tierRange property.- Returns:
- possible object is
TierRangeType
-
setTierRange
public void setTierRange(TierRangeType value)
Sets the value of the tierRange property.- Parameters:
value- allowed object isTierRangeType
-
getTierRatePercent
public TierRatePercentType getTierRatePercent()
Gets the value of the tierRatePercent property.- Returns:
- possible object is
TierRatePercentType
-
setTierRatePercent
public void setTierRatePercent(TierRatePercentType value)
Sets the value of the tierRatePercent property.- Parameters:
value- allowed object isTierRatePercentType
-
getTaxScheme
public TaxSchemeType getTaxScheme()
Gets the value of the taxScheme property.- Returns:
- possible object is
TaxSchemeType
-
setTaxScheme
public void setTaxScheme(TaxSchemeType value)
Sets the value of the taxScheme property.- Parameters:
value- allowed object isTaxSchemeType
-
-