Class DeliveryTermsType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.DeliveryTermsType
-
public class DeliveryTermsType extends Object
Java class for DeliveryTermsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DeliveryTermsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SpecialTerms" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LossRiskResponsibilityCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LossRisk" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Amount" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DeliveryLocation" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AllowanceCharge" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AllowanceChargeTypeallowanceChargeprotected AmountTypeamountprotected LocationTypedeliveryLocationprotected IDTypeidprotected List<LossRiskType>lossRiskprotected LossRiskResponsibilityCodeTypelossRiskResponsibilityCodeprotected List<SpecialTermsType>specialTerms
-
Constructor Summary
Constructors Constructor Description DeliveryTermsType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllowanceChargeTypegetAllowanceCharge()Gets the value of the allowanceCharge property.AmountTypegetAmount()Gets the value of the amount property.LocationTypegetDeliveryLocation()Gets the value of the deliveryLocation property.IDTypegetID()Gets the value of the id property.List<LossRiskType>getLossRisk()Gets the value of the lossRisk property.LossRiskResponsibilityCodeTypegetLossRiskResponsibilityCode()Gets the value of the lossRiskResponsibilityCode property.List<SpecialTermsType>getSpecialTerms()Gets the value of the specialTerms property.voidsetAllowanceCharge(AllowanceChargeType value)Sets the value of the allowanceCharge property.voidsetAmount(AmountType value)Sets the value of the amount property.voidsetDeliveryLocation(LocationType value)Sets the value of the deliveryLocation property.voidsetID(IDType value)Sets the value of the id property.voidsetLossRiskResponsibilityCode(LossRiskResponsibilityCodeType value)Sets the value of the lossRiskResponsibilityCode property.
-
-
-
Field Detail
-
id
protected IDType id
-
specialTerms
protected List<SpecialTermsType> specialTerms
-
lossRiskResponsibilityCode
protected LossRiskResponsibilityCodeType lossRiskResponsibilityCode
-
lossRisk
protected List<LossRiskType> lossRisk
-
amount
protected AmountType amount
-
deliveryLocation
protected LocationType deliveryLocation
-
allowanceCharge
protected AllowanceChargeType allowanceCharge
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getSpecialTerms
public List<SpecialTermsType> getSpecialTerms()
Gets the value of the specialTerms property.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
setmethod for the specialTerms property.For example, to add a new item, do as follows:
getSpecialTerms().add(newItem);Objects of the following type(s) are allowed in the list
SpecialTermsType
-
getLossRiskResponsibilityCode
public LossRiskResponsibilityCodeType getLossRiskResponsibilityCode()
Gets the value of the lossRiskResponsibilityCode property.- Returns:
- possible object is
LossRiskResponsibilityCodeType
-
setLossRiskResponsibilityCode
public void setLossRiskResponsibilityCode(LossRiskResponsibilityCodeType value)
Sets the value of the lossRiskResponsibilityCode property.- Parameters:
value- allowed object isLossRiskResponsibilityCodeType
-
getLossRisk
public List<LossRiskType> getLossRisk()
Gets the value of the lossRisk property.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
setmethod for the lossRisk property.For example, to add a new item, do as follows:
getLossRisk().add(newItem);Objects of the following type(s) are allowed in the list
LossRiskType
-
getAmount
public AmountType getAmount()
Gets the value of the amount property.- Returns:
- possible object is
AmountType
-
setAmount
public void setAmount(AmountType value)
Sets the value of the amount property.- Parameters:
value- allowed object isAmountType
-
getDeliveryLocation
public LocationType getDeliveryLocation()
Gets the value of the deliveryLocation property.- Returns:
- possible object is
LocationType
-
setDeliveryLocation
public void setDeliveryLocation(LocationType value)
Sets the value of the deliveryLocation property.- Parameters:
value- allowed object isLocationType
-
getAllowanceCharge
public AllowanceChargeType getAllowanceCharge()
Gets the value of the allowanceCharge property.- Returns:
- possible object is
AllowanceChargeType
-
setAllowanceCharge
public void setAllowanceCharge(AllowanceChargeType value)
Sets the value of the allowanceCharge property.- Parameters:
value- allowed object isAllowanceChargeType
-
-