Class BasicProfileImp
java.lang.Object
com.itextpdf.text.zugferd.profiles.BasicProfileImp
- All Implemented Interfaces:
BasicProfile
- Direct Known Subclasses:
ComfortProfileImp
This implementation of the BasicProfile contains member-variables that store
all the data needed to create an XML attachment for a ZUGFeRD invoice that
conforms with the Basic profile.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddApplicableTradeTax(String calculatedAmount, String calculatedAmountCurrencyID, String typeCode, String basisAmount, String basisAmountCurrencyID, String applicablePercent) voidaddBuyerTaxRegistration(String schemeID, String taxId) voidaddIncludedSupplyChainTradeLineItem(String billedQuantity, String billedQuantityUnitCode, String specifiedTradeProductName) voidvoidaddPaymentMeans(String schemeAgencyID, String id, String iban, String accountname, String proprietaryID, String bic, String germanBankleitzahlID, String institutionname) voidaddSellerTaxRegistration(String schemeID, String taxId) String[]String[]getId()String[]String[]String[]getName()String[][]getNotes()String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]booleanvoidsetBuyerCityName(String buyerCityName) voidsetBuyerCountryID(String buyerCountryID) voidsetBuyerLineOne(String buyerLineOne) voidsetBuyerLineTwo(String buyerLineTwo) voidsetBuyerName(String buyerName) voidsetBuyerPostcode(String buyerPostcode) voidvoidsetDeliveryDate(Date deliveryDate, String deliveryDateFormat) voidvoidsetInvoiceCurrencyCode(String invoiceCurrencyCode) voidsetMonetarySummation(String lineTotalAmount, String lineTotalAmountCurrencyID, String chargeTotalAmount, String chargeTotalAmountCurrencyID, String allowanceTotalAmount, String allowanceTotalAmountCurrencyID, String taxBasisTotalAmount, String taxBasisTotalAmountCurrencyID, String taxTotalAmount, String taxTotalAmountCurrencyID, String grandTotalAmount, String grandTotalAmountCurrencyID) voidvoidsetPaymentReference(String paymentReference) voidsetSellerCityName(String sellerCityName) voidsetSellerCountryID(String sellerCountryID) voidsetSellerLineOne(String sellerLineOne) voidsetSellerLineTwo(String sellerLineTwo) voidsetSellerName(String sellerName) voidsetSellerPostcode(String sellerPostcode) voidsetTest(boolean test) voidsetTypeCode(String typeCode) protected String[]protected Boolean[]to1DArrayB(List<Boolean> list) protected String[][]protected Boolean[][]to2DArrayB(List<Boolean[]> list) protected String[][][]
-
Field Details
-
test
protected boolean test -
id
-
name
-
typeCode
-
date
-
dateFormat
-
notes
-
sellerName
-
sellerPostcode
-
sellerLineOne
-
sellerLineTwo
-
sellerCityName
-
sellerCountryID
-
sellerTaxRegistrationID
-
sellerTaxRegistrationSchemeID
-
buyerName
-
buyerPostcode
-
buyerLineOne
-
buyerLineTwo
-
buyerCityName
-
buyerCountryID
-
buyerTaxRegistrationID
-
buyerTaxRegistrationSchemeID
-
deliveryDate
-
deliveryDateFormat
-
paymentReference
-
invoiceCurrencyCode
-
paymentMeansID
-
paymentMeansSchemeAgencyID
-
paymentMeansPayeeAccountIBAN
-
paymentMeansPayeeAccountName
-
paymentMeansPayeeAccountProprietaryID
-
paymentMeansPayeeFinancialInstitutionBIC
-
paymentMeansPayeeFinancialInstitutionGermanBankleitzahlID
-
paymentMeansPayeeFinancialInstitutionName
-
taxCalculatedAmount
-
taxCalculatedAmountCurrencyID
-
taxTypeCode
-
taxBasisAmount
-
taxBasisAmountCurrencyID
-
taxApplicablePercent
-
lineTotalAmount
-
lineTotalAmountCurrencyID
-
chargeTotalAmount
-
chargeTotalAmountCurrencyID
-
allowanceTotalAmount
-
allowanceTotalAmountCurrencyID
-
taxBasisTotalAmount
-
taxBasisTotalAmountCurrencyID
-
taxTotalAmount
-
taxTotalAmountCurrencyID
-
grandTotalAmount
-
grandTotalAmountCurrencyID
-
lineItemBilledQuantity
-
lineItemBilledQuantityUnitCode
-
lineItemSpecifiedTradeProductName
-
-
Constructor Details
-
BasicProfileImp
public BasicProfileImp()
-
-
Method Details
-
getTestIndicator
public boolean getTestIndicator()- Specified by:
getTestIndicatorin interfaceBasicProfile
-
getId
- Specified by:
getIdin interfaceBasicProfile
-
getName
- Specified by:
getNamein interfaceBasicProfile
-
getTypeCode
- Specified by:
getTypeCodein interfaceBasicProfile
-
getDateTime
- Specified by:
getDateTimein interfaceBasicProfile
-
getDateTimeFormat
- Specified by:
getDateTimeFormatin interfaceBasicProfile
-
getNotes
- Specified by:
getNotesin interfaceBasicProfile
-
getSellerName
- Specified by:
getSellerNamein interfaceBasicProfile
-
getSellerPostcode
- Specified by:
getSellerPostcodein interfaceBasicProfile
-
getSellerLineOne
- Specified by:
getSellerLineOnein interfaceBasicProfile
-
getSellerLineTwo
- Specified by:
getSellerLineTwoin interfaceBasicProfile
-
getSellerCityName
- Specified by:
getSellerCityNamein interfaceBasicProfile
-
getSellerCountryID
- Specified by:
getSellerCountryIDin interfaceBasicProfile
-
getSellerTaxRegistrationID
- Specified by:
getSellerTaxRegistrationIDin interfaceBasicProfile
-
getSellerTaxRegistrationSchemeID
- Specified by:
getSellerTaxRegistrationSchemeIDin interfaceBasicProfile
-
getBuyerName
- Specified by:
getBuyerNamein interfaceBasicProfile
-
getBuyerPostcode
- Specified by:
getBuyerPostcodein interfaceBasicProfile
-
getBuyerLineOne
- Specified by:
getBuyerLineOnein interfaceBasicProfile
-
getBuyerLineTwo
- Specified by:
getBuyerLineTwoin interfaceBasicProfile
-
getBuyerCityName
- Specified by:
getBuyerCityNamein interfaceBasicProfile
-
getBuyerCountryID
- Specified by:
getBuyerCountryIDin interfaceBasicProfile
-
getBuyerTaxRegistrationID
- Specified by:
getBuyerTaxRegistrationIDin interfaceBasicProfile
-
getBuyerTaxRegistrationSchemeID
- Specified by:
getBuyerTaxRegistrationSchemeIDin interfaceBasicProfile
-
getDeliveryDateTime
- Specified by:
getDeliveryDateTimein interfaceBasicProfile
-
getDeliveryDateTimeFormat
- Specified by:
getDeliveryDateTimeFormatin interfaceBasicProfile
-
getPaymentReference
- Specified by:
getPaymentReferencein interfaceBasicProfile
-
getInvoiceCurrencyCode
- Specified by:
getInvoiceCurrencyCodein interfaceBasicProfile
-
getPaymentMeansID
- Specified by:
getPaymentMeansIDin interfaceBasicProfile
-
getPaymentMeansSchemeAgencyID
- Specified by:
getPaymentMeansSchemeAgencyIDin interfaceBasicProfile
-
getPaymentMeansPayeeAccountIBAN
- Specified by:
getPaymentMeansPayeeAccountIBANin interfaceBasicProfile
-
getPaymentMeansPayeeAccountAccountName
- Specified by:
getPaymentMeansPayeeAccountAccountNamein interfaceBasicProfile
-
getPaymentMeansPayeeAccountProprietaryID
- Specified by:
getPaymentMeansPayeeAccountProprietaryIDin interfaceBasicProfile
-
getPaymentMeansPayeeFinancialInstitutionBIC
- Specified by:
getPaymentMeansPayeeFinancialInstitutionBICin interfaceBasicProfile
-
getPaymentMeansPayeeFinancialInstitutionGermanBankleitzahlID
- Specified by:
getPaymentMeansPayeeFinancialInstitutionGermanBankleitzahlIDin interfaceBasicProfile
-
getPaymentMeansPayeeFinancialInstitutionName
- Specified by:
getPaymentMeansPayeeFinancialInstitutionNamein interfaceBasicProfile
-
getTaxCalculatedAmount
- Specified by:
getTaxCalculatedAmountin interfaceBasicProfile
-
getTaxCalculatedAmountCurrencyID
- Specified by:
getTaxCalculatedAmountCurrencyIDin interfaceBasicProfile
-
getTaxTypeCode
- Specified by:
getTaxTypeCodein interfaceBasicProfile
-
getTaxBasisAmount
- Specified by:
getTaxBasisAmountin interfaceBasicProfile
-
getTaxBasisAmountCurrencyID
- Specified by:
getTaxBasisAmountCurrencyIDin interfaceBasicProfile
-
getTaxApplicablePercent
- Specified by:
getTaxApplicablePercentin interfaceBasicProfile
-
getLineTotalAmount
- Specified by:
getLineTotalAmountin interfaceBasicProfile
-
getLineTotalAmountCurrencyID
- Specified by:
getLineTotalAmountCurrencyIDin interfaceBasicProfile
-
getChargeTotalAmount
- Specified by:
getChargeTotalAmountin interfaceBasicProfile
-
getChargeTotalAmountCurrencyID
- Specified by:
getChargeTotalAmountCurrencyIDin interfaceBasicProfile
-
getAllowanceTotalAmount
- Specified by:
getAllowanceTotalAmountin interfaceBasicProfile
-
getAllowanceTotalAmountCurrencyID
- Specified by:
getAllowanceTotalAmountCurrencyIDin interfaceBasicProfile
-
getTaxBasisTotalAmount
- Specified by:
getTaxBasisTotalAmountin interfaceBasicProfile
-
getTaxBasisTotalAmountCurrencyID
- Specified by:
getTaxBasisTotalAmountCurrencyIDin interfaceBasicProfile
-
getTaxTotalAmount
- Specified by:
getTaxTotalAmountin interfaceBasicProfile
-
getTaxTotalAmountCurrencyID
- Specified by:
getTaxTotalAmountCurrencyIDin interfaceBasicProfile
-
getGrandTotalAmount
- Specified by:
getGrandTotalAmountin interfaceBasicProfile
-
getGrandTotalAmountCurrencyID
- Specified by:
getGrandTotalAmountCurrencyIDin interfaceBasicProfile
-
getLineItemBilledQuantity
- Specified by:
getLineItemBilledQuantityin interfaceBasicProfile
-
getLineItemBilledQuantityUnitCode
- Specified by:
getLineItemBilledQuantityUnitCodein interfaceBasicProfile
-
getLineItemSpecifiedTradeProductName
- Specified by:
getLineItemSpecifiedTradeProductNamein interfaceBasicProfile
-
setTest
public void setTest(boolean test) -
setId
-
setName
-
setTypeCode
-
setDate
-
addNote
-
setSellerName
-
setSellerPostcode
-
setSellerLineOne
-
setSellerLineTwo
-
setSellerCityName
-
setSellerCountryID
-
addSellerTaxRegistration
-
setBuyerName
-
setBuyerPostcode
-
setBuyerLineOne
-
setBuyerLineTwo
-
setBuyerCityName
-
setBuyerCountryID
-
addBuyerTaxRegistration
-
setDeliveryDate
-
setPaymentReference
-
setInvoiceCurrencyCode
-
addPaymentMeans
-
addApplicableTradeTax
-
setMonetarySummation
public void setMonetarySummation(String lineTotalAmount, String lineTotalAmountCurrencyID, String chargeTotalAmount, String chargeTotalAmountCurrencyID, String allowanceTotalAmount, String allowanceTotalAmountCurrencyID, String taxBasisTotalAmount, String taxBasisTotalAmountCurrencyID, String taxTotalAmount, String taxTotalAmountCurrencyID, String grandTotalAmount, String grandTotalAmountCurrencyID) -
addIncludedSupplyChainTradeLineItem
-
to1DArray
-
to1DArrayB
-
to2DArray
-
to2DArrayB
-
to3DArray
-