@Immutable public abstract class AbstractToEbInterfaceConverter extends AbstractConverter
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractToEbInterfaceConverter.EText |
| Modifier and Type | Field and Description |
|---|---|
protected IToEbinterfaceSettings |
m_aSettings |
CUSTOMIZATION_SCHEMEID, EBI_GENERATING_SYSTEM_40, EBI_GENERATING_SYSTEM_41, EBI_GENERATING_SYSTEM_42, EBI_GENERATING_SYSTEM_43, EBI_GENERATING_SYSTEM_50, IBAN_MAX_LENGTH, INVOICE_TYPE_CODE_INVOICE, INVOICE_TYPE_CODE_PARTIAL, INVOICE_TYPE_CODE_SELF_BILLING, m_aContentLocale, m_aDisplayLocale, PAYMENT_CHANNEL_CODE_IBAN, REGEX_BIC, ROUNDING_MODE, SCALE_PERC, SCALE_PRICE2, SCALE_PRICE4, SCHEME_BIC, SCHEME_IBAN, SUPPORTED_TAX_SCHEME_ID, SUPPORTED_TAX_SCHEME_SCHEME_ID, UBL_VERSION_20, UBL_VERSION_21, UBL_VERSION_22, UOM_DEFAULT| Constructor and Description |
|---|
AbstractToEbInterfaceConverter(Locale aDisplayLocale,
Locale aContentLocale,
IToEbinterfaceSettings aSettings)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreditNoteConsistency(oasis.names.specification.ubl.schema.xsd.creditnote_21.CreditNoteType aUBLCreditNote,
com.helger.commons.error.list.ErrorList aTransformationErrorList)
Check if the passed UBL invoice is transformable
|
protected void |
checkInvoiceConsistency(oasis.names.specification.ubl.schema.xsd.invoice_21.InvoiceType aUBLInvoice,
com.helger.commons.error.list.ErrorList aTransformationErrorList)
Check if the passed UBL invoice is transformable
|
protected static String |
getAllowanceChargeComment(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.AllowanceChargeType aUBLAllowanceCharge) |
protected String |
getOrString(String sSep,
String... aValues)
Get a string in the form
[string][sep][string][sep][string][or][last-string].
|
protected static boolean |
isBIC(String sScheme) |
protected static boolean |
isDirectDebit(String sPaymentMeansCode) |
protected static boolean |
isIBAN(String sPaymentChannelCode) |
protected static boolean |
isSEPADirectDebit(String sPaymentMeansCode) |
protected static boolean |
isTaxExemptionCategoryID(String sUBLTaxCategoryID) |
protected static boolean |
isUniversalBankTransaction(String sPaymentMeansCode) |
protected static boolean |
isVATSchemeID(String sScheme) |
protected final IToEbinterfaceSettings m_aSettings
public AbstractToEbInterfaceConverter(@Nonnull Locale aDisplayLocale, @Nonnull Locale aContentLocale, @Nonnull IToEbinterfaceSettings aSettings)
aDisplayLocale - The locale for error messages. May not be null.aContentLocale - The locale for the created ebInterface files. May not be
null.aSettings - Conversion settings to be used. May not be null.@Nonnull protected static String getAllowanceChargeComment(@Nonnull oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.AllowanceChargeType aUBLAllowanceCharge)
protected final void checkInvoiceConsistency(@Nonnull oasis.names.specification.ubl.schema.xsd.invoice_21.InvoiceType aUBLInvoice, @Nonnull com.helger.commons.error.list.ErrorList aTransformationErrorList)
aUBLInvoice - The UBL invoice to check. May not be null.aTransformationErrorList - The error list to be filled. May not be null.protected final void checkCreditNoteConsistency(@Nonnull oasis.names.specification.ubl.schema.xsd.creditnote_21.CreditNoteType aUBLCreditNote, @Nonnull com.helger.commons.error.list.ErrorList aTransformationErrorList)
aUBLCreditNote - The UBL invoice to check. May not be null.aTransformationErrorList - The error list to be filled. May not be null.protected static final boolean isTaxExemptionCategoryID(@Nullable String sUBLTaxCategoryID)
protected static boolean isVATSchemeID(String sScheme)
@Nonnull protected final String getOrString(@Nonnull String sSep, @Nullable String... aValues)
sSep - Separator to use. May not be null.aValues - Values to be combined.null.protected static boolean isUniversalBankTransaction(@Nullable String sPaymentMeansCode)
Copyright © 2010–2019 AUSTRIAPRO. All rights reserved.