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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetEnforcedSupplierEmailAddress()StringgetFallbackBillersInvoiceRecipientID()intgetOrderReferenceMaxLength()IProfileIDResolvergetProfileIDResolver()default booleanhasOrderReferenceMaxLength()booleanisDeliveryDateMandatory()booleanisEnforceSupplierEmailAddress()booleanisErrorOnPositionNumber()booleanisInvoicePaymentMethodMandatory()booleanisOrderReferenceIDMandatory()booleanisUBLProfileIDMandatory()booleanisUBLVersionIDMandatory()
-
-
-
Method Detail
-
isUBLVersionIDMandatory
boolean isUBLVersionIDMandatory()
- Returns:
trueif the element "UBLVersionID" is mandatory,falseif not.
-
isUBLProfileIDMandatory
boolean isUBLProfileIDMandatory()
- Returns:
trueif the element "ProfileID" is mandatory,falseif not.
-
getProfileIDResolver
@Nonnull IProfileIDResolver getProfileIDResolver()
- Returns:
- The custom process ID resolver to be used. Never
null.
-
isOrderReferenceIDMandatory
boolean isOrderReferenceIDMandatory()
- Returns:
trueif the order reference ID is mandatory,falseif 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:
trueif the delivery date is mandatory,falseif not.
-
isEnforceSupplierEmailAddress
boolean isEnforceSupplierEmailAddress()
- Returns:
trueif 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()istrueand 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:
trueif invalid line numbers (row index < 1) leads to an error,falseif not.
-
isInvoicePaymentMethodMandatory
boolean isInvoicePaymentMethodMandatory()
- Returns:
trueif the payment method is mandatory,falseif not.
-
-