Package at.austriapro.ebinterface.ubl.to
Class AbstractEbInterface42ToUBLConverter
- java.lang.Object
-
- at.austriapro.ebinterface.ubl.AbstractConverter
-
- at.austriapro.ebinterface.ubl.to.AbstractEbInterfaceToUBLConverter
-
- at.austriapro.ebinterface.ubl.to.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
-
-
Field Summary
-
Fields inherited from class at.austriapro.ebinterface.ubl.AbstractConverter
CREDIT_NOTE_TYPE_CODES, CUSTOMIZATION_SCHEMEID, EBI_GENERATING_SYSTEM_40, EBI_GENERATING_SYSTEM_41, EBI_GENERATING_SYSTEM_42, EBI_GENERATING_SYSTEM_43, EBI_GENERATING_SYSTEM_50, EBI_GENERATING_SYSTEM_60, IBAN_MAX_LENGTH, INVOICE_TYPE_CODE_INVOICE, INVOICE_TYPE_CODE_PARTIAL, INVOICE_TYPE_CODE_SELF_BILLING, INVOICE_TYPE_CODES, m_aContentLocale, m_aDisplayLocale, PAYMENT_CHANNEL_CODE_IBAN, REGEX_BIC, ROUNDING_MODE, SCALE_PERC, SCALE_PRICE2, SCALE_PRICE4, SCHEME_BIC, SCHEME_IBAN, SUPPORTED_TAX_SCHEME_ID, SUPPORTED_TAX_SCHEME_SCHEME_ID, UBL_VERSION_20, UBL_VERSION_21, UBL_VERSION_22, UBL_VERSION_23, UOM_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description AbstractEbInterface42ToUBLConverter(Locale aDisplayLocale, Locale aContentLocale)Constructor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.AddressTypeconvertAddress(com.helger.ebinterface.v42.Ebi42AddressType aEbiAddress, Locale aContentLocale)protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.DeliveryTypeconvertDelivery(com.helger.ebinterface.v42.Ebi42DeliveryType aEbiDelivery, Locale aContentLocale)protected static oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_21.PartyTypeconvertParty(com.helger.ebinterface.v42.Ebi42AddressType aEbiAddress, Locale aContentLocale)protected static <T extends com.helger.xsds.ccts.cct.schemamodule.CodeType>
TgetTypeCode(com.helger.ebinterface.v42.Ebi42DocumentTypeType eType, Supplier<T> aFactory)-
Methods inherited from class at.austriapro.ebinterface.ubl.to.AbstractEbInterfaceToUBLConverter
createCountry, createItemProperty, createTaxCategory, createTaxCategoryOther, createTaxCategoryVAT, createTaxScheme, createTaxSchemeVAT
-
-
-
-
Constructor Detail
-
AbstractEbInterface42ToUBLConverter
public AbstractEbInterface42ToUBLConverter(@Nonnull Locale aDisplayLocale, @Nonnull Locale aContentLocale)
Constructor- Parameters:
aDisplayLocale- The locale for error messages. May not benull.aContentLocale- The locale for the created UBL files. May not benull.
-
-
Method Detail
-
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)
-
-