Package at.austriapro.ebinterface.ubl.to
Class AbstractEbInterface40ToUBLConverter
- java.lang.Object
-
- at.austriapro.ebinterface.ubl.AbstractConverter
-
- at.austriapro.ebinterface.ubl.to.AbstractEbInterfaceToUBLConverter
-
- at.austriapro.ebinterface.ubl.to.AbstractEbInterface40ToUBLConverter
-
- Direct Known Subclasses:
EbInterface40ToInvoiceConverter
@Immutable public abstract class AbstractEbInterface40ToUBLConverter extends AbstractEbInterfaceToUBLConverter
Base class for ebInterface 4.0 to Peppol UBL converter- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from class at.austriapro.ebinterface.ubl.to.AbstractEbInterfaceToUBLConverter
CURRENCY_LIST_AGENCY_ID, CURRENCY_LIST_ID
-
Fields inherited from class 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_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, SUPPORTED_TAX_SCHEME_ID, SUPPORTED_TAX_SCHEME_SCHEME_ID, UBL_VERSION_20, UBL_VERSION_21, UBL_VERSION_22, UBL_VERSION_23, UOM_DEFAULT
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractEbInterface40ToUBLConverter(Locale aDisplayLocale, Locale aContentLocale)Constructor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.AddressTypeconvertAddress(com.helger.ebinterface.v40.Ebi40AddressType aEbiAddress, Locale aContentLocale)protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.DeliveryTypeconvertDelivery(com.helger.ebinterface.v40.Ebi40DeliveryType aEbiDelivery, Locale aContentLocale)protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PartyTypeconvertParty(com.helger.ebinterface.v40.Ebi40AddressType aEbiAddress, Locale aContentLocale)protected static <T extends com.helger.xsds.ccts.cct.schemamodule.CodeType>
TgetTypeCode(com.helger.ebinterface.v40.Ebi40DocumentTypeType eType, Supplier<T> aFactory)-
Methods inherited from class at.austriapro.ebinterface.ubl.to.AbstractEbInterfaceToUBLConverter
createCountry, createItemProperty, createTaxCategory, createTaxCategoryOther, createTaxCategoryVAT, createTaxScheme, createTaxSchemeVAT
-
-
-
-
Constructor Detail
-
AbstractEbInterface40ToUBLConverter
protected AbstractEbInterface40ToUBLConverter(@Nonnull Locale aDisplayLocale, @Nonnull Locale aContentLocale)
Constructor- Parameters:
aDisplayLocale- The locale for error messages. May not benull.aContentLocale- The locale for the created UBL files. May not benull.
-
-
Method Detail
-
getTypeCode
@Nullable protected static <T extends com.helger.xsds.ccts.cct.schemamodule.CodeType> T getTypeCode(@Nullable com.helger.ebinterface.v40.Ebi40DocumentTypeType eType, @Nonnull Supplier<T> aFactory)
-
convertAddress
@Nullable protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.AddressType convertAddress(@Nullable com.helger.ebinterface.v40.Ebi40AddressType aEbiAddress, @Nonnull Locale aContentLocale)
-
convertParty
@Nullable protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PartyType convertParty(@Nullable com.helger.ebinterface.v40.Ebi40AddressType aEbiAddress, @Nonnull Locale aContentLocale)
-
-