Class AbstractEbInterface61ToUBLConverter

Direct Known Subclasses:
EbInterface61ToInvoiceConverter

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

    • AbstractEbInterface61ToUBLConverter

      protected AbstractEbInterface61ToUBLConverter(@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.v61.Ebi61DocumentTypeType eType, @Nonnull Supplier<T> aFactory)
    • convertAddress

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

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

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