public class PaymentTermsType extends Object implements Serializable
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Details</ccts:DictionaryEntryName><ccts:Definition>Information about Payment Terms.</ccts:Definition><ccts:ObjectClass>Payment Terms</ccts:ObjectClass></ccts:Component>
Java class for PaymentTermsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PaymentTermsType">
<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}PaymentMeansID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PrepaidPaymentReferenceID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Note" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferenceEventCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SettlementDiscountPercent" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PenaltySurchargePercent" 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}SettlementPeriod" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PenaltyPeriod" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
PaymentTermsType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
AmountType |
getAmount()
<?
|
BigDecimal |
getAmountValue()
Get the value of the contained AmountType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
IDType |
getID()
<?
|
String |
getIDValue()
Get the value of the contained IDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
List<NoteType> |
getNote()
<?
|
NoteType |
getNoteAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getNoteCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
PaymentMeansIDType |
getPaymentMeansID()
<?
|
String |
getPaymentMeansIDValue()
Get the value of the contained PaymentMeansIDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
PeriodType |
getPenaltyPeriod()
<?
|
PenaltySurchargePercentType |
getPenaltySurchargePercent()
<?
|
BigDecimal |
getPenaltySurchargePercentValue()
Get the value of the contained PenaltySurchargePercentType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
PrepaidPaymentReferenceIDType |
getPrepaidPaymentReferenceID()
<?
|
String |
getPrepaidPaymentReferenceIDValue()
Get the value of the contained PrepaidPaymentReferenceIDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
ReferenceEventCodeType |
getReferenceEventCode()
<?
|
String |
getReferenceEventCodeValue()
Get the value of the contained ReferenceEventCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
SettlementDiscountPercentType |
getSettlementDiscountPercent()
<?
|
BigDecimal |
getSettlementDiscountPercentValue()
Get the value of the contained SettlementDiscountPercentType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
PeriodType |
getSettlementPeriod()
<?
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoNoteEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoteEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAmount(AmountType value)
Sets the value of the amount property.
|
AmountType |
setAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setNote(List<NoteType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setPaymentMeansID(PaymentMeansIDType value)
Sets the value of the paymentMeansID property.
|
PaymentMeansIDType |
setPaymentMeansID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setPenaltyPeriod(PeriodType value)
Sets the value of the penaltyPeriod property.
|
PenaltySurchargePercentType |
setPenaltySurchargePercent(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setPenaltySurchargePercent(PenaltySurchargePercentType value)
Sets the value of the penaltySurchargePercent property.
|
void |
setPrepaidPaymentReferenceID(PrepaidPaymentReferenceIDType value)
Sets the value of the prepaidPaymentReferenceID property.
|
PrepaidPaymentReferenceIDType |
setPrepaidPaymentReferenceID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setReferenceEventCode(ReferenceEventCodeType value)
Sets the value of the referenceEventCode property.
|
ReferenceEventCodeType |
setReferenceEventCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
SettlementDiscountPercentType |
setSettlementDiscountPercent(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setSettlementDiscountPercent(SettlementDiscountPercentType value)
Sets the value of the settlementDiscountPercent property.
|
void |
setSettlementPeriod(PeriodType value)
Sets the value of the settlementPeriod property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public PaymentTermsType()
@Nullable public IDType getID()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the Payment Terms.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
IDTypepublic void setID(@Nullable IDType value)
value - allowed object is
IDType@Nullable public PaymentMeansIDType getPaymentMeansID()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Payment Means Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the applicable Payment Means.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTerm>Payment Means Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
PaymentMeansIDTypepublic void setPaymentMeansID(@Nullable PaymentMeansIDType value)
value - allowed object is
PaymentMeansIDType@Nullable public PrepaidPaymentReferenceIDType getPrepaidPaymentReferenceID()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Prepaid Payment Reference Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies prepaid payment.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTerm>Prepaid Payment Reference Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
PrepaidPaymentReferenceIDTypepublic void setPrepaidPaymentReferenceID(@Nullable PrepaidPaymentReferenceIDType value)
value - allowed object is
PrepaidPaymentReferenceIDType@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<NoteType> getNote()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Note. Text</ccts:DictionaryEntryName><ccts:Definition>Free-form text applying to the Payment Terms. This element may contain notes or any other similar information that is not contained explicitly in another structure.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTerm>Note</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>Gets the value of the note 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 set method for the note property.
For example, to add a new item, do as follows:
getNote().add(newItem);
Objects of the following type(s) are allowed in the list
NoteType
@Nullable public ReferenceEventCodeType getReferenceEventCode()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Reference_ Event Code. Code</ccts:DictionaryEntryName><ccts:Definition>The event from which terms are offered for a length of time, identified by a standard code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Reference</ccts:PropertyTermQualifier><ccts:PropertyTerm>Event Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
ReferenceEventCodeTypepublic void setReferenceEventCode(@Nullable ReferenceEventCodeType value)
value - allowed object is
ReferenceEventCodeType@Nullable public SettlementDiscountPercentType getSettlementDiscountPercent()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Settlement_ Discount Percent. Percent</ccts:DictionaryEntryName><ccts:Definition>The settlement discount rate (percentage) offered for payment within the settlement period.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Settlement</ccts:PropertyTermQualifier><ccts:PropertyTerm>Discount Percent</ccts:PropertyTerm><ccts:RepresentationTerm>Percent</ccts:RepresentationTerm><ccts:DataType>Percent. Type</ccts:DataType></ccts:Component>
SettlementDiscountPercentTypepublic void setSettlementDiscountPercent(@Nullable SettlementDiscountPercentType value)
value - allowed object is
SettlementDiscountPercentType@Nullable public PenaltySurchargePercentType getPenaltySurchargePercent()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Penalty_ Surcharge Percent. Percent</ccts:DictionaryEntryName><ccts:Definition>The penalty rate (percentage) charged for late payment.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Penalty</ccts:PropertyTermQualifier><ccts:PropertyTerm>Surcharge Percent</ccts:PropertyTerm><ccts:RepresentationTerm>Percent</ccts:RepresentationTerm><ccts:DataType>Percent. Type</ccts:DataType></ccts:Component>
PenaltySurchargePercentTypepublic void setPenaltySurchargePercent(@Nullable PenaltySurchargePercentType value)
value - allowed object is
PenaltySurchargePercentType@Nullable public AmountType getAmount()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Amount</ccts:DictionaryEntryName><ccts:Definition>The payment amount for the Payment Terms.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTerm>Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
AmountTypepublic void setAmount(@Nullable AmountType value)
value - allowed object is
AmountType@Nullable public PeriodType getSettlementPeriod()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Settlement_ Period. Period</ccts:DictionaryEntryName><ccts:Definition>An association to Settlement Period.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Settlement</ccts:PropertyTermQualifier><ccts:PropertyTerm>Period</ccts:PropertyTerm><ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass></ccts:Component>
PeriodTypepublic void setSettlementPeriod(@Nullable PeriodType value)
value - allowed object is
PeriodType@Nullable public PeriodType getPenaltyPeriod()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Terms. Penalty_ Period. Period</ccts:DictionaryEntryName><ccts:Definition>An association to Penalty Period.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Penalty</ccts:PropertyTermQualifier><ccts:PropertyTerm>Period</ccts:PropertyTerm><ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass></ccts:Component>
PeriodTypepublic void setPenaltyPeriod(@Nullable PeriodType value)
value - allowed object is
PeriodTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setNote(@Nullable List<NoteType> aList)
aList - The new list member to set. May be null.public boolean hasNoteEntries()
true if at least one item is contained, false otherwise.public boolean hasNoNoteEntries()
true if no item is contained, false otherwise.@Nonnegative public int getNoteCount()
@Nullable public NoteType getNoteAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!@Nonnull public SettlementDiscountPercentType setSettlementDiscountPercent(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PenaltySurchargePercentType setPenaltySurchargePercent(@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 PaymentMeansIDType setPaymentMeansID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PrepaidPaymentReferenceIDType setPrepaidPaymentReferenceID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public AmountType setAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ReferenceEventCodeType setReferenceEventCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIDValue()
null@Nullable public String getPaymentMeansIDValue()
null@Nullable public String getPrepaidPaymentReferenceIDValue()
null@Nullable public String getReferenceEventCodeValue()
null@Nullable public BigDecimal getSettlementDiscountPercentValue()
null@Nullable public BigDecimal getPenaltySurchargePercentValue()
null@Nullable public BigDecimal getAmountValue()
nullCopyright © 2014 Philip Helger. All rights reserved.