public class TradePaymentTermsType extends Object
Java class for TradePaymentTermsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradePaymentTermsType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="DueDateDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/>
<element name="PartialPaymentAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ApplicableTradePaymentPenaltyTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePaymentPenaltyTermsType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ApplicableTradePaymentDiscountTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePaymentDiscountTermsType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<TradePaymentDiscountTermsType> |
applicableTradePaymentDiscountTerms |
protected List<TradePaymentPenaltyTermsType> |
applicableTradePaymentPenaltyTerms |
protected List<TextType> |
description |
protected DateTimeType |
dueDateDateTime |
protected List<AmountType> |
partialPaymentAmount |
| Constructor and Description |
|---|
TradePaymentTermsType() |
protected DateTimeType dueDateDateTime
protected List<AmountType> partialPaymentAmount
protected List<TradePaymentPenaltyTermsType> applicableTradePaymentPenaltyTerms
protected List<TradePaymentDiscountTermsType> applicableTradePaymentDiscountTerms
public List<TextType> getDescription()
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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
public DateTimeType getDueDateDateTime()
DateTimeTypepublic void setDueDateDateTime(DateTimeType value)
value - allowed object is
DateTimeTypepublic List<AmountType> getPartialPaymentAmount()
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 partialPaymentAmount property.
For example, to add a new item, do as follows:
getPartialPaymentAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
public List<TradePaymentPenaltyTermsType> getApplicableTradePaymentPenaltyTerms()
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 applicableTradePaymentPenaltyTerms property.
For example, to add a new item, do as follows:
getApplicableTradePaymentPenaltyTerms().add(newItem);
Objects of the following type(s) are allowed in the list
TradePaymentPenaltyTermsType
public List<TradePaymentDiscountTermsType> getApplicableTradePaymentDiscountTerms()
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 applicableTradePaymentDiscountTerms property.
For example, to add a new item, do as follows:
getApplicableTradePaymentDiscountTerms().add(newItem);
Objects of the following type(s) are allowed in the list
TradePaymentDiscountTermsType
public TradePaymentTermsType withDescription(TextType... values)
public TradePaymentTermsType withDescription(Collection<TextType> values)
public TradePaymentTermsType withDueDateDateTime(DateTimeType value)
public TradePaymentTermsType withPartialPaymentAmount(AmountType... values)
public TradePaymentTermsType withPartialPaymentAmount(Collection<AmountType> values)
public TradePaymentTermsType withApplicableTradePaymentPenaltyTerms(TradePaymentPenaltyTermsType... values)
public TradePaymentTermsType withApplicableTradePaymentPenaltyTerms(Collection<TradePaymentPenaltyTermsType> values)
public TradePaymentTermsType withApplicableTradePaymentDiscountTerms(TradePaymentDiscountTermsType... values)
public TradePaymentTermsType withApplicableTradePaymentDiscountTerms(Collection<TradePaymentDiscountTermsType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.