public class TradeAllowanceChargeType extends Object
Java class for TradeAllowanceChargeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeAllowanceChargeType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ChargeIndicator" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IndicatorType" minOccurs="0"/>
<element name="SequenceNumeric" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}NumericType" minOccurs="0"/>
<element name="CalculationPercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/>
<element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" minOccurs="0"/>
<element name="BasisQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/>
<element name="ActualAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ReasonCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}AllowanceChargeReasonCodeType" minOccurs="0"/>
<element name="Reason" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
<element name="CategoryTradeTax" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeTaxType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AmountType> |
actualAmount |
protected AmountType |
basisAmount |
protected QuantityType |
basisQuantity |
protected PercentType |
calculationPercent |
protected List<TradeTaxType> |
categoryTradeTax |
protected IndicatorType |
chargeIndicator |
protected TextType |
reason |
protected AllowanceChargeReasonCodeType |
reasonCode |
protected NumericType |
sequenceNumeric |
| Constructor and Description |
|---|
TradeAllowanceChargeType() |
protected IndicatorType chargeIndicator
protected NumericType sequenceNumeric
protected PercentType calculationPercent
protected AmountType basisAmount
protected QuantityType basisQuantity
protected List<AmountType> actualAmount
protected AllowanceChargeReasonCodeType reasonCode
protected TextType reason
protected List<TradeTaxType> categoryTradeTax
public IndicatorType getChargeIndicator()
IndicatorTypepublic void setChargeIndicator(IndicatorType value)
value - allowed object is
IndicatorTypepublic NumericType getSequenceNumeric()
NumericTypepublic void setSequenceNumeric(NumericType value)
value - allowed object is
NumericTypepublic PercentType getCalculationPercent()
PercentTypepublic void setCalculationPercent(PercentType value)
value - allowed object is
PercentTypepublic AmountType getBasisAmount()
AmountTypepublic void setBasisAmount(AmountType value)
value - allowed object is
AmountTypepublic QuantityType getBasisQuantity()
QuantityTypepublic void setBasisQuantity(QuantityType value)
value - allowed object is
QuantityTypepublic List<AmountType> getActualAmount()
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 actualAmount property.
For example, to add a new item, do as follows:
getActualAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
public AllowanceChargeReasonCodeType getReasonCode()
AllowanceChargeReasonCodeTypepublic void setReasonCode(AllowanceChargeReasonCodeType value)
value - allowed object is
AllowanceChargeReasonCodeTypepublic TextType getReason()
TextTypepublic void setReason(TextType value)
value - allowed object is
TextTypepublic List<TradeTaxType> getCategoryTradeTax()
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 categoryTradeTax property.
For example, to add a new item, do as follows:
getCategoryTradeTax().add(newItem);
Objects of the following type(s) are allowed in the list
TradeTaxType
public TradeAllowanceChargeType withChargeIndicator(IndicatorType value)
public TradeAllowanceChargeType withSequenceNumeric(NumericType value)
public TradeAllowanceChargeType withCalculationPercent(PercentType value)
public TradeAllowanceChargeType withBasisAmount(AmountType value)
public TradeAllowanceChargeType withBasisQuantity(QuantityType value)
public TradeAllowanceChargeType withActualAmount(AmountType... values)
public TradeAllowanceChargeType withActualAmount(Collection<AmountType> values)
public TradeAllowanceChargeType withReasonCode(AllowanceChargeReasonCodeType value)
public TradeAllowanceChargeType withReason(TextType value)
public TradeAllowanceChargeType withCategoryTradeTax(TradeTaxType... values)
public TradeAllowanceChargeType withCategoryTradeTax(Collection<TradeTaxType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.