@CodingStyleguideUnaware public class BillingReferenceLineType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Billing Reference Line. Details</ccts:DictionaryEntryName><ccts:Definition>A class to define a reference to a transaction line in a billing document.</ccts:Definition><ccts:ObjectClass>Billing Reference Line</ccts:ObjectClass></ccts:Component>
Java class for BillingReferenceLineType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BillingReferenceLineType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID"/>
<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}AllowanceCharge" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
BillingReferenceLineType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllowanceCharge(AllowanceChargeType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
BillingReferenceLineType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(BillingReferenceLineType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<AllowanceChargeType> |
getAllowanceCharge()
<?
|
AllowanceChargeType |
getAllowanceChargeAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getAllowanceChargeCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
AmountType |
getAmount()
<?
|
BigDecimal |
getAmountValue()
Get the value of the contained AmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
IDType |
getID()
<?
|
String |
getIDValue()
Get the value of the contained IDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
boolean |
hasAllowanceChargeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoAllowanceChargeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAllowanceCharge(List<AllowanceChargeType> aList)
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
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public BillingReferenceLineType()
@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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Billing Reference Line. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for this transaction line in a billing document.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Billing Reference Line</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 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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Billing Reference Line. Amount</ccts:DictionaryEntryName><ccts:Definition>The monetary amount of the transaction line, including any allowances and charges but excluding taxes.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Billing Reference Line</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@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<AllowanceChargeType> getAllowanceCharge()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Billing Reference Line. Allowance Charge</ccts:DictionaryEntryName><ccts:Definition>An allowance or charge applicable to the transaction line.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Billing Reference Line</ccts:ObjectClass><ccts:PropertyTerm>Allowance Charge</ccts:PropertyTerm><ccts:AssociatedObjectClass>Allowance Charge</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Allowance Charge</ccts:RepresentationTerm></ccts:Component>Gets the value of the allowanceCharge 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 allowanceCharge property.
For example, to add a new item, do as follows:
getAllowanceCharge().add(newItem);
Objects of the following type(s) are allowed in the list
AllowanceChargeType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setAllowanceCharge(@Nullable List<AllowanceChargeType> aList)
aList - The new list member to set. May be null.public boolean hasAllowanceChargeEntries()
true if at least one item is contained, false otherwise.public boolean hasNoAllowanceChargeEntries()
true if no item is contained, false otherwise.@Nonnegative public int getAllowanceChargeCount()
@Nullable public AllowanceChargeType getAllowanceChargeAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addAllowanceCharge(@Nonnull AllowanceChargeType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull BillingReferenceLineType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public BillingReferenceLineType clone()
@Nonnull public AmountType setAmount(@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@Nullable public String getIDValue()
null@Nullable public BigDecimal getAmountValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.