Class 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
  • Constructor Details

    • AbstractEbInterface40ToUBLConverter

      protected AbstractEbInterface40ToUBLConverter(@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.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)
    • convertDelivery

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