Interface IToEbinterfaceSettings

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    ToEbinterfaceSettings

    public interface IToEbinterfaceSettings
    extends Serializable
    Interface for the settings for the conversion from UBL to ebInterface.
    Author:
    Philip Helger
    • Method Detail

      • isUBLVersionIDMandatory

        boolean isUBLVersionIDMandatory()
        Returns:
        true if the element "UBLVersionID" is mandatory, false if not.
      • isUBLProfileIDMandatory

        boolean isUBLProfileIDMandatory()
        Returns:
        true if the element "ProfileID" is mandatory, false if not.
      • getProfileIDResolver

        @Nonnull
        IProfileIDResolver getProfileIDResolver()
        Returns:
        The custom process ID resolver to be used. Never null.
      • isOrderReferenceIDMandatory

        boolean isOrderReferenceIDMandatory()
        Returns:
        true if the order reference ID is mandatory, false if not.
      • getOrderReferenceMaxLength

        @CheckForSigned
        int getOrderReferenceMaxLength()
        Returns:
        The maximum length of the order reference or a value ≤ 0 if no length restrictions are defined.
        See Also:
        hasOrderReferenceMaxLength()
      • hasOrderReferenceMaxLength

        default boolean hasOrderReferenceMaxLength()
      • isDeliveryDateMandatory

        boolean isDeliveryDateMandatory()
        Returns:
        true if the delivery date is mandatory, false if not.
      • isEnforceSupplierEmailAddress

        boolean isEnforceSupplierEmailAddress()
        Returns:
        true if the supplier email address should be enforced, if it is missing.
        See Also:
        getEnforcedSupplierEmailAddress()
      • getEnforcedSupplierEmailAddress

        @Nonnull
        @Nonempty
        String getEnforcedSupplierEmailAddress()
        Returns:
        The email address to be used when isEnforceSupplierEmailAddress() is true and an email address is missing in the invoice.
      • getFallbackBillersInvoiceRecipientID

        @Nullable
        String getFallbackBillersInvoiceRecipientID()
        Returns:
        The fallback "BillersInvoiceRecipientID" for ebInterface 4.0 only.
      • isErrorOnPositionNumber

        boolean isErrorOnPositionNumber()
        Returns:
        true if invalid line numbers (row index < 1) leads to an error, false if not.
      • isInvoicePaymentMethodMandatory

        boolean isInvoicePaymentMethodMandatory()
        Returns:
        true if the payment method is mandatory, false if not.