Package org.mustangproject.ZUGFeRD
Interface IZUGFeRDExportableItem
-
- All Superinterfaces:
IAbsoluteValueProvider
- All Known Implementing Classes:
Item
public interface IZUGFeRDExportableItem extends IAbsoluteValueProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.StringgetAccountingReference()default java.lang.StringgetAdditionalReferencedDocumentID()Deprecated.usegetAdditionalReferences()instead.default IReferencedDocument[]getAdditionalReferences()allows to specify multiple references (billing information)default IZUGFeRDAllowanceCharge[]getAllowances()Deprecated.default java.math.BigDecimalgetBasisQuantity()how many items units per pricedefault java.lang.StringgetBuyerOrderReferencedDocumentID()buyer order reference document iddefault java.lang.StringgetBuyerOrderReferencedDocumentLineID()BT 132 (issue https://github.com/ZUGFeRD/mustangproject/issues/247)default LineCalculatorgetCalculation()default IZUGFeRDAllowanceCharge[]getCharges()Deprecated.default java.util.DategetDetailedDeliveryPeriodFrom()specifies the item level delivery period (there is also one on document level), this will be included in a BillingSpecifiedPeriod elementdefault java.util.DategetDetailedDeliveryPeriodTo()specifies the item level delivery period (there is also one on document level), this will be included in a BillingSpecifiedPeriod elementdefault java.lang.StringgetId()default IZUGFeRDAllowanceCharge[]getItemAllowances()Deprecated.default IZUGFeRDAllowanceCharge[]getItemCharges()Deprecated.default IZUGFeRDAllowanceCharge[]getItemTotalAllowances()get all (allowances and charges) SpecifiedTradeAllowanceChargesdefault java.lang.String[]getNotes()descriptive textsdefault java.util.List<IncludedNote>getNotesWithSubjectCode()A grouping of business terms to indicate accounting-relevant free texts including a qualification of these.java.math.BigDecimalgetPrice()The price of one item excl. taxesIZUGFeRDExportableProductgetProduct()java.math.BigDecimalgetQuantity()how many get billeddefault IReferencedDocument[]getReferencedDocuments()allows to specify multiple(!)default java.math.BigDecimalgetValue()
-
-
-
Method Detail
-
getProduct
IZUGFeRDExportableProduct getProduct()
-
getItemAllowances
@Deprecated default IZUGFeRDAllowanceCharge[] getItemAllowances()
Deprecated.item level discounts- Returns:
- array of the discounts on a single item
-
getItemCharges
@Deprecated default IZUGFeRDAllowanceCharge[] getItemCharges()
Deprecated.item level price additions- Returns:
- array of the additional charges on the item
-
getAllowances
@Deprecated default IZUGFeRDAllowanceCharge[] getAllowances()
Deprecated.
-
getCharges
@Deprecated default IZUGFeRDAllowanceCharge[] getCharges()
Deprecated.item level price additions- Returns:
- array of the additional charges on the item
-
getBuyerOrderReferencedDocumentID
default java.lang.String getBuyerOrderReferencedDocumentID()
buyer order reference document id- Returns:
- the document id (defaults to
null)
-
getBuyerOrderReferencedDocumentLineID
default java.lang.String getBuyerOrderReferencedDocumentLineID()
BT 132 (issue https://github.com/ZUGFeRD/mustangproject/issues/247)- Returns:
- the line ID of the order (BT-132)
-
getPrice
java.math.BigDecimal getPrice()
The price of one item excl. taxes- Returns:
- The price of one item excl. taxes
-
getValue
default java.math.BigDecimal getValue()
- Specified by:
getValuein interfaceIAbsoluteValueProvider
-
getQuantity
java.math.BigDecimal getQuantity()
how many get billed- Specified by:
getQuantityin interfaceIAbsoluteValueProvider- Returns:
- the quantity of the item
-
getBasisQuantity
default java.math.BigDecimal getBasisQuantity()
how many items units per price- Returns:
- item units per price
-
getAdditionalReferencedDocumentID
@Deprecated default java.lang.String getAdditionalReferencedDocumentID()
Deprecated.usegetAdditionalReferences()instead.the ID of an additionally referenced document for this item- Returns:
- the id as string
-
getAdditionalReferences
default IReferencedDocument[] getAdditionalReferences()
allows to specify multiple references (billing information)- Returns:
- the referenced documents
-
getReferencedDocuments
default IReferencedDocument[] getReferencedDocuments()
allows to specify multiple(!) referenced documents along with e.g. their typecodes- Returns:
- the referenced documents
-
getNotes
default java.lang.String[] getNotes()
descriptive texts- Returns:
- an array of strings of item specific "includedNotes", text values
-
getDetailedDeliveryPeriodFrom
default java.util.Date getDetailedDeliveryPeriodFrom()
specifies the item level delivery period (there is also one on document level), this will be included in a BillingSpecifiedPeriod element- Returns:
- the beginning of the delivery period
-
getDetailedDeliveryPeriodTo
default java.util.Date getDetailedDeliveryPeriodTo()
specifies the item level delivery period (there is also one on document level), this will be included in a BillingSpecifiedPeriod element- Returns:
- the end of the delivery period
-
getItemTotalAllowances
default IZUGFeRDAllowanceCharge[] getItemTotalAllowances()
get all (allowances and charges) SpecifiedTradeAllowanceCharges- Returns:
- the real item lecel SpecifiedTradeAllowanceCharges
-
getId
default java.lang.String getId()
- Returns:
- the line ID
-
getNotesWithSubjectCode
default java.util.List<IncludedNote> getNotesWithSubjectCode()
A grouping of business terms to indicate accounting-relevant free texts including a qualification of these. The information are written to the same xml nodes likegetNotes()but with explicit subjectCode.- Returns:
- list of the notes
-
getAccountingReference
default java.lang.String getAccountingReference()
-
getCalculation
default LineCalculator getCalculation()
-
-