Class AbstractEbInterface50ToUBLConverter

Direct Known Subclasses:
EbInterface50ToInvoiceConverter

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

    • AbstractEbInterface50ToUBLConverter

      protected AbstractEbInterface50ToUBLConverter(@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.v50.Ebi50DocumentTypeType eType, @Nonnull Supplier<T> aFactory)
    • convertAddress

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

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

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