Class AbstractEbInterface42ToUBLConverter

Direct Known Subclasses:
EbInterface42ToInvoiceConverter

@Immutable public abstract class AbstractEbInterface42ToUBLConverter extends AbstractEbInterfaceToUBLConverter
Base class for ebInterface 4.2 to Peppol UBL converter
Author:
Philip Helger
  • Constructor Details

    • AbstractEbInterface42ToUBLConverter

      protected AbstractEbInterface42ToUBLConverter(@Nonnull Locale aDisplayLocale, @Nonnull Locale aContentLocale)
      Constructor
      Parameters:
      aDisplayLocale - The locale for error messages. May not be null.
      aContentLocale - The locale for the created UBL files. May not be null.
  • Method Details

    • getTypeCode

      @Nullable protected static <T extends com.helger.xsds.ccts.cct.schemamodule.CodeType> T getTypeCode(@Nullable com.helger.ebinterface.v42.Ebi42DocumentTypeType eType, @Nonnull Supplier<T> aFactory)
    • convertAddress

      @Nullable protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.AddressType convertAddress(@Nullable com.helger.ebinterface.v42.Ebi42AddressType aEbiAddress, @Nonnull Locale aContentLocale)
    • convertParty

      @Nullable protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PartyType convertParty(@Nullable com.helger.ebinterface.v42.Ebi42AddressType aEbiAddress, @Nonnull Locale aContentLocale)
    • convertDelivery

      @Nullable protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.DeliveryType convertDelivery(@Nullable com.helger.ebinterface.v42.Ebi42DeliveryType aEbiDelivery, @Nonnull Locale aContentLocale)