public class TaxCategoryType extends Object implements Serializable
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a tax category.</ccts:Definition><ccts:ObjectClass>Tax Category</ccts:ObjectClass></ccts:Component>
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" 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>
| Constructor and Description |
|---|
TaxCategoryType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
BaseUnitMeasureType |
getBaseUnitMeasure()
<?
|
BigDecimal |
getBaseUnitMeasureValue()
Get the value of the contained BaseUnitMeasureType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
IDType |
getID()
<?
|
String |
getIDValue()
Get the value of the contained IDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
NameType |
getName()
<?
|
String |
getNameValue()
Get the value of the contained NameType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
PercentType |
getPercent()
<?
|
BigDecimal |
getPercentValue()
Get the value of the contained PercentType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
PerUnitAmountType |
getPerUnitAmount()
<?
|
BigDecimal |
getPerUnitAmountValue()
Get the value of the contained PerUnitAmountType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
TaxExemptionReasonType |
getTaxExemptionReason()
<?
|
TaxExemptionReasonCodeType |
getTaxExemptionReasonCode()
<?
|
String |
getTaxExemptionReasonCodeValue()
Get the value of the contained TaxExemptionReasonCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
String |
getTaxExemptionReasonValue()
Get the value of the contained TaxExemptionReasonType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
TaxSchemeType |
getTaxScheme()
<?
|
TierRangeType |
getTierRange()
<?
|
String |
getTierRangeValue()
Get the value of the contained TierRangeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
TierRatePercentType |
getTierRatePercent()
<?
|
BigDecimal |
getTierRatePercentValue()
Get the value of the contained TierRatePercentType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
void |
setBaseUnitMeasure(BaseUnitMeasureType value)
Sets the value of the baseUnitMeasure property.
|
BaseUnitMeasureType |
setBaseUnitMeasure(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setName(NameType value)
Sets the value of the name property.
|
NameType |
setName(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
PercentType |
setPercent(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setPercent(PercentType value)
Sets the value of the percent property.
|
PerUnitAmountType |
setPerUnitAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setPerUnitAmount(PerUnitAmountType value)
Sets the value of the perUnitAmount property.
|
TaxExemptionReasonType |
setTaxExemptionReason(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTaxExemptionReason(TaxExemptionReasonType value)
Sets the value of the taxExemptionReason property.
|
TaxExemptionReasonCodeType |
setTaxExemptionReasonCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTaxExemptionReasonCode(TaxExemptionReasonCodeType value)
Sets the value of the taxExemptionReasonCode property.
|
void |
setTaxScheme(TaxSchemeType value)
Sets the value of the taxScheme property.
|
TierRangeType |
setTierRange(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTierRange(TierRangeType value)
Sets the value of the tierRange property.
|
TierRatePercentType |
setTierRatePercent(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTierRatePercent(TierRatePercentType value)
Sets the value of the tierRatePercent property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public TaxCategoryType()
@Nullable public IDType getID()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the tax category.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>"ZeroRatedGoods" "NotTaxable" "Standard Rate"</ccts:Examples></ccts:Component>
IDTypepublic void setID(@Nullable IDType value)
value - allowed object is
IDType@Nullable public NameType getName()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Name</ccts:DictionaryEntryName><ccts:Definition>The name of the tax category.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Name</ccts:PropertyTerm><ccts:RepresentationTerm>Name</ccts:RepresentationTerm><ccts:DataType>Name. Type</ccts:DataType><ccts:Examples>"Luxury Goods","Wine Equalization", "Exempt"</ccts:Examples></ccts:Component>
NameTypepublic void setName(@Nullable NameType value)
value - allowed object is
NameType@Nullable public PercentType getPercent()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Percent</ccts:DictionaryEntryName><ccts:Definition>The tax rate for the category, expressed as a percentage.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Percent</ccts:PropertyTerm><ccts:RepresentationTerm>Percent</ccts:RepresentationTerm><ccts:DataType>Percent. Type</ccts:DataType></ccts:Component>
PercentTypepublic void setPercent(@Nullable PercentType value)
value - allowed object is
PercentType@Nullable public BaseUnitMeasureType getBaseUnitMeasure()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Base Unit Measure. Measure</ccts:DictionaryEntryName><ccts:Definition>Where a tax is applied at a certain rate per unit, the measure of units on which the tax calculation is based.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Base Unit Measure</ccts:PropertyTerm><ccts:RepresentationTerm>Measure</ccts:RepresentationTerm><ccts:DataType>Measure. Type</ccts:DataType></ccts:Component>
BaseUnitMeasureTypepublic void setBaseUnitMeasure(@Nullable BaseUnitMeasureType value)
value - allowed object is
BaseUnitMeasureType@Nullable public PerUnitAmountType getPerUnitAmount()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Per Unit_ Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>Where a tax is applied at a certain rate per unit, the rate per unit applied.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTermQualifier>Per Unit</ccts:PropertyTermQualifier><ccts:PropertyTerm>Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
PerUnitAmountTypepublic void setPerUnitAmount(@Nullable PerUnitAmountType value)
value - allowed object is
PerUnitAmountType@Nullable public TaxExemptionReasonCodeType getTaxExemptionReasonCode()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tax Exemption Reason Code. Code</ccts:DictionaryEntryName><ccts:Definition>The reason for tax being exempted expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tax Exemption Reason Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
TaxExemptionReasonCodeTypepublic void setTaxExemptionReasonCode(@Nullable TaxExemptionReasonCodeType value)
value - allowed object is
TaxExemptionReasonCodeType@Nullable public TaxExemptionReasonType getTaxExemptionReason()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tax Exemption Reason. Text</ccts:DictionaryEntryName><ccts:Definition>The reason for tax being exempted.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tax Exemption Reason</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
TaxExemptionReasonTypepublic void setTaxExemptionReason(@Nullable TaxExemptionReasonType value)
value - allowed object is
TaxExemptionReasonType@Nullable public TierRangeType getTierRange()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tier Range. Text</ccts:DictionaryEntryName><ccts:Definition>Where a tax is tiered, the range of tiers applied in the calculation of the tax subtotal for the tax category.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tier Range</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
TierRangeTypepublic void setTierRange(@Nullable TierRangeType value)
value - allowed object is
TierRangeType@Nullable public TierRatePercentType getTierRatePercent()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tier Rate. Percent</ccts:DictionaryEntryName><ccts:Definition>Where a tax is tiered, the rate of tax applied to the range of tiers in the calculation of the tax subtotal for the tax category.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tier Rate</ccts:PropertyTerm><ccts:RepresentationTerm>Percent</ccts:RepresentationTerm><ccts:DataType>Percent. Type</ccts:DataType></ccts:Component>
TierRatePercentTypepublic void setTierRatePercent(@Nullable TierRatePercentType value)
value - allowed object is
TierRatePercentType@Nullable public TaxSchemeType getTaxScheme()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tax Scheme</ccts:DictionaryEntryName><ccts:Definition>An association to Tax Scheme.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tax Scheme</ccts:PropertyTerm><ccts:AssociatedObjectClass>Tax Scheme</ccts:AssociatedObjectClass></ccts:Component>
TaxSchemeTypepublic void setTaxScheme(@Nullable TaxSchemeType value)
value - allowed object is
TaxSchemeTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
@Nonnull public PercentType setPercent(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TierRatePercentType setTierRatePercent(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TaxExemptionReasonType setTaxExemptionReason(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TierRangeType setTierRange(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public NameType setName(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public IDType setID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PerUnitAmountType setPerUnitAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public BaseUnitMeasureType setBaseUnitMeasure(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TaxExemptionReasonCodeType setTaxExemptionReasonCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIDValue()
null@Nullable public String getNameValue()
null@Nullable public BigDecimal getPercentValue()
null@Nullable public BigDecimal getBaseUnitMeasureValue()
null@Nullable public BigDecimal getPerUnitAmountValue()
null@Nullable public String getTaxExemptionReasonCodeValue()
null@Nullable public String getTaxExemptionReasonValue()
null@Nullable public String getTierRangeValue()
null@Nullable public BigDecimal getTierRatePercentValue()
nullCopyright © 2014 Philip Helger. All rights reserved.