Klasse EbInterface61ToXRechnungUBLConverter
java.lang.Object
at.austriapro.ebinterface.xrechnung.AbstractEbInterfaceXRechnungConverter
at.austriapro.ebinterface.xrechnung.to.AbstractEbInterfaceToXRechnungConverter
at.austriapro.ebinterface.xrechnung.to.ubl.AbstractEbInterfaceToXRechnungUBLConverter<EbInterface61ToXRechnungUBLConverter>
at.austriapro.ebinterface.xrechnung.to.ubl.EbInterface61ToXRechnungUBLConverter
- Alle implementierten Schnittstellen:
com.helger.commons.traits.IGenericImplTrait<EbInterface61ToXRechnungUBLConverter>
public class EbInterface61ToXRechnungUBLConverter
extends AbstractEbInterfaceToXRechnungUBLConverter<EbInterface61ToXRechnungUBLConverter>
Convert an ebInterface 6.1 invoice to an XRechnung UBL.
- Autor:
- Philip Helger
-
Feldübersicht
Von Klasse geerbte Felder at.austriapro.ebinterface.xrechnung.to.AbstractEbInterfaceToXRechnungConverter
m_eXRechnungVersionVon Klasse geerbte Felder at.austriapro.ebinterface.xrechnung.AbstractEbInterfaceXRechnungConverter
m_aContentLocale, m_aDisplayLocale -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungEbInterface61ToXRechnungUBLConverter(Locale aDisplayLocale, Locale aContentLocale, EXRechnungVersion eXRechnungVersion) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungoasis.names.specification.ubl.schema.xsd.invoice_21.InvoiceTypeconvert(com.helger.ebinterface.v61.Ebi61InvoiceType aEbiInvoice, com.helger.commons.error.list.ErrorList aTransformErrorList) Convert the passed ebInterface invoice to an XRechnung.Von Klasse geerbte Methoden at.austriapro.ebinterface.xrechnung.to.ubl.AbstractEbInterfaceToXRechnungUBLConverter
getCustomerEndpointID, getCustomerEndpointIDScheme, getSupplierEndpointID, getSupplierEndpointIDScheme, modifyDefaultUBLInvoice, setCustomerEndpointID, setCustomerEndpointIDScheme, setSupplierEndpointID, setSupplierEndpointIDSchemeVon Klasse geerbte Methoden at.austriapro.ebinterface.xrechnung.to.AbstractEbInterfaceToXRechnungConverter
getXRechnungVersionVon Klasse geerbte Methoden at.austriapro.ebinterface.xrechnung.AbstractEbInterfaceXRechnungConverter
countWarnings, errorText, warningTextVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden com.helger.commons.traits.IGenericImplTrait
thisAsT
-
Konstruktordetails
-
EbInterface61ToXRechnungUBLConverter
public EbInterface61ToXRechnungUBLConverter(@Nonnull Locale aDisplayLocale, @Nonnull Locale aContentLocale, @Nonnull EXRechnungVersion eXRechnungVersion) Constructor.- Parameter:
aDisplayLocale- The display locale, e.g. used for the error message. May not benull.aContentLocale- The content locale of the invoice. May not benull.eXRechnungVersion- The target XRechnung version. May not benull.
-
-
Methodendetails
-
convert
@Nullable public oasis.names.specification.ubl.schema.xsd.invoice_21.InvoiceType convert(@Nonnull com.helger.ebinterface.v61.Ebi61InvoiceType aEbiInvoice, @Nonnull com.helger.commons.error.list.ErrorList aTransformErrorList) Convert the passed ebInterface invoice to an XRechnung. This converts the ebInterface first to generic UBL, than adds some XRechnung specific elements and finally validates the XRechnung according to the official Schematrons.- Parameter:
aEbiInvoice- The ebInterface invoice to be converted. May not benull.aTransformErrorList- The error list that will contain the errors afterwards. May not benull.- Gibt zurück:
nullonly if the basic conversion to UBL fails.
-