@CodingStyleguideUnaware public class TaxTotalType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Total. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe the total tax for a particular taxation scheme.</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: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>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
TaxTotalType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addTaxSubtotal(TaxSubtotalType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
TaxTotalType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(TaxTotalType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
RoundingAmountType |
getRoundingAmount()
<?
|
BigDecimal |
getRoundingAmountValue()
Get the value of the contained RoundingAmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TaxAmountType |
getTaxAmount()
<?
|
BigDecimal |
getTaxAmountValue()
Get the value of the contained TaxAmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TaxEvidenceIndicatorType |
getTaxEvidenceIndicator()
<?
|
TaxIncludedIndicatorType |
getTaxIncludedIndicator()
<?
|
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
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
boolean |
isTaxIncludedIndicatorValue(boolean nullValue)
Get the value of the contained TaxIncludedIndicatorType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
RoundingAmountType |
setRoundingAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setRoundingAmount(RoundingAmountType value)
Sets the value of the roundingAmount property.
|
TaxAmountType |
setTaxAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setTaxAmount(TaxAmountType value)
Sets the value of the taxAmount property.
|
TaxEvidenceIndicatorType |
setTaxEvidenceIndicator(boolean valueParam)
Special setter with value of type boolean
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setTaxEvidenceIndicator(TaxEvidenceIndicatorType value)
Sets the value of the taxEvidenceIndicator property.
|
TaxIncludedIndicatorType |
setTaxIncludedIndicator(boolean valueParam)
Special setter with value of type boolean
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setTaxIncludedIndicator(TaxIncludedIndicatorType value)
Sets the value of the taxIncludedIndicator 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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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 a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category within the taxation 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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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 TaxAmount.</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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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 that this total is recognized as legal evidence for taxation purposes (true) or not (false).</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@Nullable public TaxIncludedIndicatorType getTaxIncludedIndicator()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Total. Tax Included_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>An indicator that tax is included in the calculation (true) or not (false).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Total</ccts:ObjectClass><ccts:PropertyTermQualifier>Tax Included</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType></ccts:Component>
TaxIncludedIndicatorTypepublic void setTaxIncludedIndicator(@Nullable TaxIncludedIndicatorType value)
value - allowed object is
TaxIncludedIndicatorType@Nonnull @ReturnsMutableObject(value="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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Total. Tax Subtotal</ccts:DictionaryEntryName><ccts:Definition>One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme.</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:RepresentationTerm>Tax Subtotal</ccts:RepresentationTerm></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) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addTaxSubtotal(@Nonnull TaxSubtotalType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull TaxTotalType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public TaxTotalType clone()
@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@Nonnull public TaxEvidenceIndicatorType setTaxEvidenceIndicator(boolean valueParam)
valueParam - The value to be set.null@Nonnull public TaxIncludedIndicatorType setTaxIncludedIndicator(boolean valueParam)
valueParam - The value to be set.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 nullpublic boolean isTaxIncludedIndicatorValue(boolean nullValue)
nullValue - The value to be returned, if the owning object is nullCopyright © 2014–2020 Philip Helger. All rights reserved.