public class TradePriceType extends Object
Java class for TradePriceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradePriceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ChargeAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="BasisQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/>
<element name="AppliedTradeAllowanceCharge" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAllowanceChargeType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<TradeAllowanceChargeType> |
appliedTradeAllowanceCharge |
protected QuantityType |
basisQuantity |
protected List<AmountType> |
chargeAmount |
| Constructor and Description |
|---|
TradePriceType() |
| Modifier and Type | Method and Description |
|---|---|
List<TradeAllowanceChargeType> |
getAppliedTradeAllowanceCharge()
Gets the value of the appliedTradeAllowanceCharge property.
|
QuantityType |
getBasisQuantity()
Gets the value of the basisQuantity property.
|
List<AmountType> |
getChargeAmount()
Gets the value of the chargeAmount property.
|
void |
setBasisQuantity(QuantityType value)
Sets the value of the basisQuantity property.
|
TradePriceType |
withAppliedTradeAllowanceCharge(Collection<TradeAllowanceChargeType> values) |
TradePriceType |
withAppliedTradeAllowanceCharge(TradeAllowanceChargeType... values) |
TradePriceType |
withBasisQuantity(QuantityType value) |
TradePriceType |
withChargeAmount(AmountType... values) |
TradePriceType |
withChargeAmount(Collection<AmountType> values) |
protected List<AmountType> chargeAmount
protected QuantityType basisQuantity
protected List<TradeAllowanceChargeType> appliedTradeAllowanceCharge
public List<AmountType> getChargeAmount()
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 chargeAmount property.
For example, to add a new item, do as follows:
getChargeAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
public QuantityType getBasisQuantity()
QuantityTypepublic void setBasisQuantity(QuantityType value)
value - allowed object is
QuantityTypepublic List<TradeAllowanceChargeType> getAppliedTradeAllowanceCharge()
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 appliedTradeAllowanceCharge property.
For example, to add a new item, do as follows:
getAppliedTradeAllowanceCharge().add(newItem);
Objects of the following type(s) are allowed in the list
TradeAllowanceChargeType
public TradePriceType withChargeAmount(AmountType... values)
public TradePriceType withChargeAmount(Collection<AmountType> values)
public TradePriceType withBasisQuantity(QuantityType value)
public TradePriceType withAppliedTradeAllowanceCharge(TradeAllowanceChargeType... values)
public TradePriceType withAppliedTradeAllowanceCharge(Collection<TradeAllowanceChargeType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.