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 String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Date
protected String
protected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected boolean
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addApplicableTradeTax
(String calculatedAmount, String calculatedAmountCurrencyID, String typeCode, String basisAmount, String basisAmountCurrencyID, String applicablePercent) void
addBuyerTaxRegistration
(String schemeID, String taxId) void
addIncludedSupplyChainTradeLineItem
(String billedQuantity, String billedQuantityUnitCode, String specifiedTradeProductName) void
void
addPaymentMeans
(String schemeAgencyID, String id, String iban, String accountname, String proprietaryID, String bic, String germanBankleitzahlID, String institutionname) void
addSellerTaxRegistration
(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[]
boolean
void
setBuyerCityName
(String buyerCityName) void
setBuyerCountryID
(String buyerCountryID) void
setBuyerLineOne
(String buyerLineOne) void
setBuyerLineTwo
(String buyerLineTwo) void
setBuyerName
(String buyerName) void
setBuyerPostcode
(String buyerPostcode) void
void
setDeliveryDate
(Date deliveryDate, String deliveryDateFormat) void
void
setInvoiceCurrencyCode
(String invoiceCurrencyCode) 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) void
void
setPaymentReference
(String paymentReference) void
setSellerCityName
(String sellerCityName) void
setSellerCountryID
(String sellerCountryID) void
setSellerLineOne
(String sellerLineOne) void
setSellerLineTwo
(String sellerLineTwo) void
setSellerName
(String sellerName) void
setSellerPostcode
(String sellerPostcode) void
setTest
(boolean test) void
setTypeCode
(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:
getTestIndicator
in interfaceBasicProfile
-
getId
- Specified by:
getId
in interfaceBasicProfile
-
getName
- Specified by:
getName
in interfaceBasicProfile
-
getTypeCode
- Specified by:
getTypeCode
in interfaceBasicProfile
-
getDateTime
- Specified by:
getDateTime
in interfaceBasicProfile
-
getDateTimeFormat
- Specified by:
getDateTimeFormat
in interfaceBasicProfile
-
getNotes
- Specified by:
getNotes
in interfaceBasicProfile
-
getSellerName
- Specified by:
getSellerName
in interfaceBasicProfile
-
getSellerPostcode
- Specified by:
getSellerPostcode
in interfaceBasicProfile
-
getSellerLineOne
- Specified by:
getSellerLineOne
in interfaceBasicProfile
-
getSellerLineTwo
- Specified by:
getSellerLineTwo
in interfaceBasicProfile
-
getSellerCityName
- Specified by:
getSellerCityName
in interfaceBasicProfile
-
getSellerCountryID
- Specified by:
getSellerCountryID
in interfaceBasicProfile
-
getSellerTaxRegistrationID
- Specified by:
getSellerTaxRegistrationID
in interfaceBasicProfile
-
getSellerTaxRegistrationSchemeID
- Specified by:
getSellerTaxRegistrationSchemeID
in interfaceBasicProfile
-
getBuyerName
- Specified by:
getBuyerName
in interfaceBasicProfile
-
getBuyerPostcode
- Specified by:
getBuyerPostcode
in interfaceBasicProfile
-
getBuyerLineOne
- Specified by:
getBuyerLineOne
in interfaceBasicProfile
-
getBuyerLineTwo
- Specified by:
getBuyerLineTwo
in interfaceBasicProfile
-
getBuyerCityName
- Specified by:
getBuyerCityName
in interfaceBasicProfile
-
getBuyerCountryID
- Specified by:
getBuyerCountryID
in interfaceBasicProfile
-
getBuyerTaxRegistrationID
- Specified by:
getBuyerTaxRegistrationID
in interfaceBasicProfile
-
getBuyerTaxRegistrationSchemeID
- Specified by:
getBuyerTaxRegistrationSchemeID
in interfaceBasicProfile
-
getDeliveryDateTime
- Specified by:
getDeliveryDateTime
in interfaceBasicProfile
-
getDeliveryDateTimeFormat
- Specified by:
getDeliveryDateTimeFormat
in interfaceBasicProfile
-
getPaymentReference
- Specified by:
getPaymentReference
in interfaceBasicProfile
-
getInvoiceCurrencyCode
- Specified by:
getInvoiceCurrencyCode
in interfaceBasicProfile
-
getPaymentMeansID
- Specified by:
getPaymentMeansID
in interfaceBasicProfile
-
getPaymentMeansSchemeAgencyID
- Specified by:
getPaymentMeansSchemeAgencyID
in interfaceBasicProfile
-
getPaymentMeansPayeeAccountIBAN
- Specified by:
getPaymentMeansPayeeAccountIBAN
in interfaceBasicProfile
-
getPaymentMeansPayeeAccountAccountName
- Specified by:
getPaymentMeansPayeeAccountAccountName
in interfaceBasicProfile
-
getPaymentMeansPayeeAccountProprietaryID
- Specified by:
getPaymentMeansPayeeAccountProprietaryID
in interfaceBasicProfile
-
getPaymentMeansPayeeFinancialInstitutionBIC
- Specified by:
getPaymentMeansPayeeFinancialInstitutionBIC
in interfaceBasicProfile
-
getPaymentMeansPayeeFinancialInstitutionGermanBankleitzahlID
- Specified by:
getPaymentMeansPayeeFinancialInstitutionGermanBankleitzahlID
in interfaceBasicProfile
-
getPaymentMeansPayeeFinancialInstitutionName
- Specified by:
getPaymentMeansPayeeFinancialInstitutionName
in interfaceBasicProfile
-
getTaxCalculatedAmount
- Specified by:
getTaxCalculatedAmount
in interfaceBasicProfile
-
getTaxCalculatedAmountCurrencyID
- Specified by:
getTaxCalculatedAmountCurrencyID
in interfaceBasicProfile
-
getTaxTypeCode
- Specified by:
getTaxTypeCode
in interfaceBasicProfile
-
getTaxBasisAmount
- Specified by:
getTaxBasisAmount
in interfaceBasicProfile
-
getTaxBasisAmountCurrencyID
- Specified by:
getTaxBasisAmountCurrencyID
in interfaceBasicProfile
-
getTaxApplicablePercent
- Specified by:
getTaxApplicablePercent
in interfaceBasicProfile
-
getLineTotalAmount
- Specified by:
getLineTotalAmount
in interfaceBasicProfile
-
getLineTotalAmountCurrencyID
- Specified by:
getLineTotalAmountCurrencyID
in interfaceBasicProfile
-
getChargeTotalAmount
- Specified by:
getChargeTotalAmount
in interfaceBasicProfile
-
getChargeTotalAmountCurrencyID
- Specified by:
getChargeTotalAmountCurrencyID
in interfaceBasicProfile
-
getAllowanceTotalAmount
- Specified by:
getAllowanceTotalAmount
in interfaceBasicProfile
-
getAllowanceTotalAmountCurrencyID
- Specified by:
getAllowanceTotalAmountCurrencyID
in interfaceBasicProfile
-
getTaxBasisTotalAmount
- Specified by:
getTaxBasisTotalAmount
in interfaceBasicProfile
-
getTaxBasisTotalAmountCurrencyID
- Specified by:
getTaxBasisTotalAmountCurrencyID
in interfaceBasicProfile
-
getTaxTotalAmount
- Specified by:
getTaxTotalAmount
in interfaceBasicProfile
-
getTaxTotalAmountCurrencyID
- Specified by:
getTaxTotalAmountCurrencyID
in interfaceBasicProfile
-
getGrandTotalAmount
- Specified by:
getGrandTotalAmount
in interfaceBasicProfile
-
getGrandTotalAmountCurrencyID
- Specified by:
getGrandTotalAmountCurrencyID
in interfaceBasicProfile
-
getLineItemBilledQuantity
- Specified by:
getLineItemBilledQuantity
in interfaceBasicProfile
-
getLineItemBilledQuantityUnitCode
- Specified by:
getLineItemBilledQuantityUnitCode
in interfaceBasicProfile
-
getLineItemSpecifiedTradeProductName
- Specified by:
getLineItemSpecifiedTradeProductName
in 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
-