public class TradePaymentDiscountTermsType extends Object
Java class for TradePaymentDiscountTermsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradePaymentDiscountTermsType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="BasisDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/>
<element name="BasisPeriodMeasure" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureType" minOccurs="0"/>
<element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="CalculationPercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/>
<element name="ActualDiscountAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AmountType> |
actualDiscountAmount |
protected List<AmountType> |
basisAmount |
protected DateTimeType |
basisDateTime |
protected MeasureType |
basisPeriodMeasure |
protected PercentType |
calculationPercent |
| Constructor and Description |
|---|
TradePaymentDiscountTermsType() |
protected DateTimeType basisDateTime
protected MeasureType basisPeriodMeasure
protected List<AmountType> basisAmount
protected PercentType calculationPercent
protected List<AmountType> actualDiscountAmount
public DateTimeType getBasisDateTime()
DateTimeTypepublic void setBasisDateTime(DateTimeType value)
value - allowed object is
DateTimeTypepublic MeasureType getBasisPeriodMeasure()
MeasureTypepublic void setBasisPeriodMeasure(MeasureType value)
value - allowed object is
MeasureTypepublic 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 PercentType getCalculationPercent()
PercentTypepublic void setCalculationPercent(PercentType value)
value - allowed object is
PercentTypepublic List<AmountType> getActualDiscountAmount()
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 actualDiscountAmount property.
For example, to add a new item, do as follows:
getActualDiscountAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
public TradePaymentDiscountTermsType withBasisDateTime(DateTimeType value)
public TradePaymentDiscountTermsType withBasisPeriodMeasure(MeasureType value)
public TradePaymentDiscountTermsType withBasisAmount(AmountType... values)
public TradePaymentDiscountTermsType withBasisAmount(Collection<AmountType> values)
public TradePaymentDiscountTermsType withCalculationPercent(PercentType value)
public TradePaymentDiscountTermsType withActualDiscountAmount(AmountType... values)
public TradePaymentDiscountTermsType withActualDiscountAmount(Collection<AmountType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.