public class TradeTaxType extends Object
Java class for TradeTaxType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeTaxType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CalculatedAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}TaxTypeCodeType" minOccurs="0"/>
<element name="ExemptionReason" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
<element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="LineTotalBasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="AllowanceChargeBasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="CategoryCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}TaxCategoryCodeType" minOccurs="0"/>
<element name="ApplicablePercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AmountType> |
allowanceChargeBasisAmount |
protected PercentType |
applicablePercent |
protected List<AmountType> |
basisAmount |
protected List<AmountType> |
calculatedAmount |
protected TaxCategoryCodeType |
categoryCode |
protected TextType |
exemptionReason |
protected List<AmountType> |
lineTotalBasisAmount |
protected TaxTypeCodeType |
typeCode |
| Constructor and Description |
|---|
TradeTaxType() |
protected List<AmountType> calculatedAmount
protected TaxTypeCodeType typeCode
protected TextType exemptionReason
protected List<AmountType> basisAmount
protected List<AmountType> lineTotalBasisAmount
protected List<AmountType> allowanceChargeBasisAmount
protected TaxCategoryCodeType categoryCode
protected PercentType applicablePercent
public List<AmountType> getCalculatedAmount()
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 calculatedAmount property.
For example, to add a new item, do as follows:
getCalculatedAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
public TaxTypeCodeType getTypeCode()
TaxTypeCodeTypepublic void setTypeCode(TaxTypeCodeType value)
value - allowed object is
TaxTypeCodeTypepublic TextType getExemptionReason()
TextTypepublic void setExemptionReason(TextType value)
value - allowed object is
TextTypepublic List<AmountType> getBasisAmount()
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 basisAmount property.
For example, to add a new item, do as follows:
getBasisAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
public List<AmountType> getLineTotalBasisAmount()
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 lineTotalBasisAmount property.
For example, to add a new item, do as follows:
getLineTotalBasisAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
public List<AmountType> getAllowanceChargeBasisAmount()
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 allowanceChargeBasisAmount property.
For example, to add a new item, do as follows:
getAllowanceChargeBasisAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
public TaxCategoryCodeType getCategoryCode()
TaxCategoryCodeTypepublic void setCategoryCode(TaxCategoryCodeType value)
value - allowed object is
TaxCategoryCodeTypepublic PercentType getApplicablePercent()
PercentTypepublic void setApplicablePercent(PercentType value)
value - allowed object is
PercentTypepublic TradeTaxType withCalculatedAmount(AmountType... values)
public TradeTaxType withCalculatedAmount(Collection<AmountType> values)
public TradeTaxType withTypeCode(TaxTypeCodeType value)
public TradeTaxType withExemptionReason(TextType value)
public TradeTaxType withBasisAmount(AmountType... values)
public TradeTaxType withBasisAmount(Collection<AmountType> values)
public TradeTaxType withLineTotalBasisAmount(AmountType... values)
public TradeTaxType withLineTotalBasisAmount(Collection<AmountType> values)
public TradeTaxType withAllowanceChargeBasisAmount(AmountType... values)
public TradeTaxType withAllowanceChargeBasisAmount(Collection<AmountType> values)
public TradeTaxType withCategoryCode(TaxCategoryCodeType value)
public TradeTaxType withApplicablePercent(PercentType value)
Copyright © 2014–2019 Philip Helger. All rights reserved.