@CodingStyleguideUnaware public class TradeAllowanceChargeType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
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:100}IndicatorType" minOccurs="0"/>
<element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}IDType" minOccurs="0"/>
<element name="SequenceNumeric" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}NumericType" minOccurs="0"/>
<element name="CalculationPercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}PercentType" minOccurs="0"/>
<element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}AmountType" minOccurs="0"/>
<element name="BasisQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}QuantityType" minOccurs="0"/>
<element name="PrepaidIndicator" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}IndicatorType" minOccurs="0"/>
<element name="ActualAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="UnitBasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}AmountType" minOccurs="0"/>
<element name="ReasonCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:100}AllowanceChargeReasonCodeType" minOccurs="0"/>
<element name="Reason" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}TextType" minOccurs="0"/>
<element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:100}AllowanceChargeIdentificationCodeType" minOccurs="0"/>
<element name="CategoryTradeTax" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TradeTaxType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ActualTradeCurrencyExchange" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TradeCurrencyExchangeType" 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 |
|---|
TradeAllowanceChargeType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addActualAmount(AmountType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addCategoryTradeTax(TradeTaxType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
TradeAllowanceChargeType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(TradeAllowanceChargeType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<AmountType> |
getActualAmount()
Gets the value of the actualAmount property.
|
AmountType |
getActualAmountAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getActualAmountCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
TradeCurrencyExchangeType |
getActualTradeCurrencyExchange()
Gets the value of the actualTradeCurrencyExchange property.
|
AmountType |
getBasisAmount()
Gets the value of the basisAmount property.
|
BigDecimal |
getBasisAmountValue()
Get the value of the contained AmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
QuantityType |
getBasisQuantity()
Gets the value of the basisQuantity property.
|
BigDecimal |
getBasisQuantityValue()
Get the value of the contained QuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
PercentType |
getCalculationPercent()
Gets the value of the calculationPercent property.
|
BigDecimal |
getCalculationPercentValue()
Get the value of the contained PercentType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<TradeTaxType> |
getCategoryTradeTax()
Gets the value of the categoryTradeTax property.
|
TradeTaxType |
getCategoryTradeTaxAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getCategoryTradeTaxCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
IndicatorType |
getChargeIndicator()
Gets the value of the chargeIndicator property.
|
IDType |
getID()
Gets the value of the id property.
|
String |
getIDValue()
Get the value of the contained IDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
IndicatorType |
getPrepaidIndicator()
Gets the value of the prepaidIndicator property.
|
TextType |
getReason()
Gets the value of the reason property.
|
AllowanceChargeReasonCodeType |
getReasonCode()
Gets the value of the reasonCode property.
|
String |
getReasonCodeValue()
Get the value of the contained AllowanceChargeReasonCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
getReasonValue()
Get the value of the contained TextType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
NumericType |
getSequenceNumeric()
Gets the value of the sequenceNumeric property.
|
BigDecimal |
getSequenceNumericValue()
Get the value of the contained NumericType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
AllowanceChargeIdentificationCodeType |
getTypeCode()
Gets the value of the typeCode property.
|
String |
getTypeCodeValue()
Get the value of the contained AllowanceChargeIdentificationCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
AmountType |
getUnitBasisAmount()
Gets the value of the unitBasisAmount property.
|
BigDecimal |
getUnitBasisAmountValue()
Get the value of the contained AmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
boolean |
hasActualAmountEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasCategoryTradeTaxEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoActualAmountEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoCategoryTradeTaxEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setActualAmount(List<AmountType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setActualTradeCurrencyExchange(TradeCurrencyExchangeType value)
Sets the value of the actualTradeCurrencyExchange property.
|
void |
setBasisAmount(AmountType value)
Sets the value of the basisAmount property.
|
AmountType |
setBasisAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
QuantityType |
setBasisQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setBasisQuantity(QuantityType value)
Sets the value of the basisQuantity property.
|
PercentType |
setCalculationPercent(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setCalculationPercent(PercentType value)
Sets the value of the calculationPercent property.
|
void |
setCategoryTradeTax(List<TradeTaxType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setChargeIndicator(IndicatorType value)
Sets the value of the chargeIndicator property.
|
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPrepaidIndicator(IndicatorType value)
Sets the value of the prepaidIndicator property.
|
TextType |
setReason(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setReason(TextType value)
Sets the value of the reason property.
|
void |
setReasonCode(AllowanceChargeReasonCodeType value)
Sets the value of the reasonCode property.
|
AllowanceChargeReasonCodeType |
setReasonCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
NumericType |
setSequenceNumeric(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setSequenceNumeric(NumericType value)
Sets the value of the sequenceNumeric property.
|
void |
setTypeCode(AllowanceChargeIdentificationCodeType value)
Sets the value of the typeCode property.
|
AllowanceChargeIdentificationCodeType |
setTypeCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setUnitBasisAmount(AmountType value)
Sets the value of the unitBasisAmount property.
|
AmountType |
setUnitBasisAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public TradeAllowanceChargeType()
@Nullable public IndicatorType getChargeIndicator()
IndicatorTypepublic void setChargeIndicator(@Nullable IndicatorType value)
value - allowed object is
IndicatorType@Nullable public IDType getID()
IDTypepublic void setID(@Nullable IDType value)
value - allowed object is
IDType@Nullable public NumericType getSequenceNumeric()
NumericTypepublic void setSequenceNumeric(@Nullable NumericType value)
value - allowed object is
NumericType@Nullable public PercentType getCalculationPercent()
PercentTypepublic void setCalculationPercent(@Nullable PercentType value)
value - allowed object is
PercentType@Nullable public AmountType getBasisAmount()
AmountTypepublic void setBasisAmount(@Nullable AmountType value)
value - allowed object is
AmountType@Nullable public QuantityType getBasisQuantity()
QuantityTypepublic void setBasisQuantity(@Nullable QuantityType value)
value - allowed object is
QuantityType@Nullable public IndicatorType getPrepaidIndicator()
IndicatorTypepublic void setPrepaidIndicator(@Nullable IndicatorType value)
value - allowed object is
IndicatorType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public 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
@Nullable public AmountType getUnitBasisAmount()
AmountTypepublic void setUnitBasisAmount(@Nullable AmountType value)
value - allowed object is
AmountType@Nullable public AllowanceChargeReasonCodeType getReasonCode()
AllowanceChargeReasonCodeTypepublic void setReasonCode(@Nullable AllowanceChargeReasonCodeType value)
value - allowed object is
AllowanceChargeReasonCodeType@Nullable public TextType getReason()
TextTypepublic void setReason(@Nullable TextType value)
value - allowed object is
TextType@Nullable public AllowanceChargeIdentificationCodeType getTypeCode()
AllowanceChargeIdentificationCodeTypepublic void setTypeCode(@Nullable AllowanceChargeIdentificationCodeType value)
value - allowed object is
AllowanceChargeIdentificationCodeType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public 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
@Nullable public TradeCurrencyExchangeType getActualTradeCurrencyExchange()
TradeCurrencyExchangeTypepublic void setActualTradeCurrencyExchange(@Nullable TradeCurrencyExchangeType value)
value - allowed object is
TradeCurrencyExchangeTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setActualAmount(@Nullable List<AmountType> aList)
aList - The new list member to set. May be null.public void setCategoryTradeTax(@Nullable List<TradeTaxType> aList)
aList - The new list member to set. May be null.public boolean hasActualAmountEntries()
true if at least one item is contained, false otherwise.public boolean hasNoActualAmountEntries()
true if no item is contained, false otherwise.@Nonnegative public int getActualAmountCount()
@Nullable public AmountType getActualAmountAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addActualAmount(@Nonnull AmountType elem)
elem - The element to be added. May not be null.public boolean hasCategoryTradeTaxEntries()
true if at least one item is contained, false otherwise.public boolean hasNoCategoryTradeTaxEntries()
true if no item is contained, false otherwise.@Nonnegative public int getCategoryTradeTaxCount()
@Nullable public TradeTaxType getCategoryTradeTaxAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addCategoryTradeTax(@Nonnull TradeTaxType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull TradeAllowanceChargeType 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 TradeAllowanceChargeType clone()
@Nonnull public AllowanceChargeIdentificationCodeType setTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public AllowanceChargeReasonCodeType setReasonCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public AmountType setBasisAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public AmountType setUnitBasisAmount(@Nullable BigDecimal 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 NumericType setSequenceNumeric(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PercentType setCalculationPercent(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public QuantityType setBasisQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TextType setReason(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIDValue()
null@Nullable public BigDecimal getSequenceNumericValue()
null@Nullable public BigDecimal getCalculationPercentValue()
null@Nullable public BigDecimal getBasisAmountValue()
null@Nullable public BigDecimal getBasisQuantityValue()
null@Nullable public BigDecimal getUnitBasisAmountValue()
null@Nullable public String getReasonCodeValue()
null@Nullable public String getReasonValue()
nullCopyright © 2016–2021 Philip Helger. All rights reserved.