Klasse AbstractToEbInterfaceConverter
java.lang.Object
at.austriapro.ebinterface.ubl.AbstractConverter
at.austriapro.ebinterface.ubl.from.AbstractToEbInterfaceConverter
- Bekannte direkte Unterklassen:
AbstractToEbInterface40Converter,AbstractToEbInterface41Converter,AbstractToEbInterface42Converter,AbstractToEbInterface43Converter,AbstractToEbInterface50Converter,AbstractToEbInterface60Converter,AbstractToEbInterface61Converter
Base class for Peppol UBL to ebInterface converter
- Autor:
- philip
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumprotected static final class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected final IToEbinterfaceSettingsVon Klasse geerbte Felder at.austriapro.ebinterface.ubl.AbstractConverter
AT_UNDEFINED_VATIN, CREDIT_NOTE_TYPE_CODES, CUSTOMIZATION_SCHEMEID, IBAN_MAX_LENGTH, INVOICE_TYPE_CODE_CREDIT_NOTE, INVOICE_TYPE_CODE_FINAL_PAYMENT, INVOICE_TYPE_CODE_INVOICE, INVOICE_TYPE_CODE_PARTIAL, INVOICE_TYPE_CODE_PREPAYMENT_INVOICE, INVOICE_TYPE_CODE_SELF_BILLING, INVOICE_TYPE_CODES, m_aContentLocale, m_aDisplayLocale, OTHER_TAX_SCHEME_ID, PAYMENT_CHANNEL_CODE_IBAN, PAYMENT_MEANS_CREDIT_CARD, PAYMENT_MEANS_CREDIT_TRANSFER, PAYMENT_MEANS_DEBIT_CARD, PAYMENT_MEANS_DEBIT_TRANSFER, PAYMENT_MEANS_DIRECT_DEBIT, PAYMENT_MEANS_PAYMENT_TO_BANK_ACCOUNT, PAYMENT_MEANS_SEPA_CREDIT_TRANSFER, PAYMENT_MEANS_SEPA_DIRECT_DEBIT, REGEX_BIC, ROUNDING_MODE, SCALE_PERC, SCALE_PRICE2, SCALE_PRICE4, SCHEME_BIC, SCHEME_IBAN, SCHEME_SEPA, SUPPORTED_TAX_SCHEME_ID, UBL_VERSION_20, UBL_VERSION_21, UBL_VERSION_22, UBL_VERSION_23, UBL_VERSION_24, UOM_DEFAULT -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedAbstractToEbInterfaceConverter(Locale aDisplayLocale, Locale aContentLocale, IToEbinterfaceSettings aSettings) Constructor -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected final voidcheckCreditNoteConsistency(oasis.names.specification.ubl.schema.xsd.creditnote_21.CreditNoteType aUBLCreditNote, com.helger.commons.error.list.ErrorList aTransformationErrorList) Check if the passed UBL invoice is transformableprotected final voidcheckInvoiceConsistency(oasis.names.specification.ubl.schema.xsd.invoice_21.InvoiceType aUBLInvoice, com.helger.commons.error.list.ErrorList aTransformationErrorList) Check if the passed UBL invoice is transformableprotected static AbstractToEbInterfaceConverter.SEPADirectDebitextractSEPADirectDebit(com.helger.commons.datetime.XMLOffsetDate aUBLDueDate, oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PaymentMeansType aUBLPaymentMeans, oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PartyType aUBLSupplierParty, oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PartyType aUBLPayeeParty) protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.TaxCategoryTypefindTaxCategory(List<oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.TaxTotalType> aUBLTaxTotals) protected static StringgetAllowanceChargeComment(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.AllowanceChargeType aUBLAllowanceCharge) protected final StringgetOrString(String sSep, String... aValues) Get a string in the form [string][sep][string][sep][string][or][last-string].protected static booleanprotected static booleanisDirectDebit(String sPaymentMeansCode) protected static booleanprotected static booleanisSEPADirectDebit(String sPaymentMeansCode) protected static final booleanisTaxExemptionCategoryID(String sUBLTaxCategoryID) protected static booleanisUniversalBankTransaction(String sPaymentMeansCode) protected static booleanisVATSchemeID(String sScheme)
-
Felddetails
-
EBI_GENERATING_SYSTEM_40
- Siehe auch:
-
EBI_GENERATING_SYSTEM_41
- Siehe auch:
-
EBI_GENERATING_SYSTEM_42
- Siehe auch:
-
EBI_GENERATING_SYSTEM_43
- Siehe auch:
-
EBI_GENERATING_SYSTEM_50
- Siehe auch:
-
EBI_GENERATING_SYSTEM_60
- Siehe auch:
-
EBI_GENERATING_SYSTEM_61
- Siehe auch:
-
m_aSettings
-
-
Konstruktordetails
-
AbstractToEbInterfaceConverter
protected AbstractToEbInterfaceConverter(@Nonnull Locale aDisplayLocale, @Nonnull Locale aContentLocale, @Nonnull IToEbinterfaceSettings aSettings) Constructor- Parameter:
aDisplayLocale- The locale for error messages. May not benull.aContentLocale- The locale for the created ebInterface files. May not benull.aSettings- Conversion settings to be used. May not benull.
-
-
Methodendetails
-
getAllowanceChargeComment
-
checkInvoiceConsistency
protected final void checkInvoiceConsistency(@Nonnull oasis.names.specification.ubl.schema.xsd.invoice_21.InvoiceType aUBLInvoice, @Nonnull com.helger.commons.error.list.ErrorList aTransformationErrorList) Check if the passed UBL invoice is transformable- Parameter:
aUBLInvoice- The UBL invoice to check. May not benull.aTransformationErrorList- The error list to be filled. May not benull.
-
checkCreditNoteConsistency
protected final void checkCreditNoteConsistency(@Nonnull oasis.names.specification.ubl.schema.xsd.creditnote_21.CreditNoteType aUBLCreditNote, @Nonnull com.helger.commons.error.list.ErrorList aTransformationErrorList) Check if the passed UBL invoice is transformable- Parameter:
aUBLCreditNote- The UBL invoice to check. May not benull.aTransformationErrorList- The error list to be filled. May not benull.
-
isTaxExemptionCategoryID
-
isVATSchemeID
-
findTaxCategory
-
extractSEPADirectDebit
@Nonnull protected static AbstractToEbInterfaceConverter.SEPADirectDebit extractSEPADirectDebit(@Nonnull com.helger.commons.datetime.XMLOffsetDate aUBLDueDate, @Nonnull oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PaymentMeansType aUBLPaymentMeans, @Nullable oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PartyType aUBLSupplierParty, @Nullable oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PartyType aUBLPayeeParty) -
getOrString
Get a string in the form [string][sep][string][sep][string][or][last-string]. So the last and the second last entries are separated by " or " whereas the other entries are separated by the provided separator.- Parameter:
sSep- Separator to use. May not benull.aValues- Values to be combined.- Gibt zurück:
- The combined string. Never
null.
-
isUniversalBankTransaction
-
isDirectDebit
-
isSEPADirectDebit
-
isIBAN
-
isBIC
-