public class TaxTotalType 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 Total. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a total amount of a particular type of tax.</ccts:Definition><ccts:ObjectClass>Tax Total</ccts:ObjectClass></ccts:Component>
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:CommonAggregateComponents-2}TaxSubtotal" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
TaxTotalType()
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
|
RoundingAmountType |
getRoundingAmount()
<?
|
BigDecimal |
getRoundingAmountValue()
Get the value of the contained RoundingAmountType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
TaxAmountType |
getTaxAmount()
<?
|
BigDecimal |
getTaxAmountValue()
Get the value of the contained TaxAmountType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
TaxEvidenceIndicatorType |
getTaxEvidenceIndicator()
<?
|
List<TaxSubtotalType> |
getTaxSubtotal()
<?
|
TaxSubtotalType |
getTaxSubtotalAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getTaxSubtotalCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoTaxSubtotalEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasTaxSubtotalEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
isTaxEvidenceIndicatorValue(boolean nullValue)
Get the value of the contained TaxEvidenceIndicatorType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
RoundingAmountType |
setRoundingAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setRoundingAmount(RoundingAmountType value)
Sets the value of the roundingAmount property.
|
TaxAmountType |
setTaxAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTaxAmount(TaxAmountType value)
Sets the value of the taxAmount property.
|
TaxEvidenceIndicatorType |
setTaxEvidenceIndicator(boolean valueParam)
Special setter with value of type boolean
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTaxEvidenceIndicator(TaxEvidenceIndicatorType value)
Sets the value of the taxEvidenceIndicator property.
|
void |
setTaxSubtotal(List<TaxSubtotalType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public TaxTotalType()
@Nullable public TaxAmountType getTaxAmount()
<?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 Total. Tax Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The total tax amount for particular tax scheme e.g. VAT; the sum of each of the tax subtotals for each tax category within the tax scheme.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Tax Total</ccts:ObjectClass><ccts:PropertyTerm>Tax Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
TaxAmountTypepublic void setTaxAmount(@Nullable TaxAmountType value)
value - allowed object is
TaxAmountType@Nullable public RoundingAmountType getRoundingAmount()
<?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 Total. Rounding Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The rounding amount (positive or negative) added to the calculated tax total to produce the rounded TotalTaxAmount.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Total</ccts:ObjectClass><ccts:PropertyTerm>Rounding Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
RoundingAmountTypepublic void setRoundingAmount(@Nullable RoundingAmountType value)
value - allowed object is
RoundingAmountType@Nullable public TaxEvidenceIndicatorType getTaxEvidenceIndicator()
<?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 Total. Tax Evidence_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>An indicator as to whether these totals are recognized as legal evidence for taxation purposes.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Total</ccts:ObjectClass><ccts:PropertyTermQualifier>Tax Evidence</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType><ccts:Examples>default is negative</ccts:Examples></ccts:Component>
TaxEvidenceIndicatorTypepublic void setTaxEvidenceIndicator(@Nullable TaxEvidenceIndicatorType value)
value - allowed object is
TaxEvidenceIndicatorType@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<TaxSubtotalType> getTaxSubtotal()
<?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 Total. Tax Subtotal</ccts:DictionaryEntryName><ccts:Definition>An association to Tax Subtotal.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Tax Total</ccts:ObjectClass><ccts:PropertyTerm>Tax Subtotal</ccts:PropertyTerm><ccts:AssociatedObjectClass>Tax Subtotal</ccts:AssociatedObjectClass></ccts:Component>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
TaxSubtotalType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setTaxSubtotal(@Nullable List<TaxSubtotalType> aList)
aList - The new list member to set. May be null.public boolean hasTaxSubtotalEntries()
true if at least one item is contained, false otherwise.public boolean hasNoTaxSubtotalEntries()
true if no item is contained, false otherwise.@Nonnegative public int getTaxSubtotalCount()
@Nullable public TaxSubtotalType getTaxSubtotalAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!@Nonnull public TaxEvidenceIndicatorType setTaxEvidenceIndicator(boolean valueParam)
valueParam - The value to be set.null@Nonnull public TaxAmountType setTaxAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public RoundingAmountType setRoundingAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nullable public BigDecimal getTaxAmountValue()
null@Nullable public BigDecimal getRoundingAmountValue()
nullpublic boolean isTaxEvidenceIndicatorValue(boolean nullValue)
nullValue - The value to be returned, if the owning object is null
Copyright © 2014 Philip Helger. All rights reserved.